From patchwork Wed Nov 9 10:09:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vivek Yadav X-Patchwork-Id: 17472 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp267027wru; Wed, 9 Nov 2022 02:59:37 -0800 (PST) X-Google-Smtp-Source: AMsMyM5JGoqTYyTXXXe5d/hD7nXfj84x5/hy4DT7J8kj768FuHT1cowhHMAP7z/WdLzhZ17/nU+q X-Received: by 2002:a17:906:cc0f:b0:7a1:6786:f55 with SMTP id ml15-20020a170906cc0f00b007a167860f55mr55383860ejb.359.1667991577646; Wed, 09 Nov 2022 02:59:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667991577; cv=none; d=google.com; s=arc-20160816; b=eZXPgKh2H59oq1IYfWI5tR3HFPR7iYtfb73Dxe4RlsrMaCABCoqFAB4YJsXDIGdp6D it+1bGQpRVcgGk12oqv8FMXqkUUC5p052KxT5vJ5kkwNu5dgOlRMl5ekWZDCkN/FESdu qwabF7L5ftavI0RSAh+gtGrjTMLofDixAuX2ZkpWRaOnZu3YxRpQSW+16miRNWb+AaqV H3cySmXrKhTauPvYTpcWIjgcQLSb2UYXX/vQqKMx1ntFpKk2hzknLFeTCRGQ8UBr2zdC oCP9Luc9Q0psHvBvXVO53TbPC6T1J7IJy/gJrrLpOM4DeNvBs/iZIkPwmkaq8CqemXpW zsQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:dlp-filter:cms-type:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter; bh=cuGZVz4FIhuzdAfWl8rgVOUhOMLdb5/nmbhIZx7irik=; b=qmzJzsmaeSQYcO/E7bXCl0M2R6o2nT28ujOjzkR5lK59U6c0zAGho2bl6LAU5U8Lg1 mYrb8muTIR4sLROoLU9yq8nIGsejtUt9ABpl+qT2zmTAh6y6M9r/KTBZ8XZUH+vXCB+u lZkERtXUik7lcj3D5Qkc8gBYy2qYN6S3IF8tX/yanwmMEmkdmiNtDoFNfmckzEKPCflY waBakqzXLphlrzXEcIRnl9SziXOc7maDFDzx1c+eSk5iq87EnTliLasOUQd7NunT1Vjn HNGIKp6+4y1UTluxPcmfAAffPwKOC40z5ZKktpTBk7VDjE+NULDu7D05iGfQW2w4/i5N PMLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=AgOE4oYh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w11-20020a056402268b00b004614fa1f99csi16917495edd.540.2022.11.09.02.59.14; Wed, 09 Nov 2022 02:59:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=AgOE4oYh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229802AbiKIKxf (ORCPT + 99 others); Wed, 9 Nov 2022 05:53:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39814 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230402AbiKIKww (ORCPT ); Wed, 9 Nov 2022 05:52:52 -0500 Received: from mailout3.samsung.com (mailout3.samsung.com [203.254.224.33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D5ABD27DDE for ; Wed, 9 Nov 2022 02:52:47 -0800 (PST) Received: from epcas5p2.samsung.com (unknown [182.195.41.40]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20221109105246epoutp034d1fb0e9effb226263e4c0384c99f84e~l5SDicufT1324413244epoutp03V for ; Wed, 9 Nov 2022 10:52:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20221109105246epoutp034d1fb0e9effb226263e4c0384c99f84e~l5SDicufT1324413244epoutp03V DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1667991166; bh=cuGZVz4FIhuzdAfWl8rgVOUhOMLdb5/nmbhIZx7irik=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AgOE4oYh60AX5ZvHuqEBC6uCEgNrVF3FZcMHlubYoCdPcbbvoB1tGCFr0Djx0hNrJ 8zpnEdWigN60R/4kDZS0SVZpc0KTL9dXroyxxIA25PPbNH6ehmVzkGiLXdVOU6G/aO UCfVl+gS2iE6Ue1LyCG63+T+uwZxvRJ+Ky1YteoA= Received: from epsnrtp3.localdomain (unknown [182.195.42.164]) by epcas5p4.samsung.com (KnoxPortal) with ESMTP id 20221109105245epcas5p40fff769aac1c87b0724955c96166dd07~l5SC1wPwg0925809258epcas5p4w; Wed, 9 Nov 2022 10:52:45 +0000 (GMT) Received: from epsmges5p1new.samsung.com (unknown [182.195.38.175]) by epsnrtp3.localdomain (Postfix) with ESMTP id 4N6hd71dtRz4x9Pt; Wed, 9 Nov 2022 10:52:43 +0000 (GMT) Received: from epcas5p4.samsung.com ( [182.195.41.42]) by epsmges5p1new.samsung.com (Symantec Messaging Gateway) with SMTP id C9.31.01710.B768B636; Wed, 9 Nov 2022 19:52:43 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas5p3.samsung.com (KnoxPortal) with ESMTPA id 20221109100245epcas5p38a01aed025f491d39a09508ebcdcef84~l4mYcPO1F0950009500epcas5p33; Wed, 9 Nov 2022 10:02:45 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20221109100245epsmtrp2af633d327b72b3b0316ecf51ffd72eac~l4mYa3idD1470214702epsmtrp2O; Wed, 9 Nov 2022 10:02:45 +0000 (GMT) X-AuditID: b6c32a49-c9ffa700000006ae-4b-636b867b85aa Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id A3.E0.14392.4CA7B636; Wed, 9 Nov 2022 19:02:45 +0900 (KST) Received: from cheetah.sa.corp.samsungelectronics.net (unknown [107.109.115.53]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20221109100242epsmtip23606948220b4375261e0ec2d7bee2dea~l4mViXYTC1466814668epsmtip2X; Wed, 9 Nov 2022 10:02:41 +0000 (GMT) From: Vivek Yadav To: rcsekar@samsung.com, krzysztof.kozlowski+dt@linaro.org, wg@grandegger.com, mkl@pengutronix.de, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, pankaj.dubey@samsung.com, ravi.patel@samsung.com, alim.akhtar@samsung.com, linux-fsd@tesla.com, robh+dt@kernel.org Cc: linux-can@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, aswani.reddy@samsung.com, sriranjani.p@samsung.com, Vivek Yadav Subject: [PATCH v2 1/6] dt-bindings: Document the SYSREG specific compatibles found on FSD SoC Date: Wed, 9 Nov 2022 15:39:23 +0530 Message-Id: <20221109100928.109478-2-vivek.2311@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20221109100928.109478-1-vivek.2311@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA0WTe0xbVRzHPbe3twVEL6/uSCaWbkMGAdpR8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/NXih2YdyXuXWl4Xn7kdalLE547tue/fBCwdXVp0cEn9eLbP4qIcrkH 7v0X6bH4IU/BzIQp7Qc5ZD7YmekWpMiquHyYsX19yv6zUyrX3H+Q8lFLzHXF7EcZqh5BSfus ZgYd5w6Yc/vXoSzOBZYcH91YAzXclS5ZTC+15H42Q2PDzZoT5+Lk/sVXF1+Z3ix9Wq1l+eO2 3TvEGthO9055s7muNThbiaU4I9FQi7moOBEA3FLSUQ4DAAA= X-CMS-MailID: 20221109100245epcas5p38a01aed025f491d39a09508ebcdcef84 X-Msg-Generator: CA X-Sendblock-Type: REQ_APPROVE CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20221109100245epcas5p38a01aed025f491d39a09508ebcdcef84 References: <20221109100928.109478-1-vivek.2311@samsung.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749015936959239498?= X-GMAIL-MSGID: =?utf-8?q?1749015936959239498?= From: Sriranjani P Describe the compatible properties for SYSREG controllers found on FSD SoC. Signed-off-by: Alim Akhtar Signed-off-by: Pankaj Kumar Dubey Signed-off-by: Ravi Patel Signed-off-by: Vivek Yadav Cc: devicetree@vger.kernel.org Cc: Krzysztof Kozlowski Cc: Rob Herring Signed-off-by: Sriranjani P --- .../devicetree/bindings/arm/tesla-sysreg.yaml | 50 +++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 51 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/tesla-sysreg.yaml diff --git a/Documentation/devicetree/bindings/arm/tesla-sysreg.yaml b/Documentation/devicetree/bindings/arm/tesla-sysreg.yaml new file mode 100644 index 000000000000..bbcc6dd75918 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/tesla-sysreg.yaml @@ -0,0 +1,50 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/tesla-sysreg.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Tesla Full Self-Driving platform's system registers + +maintainers: + - Alim Akhtar + +description: | + This is a system control registers block, providing multiple low level + platform functions like board detection and identification, software + interrupt generation. + +properties: + compatible: + oneOf: + - items: + - enum: + - tesla,sysreg_fsys0 + - tesla,sysreg_peric + - const: syscon + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + soc { + #address-cells = <2>; + #size-cells = <2>; + + sysreg_fsys0: system-controller@15030000 { + compatible = "tesla,sysreg_fsys0", "syscon"; + reg = <0x0 0x15030000 0x0 0x1000>; + }; + + sysreg_peric: system-controller@14030000 { + compatible = "tesla,sysreg_peric", "syscon"; + reg = <0x0 0x14030000 0x0 0x1000>; + }; + }; diff --git a/MAINTAINERS b/MAINTAINERS index a198da986146..56995e7d63ad 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2943,6 +2943,7 @@ M: linux-fsd@tesla.com L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) L: linux-samsung-soc@vger.kernel.org S: Maintained +F: Documentation/devicetree/bindings/arm/tesla-sysreg.yaml F: arch/arm64/boot/dts/tesla* ARM/TETON BGA MACHINE SUPPORT