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: 13037379 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 338BEC4167B for ; Wed, 9 Nov 2022 10:53:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230405AbiKIKx2 (ORCPT ); Wed, 9 Nov 2022 05:53:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39812 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230403AbiKIKww (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 D1E9427CEC 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 20221109105246epoutp036bb17ae652d0ffcf719bee8d8439471f~l5SDhMSnx1473714737epoutp03W for ; Wed, 9 Nov 2022 10:52:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20221109105246epoutp036bb17ae652d0ffcf719bee8d8439471f~l5SDhMSnx1473714737epoutp03W 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/uSCaWbkMGAdpR8GCousjwzldItsA0S0pTbigB 2qa3VaskDsZYqCmPCQERoZ3gBiNslscKo4g89jIDpjzcGIQKi4QgIs8pj9nSov99ft/f73t+ +f3OOVyWbz8RyM1QammNUpYlIDzx9r7DYRGfFWTKha12LpquaSdQb0sbB1UP5eOotn+QjR7f /I2DiubsLDTcXsRGlpkxNmrcKGch+3wK+qWzmkCVQ90YunqxDEc3TTy0/tMCQBfbVjnIvtTF QVXDVjY6Z+vnoImFZjb6x9yHo/qpDvYbPKq14QFGmSw66q+fJwBlaSwkqEdjXQTVUvc5Vbwt pP7sHiWootZGQO3kfcOhVixBSV4fZsYraFkareHTSrkqLUOZLhG8c0L6pjQmViiKEMWhVwR8 pSyblggS3k2KSMzIcowq4H8ky9I5pCQZwwiiXovXqHRamq9QMVqJgFanZanF6khGls3olOmR Slr7qkgoPBLjKEzNVIz+UIyrewI+MeR142dApY8BeHAhKYbWIQPhZF/yBoATtREG4OngZQD7 zAvAFawD2DI7z95zN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/R/9fA4/2+q2wefVtWMXr8a5rL7vF5k1wA dxSXTUpqTmZZapG+XQJXxtX9/SwFB0Qrupr2sTQwzhDsYuTkkBAwkVjX/pYRxBYS2M0ocWSq N0RcSmLKmZcsELawxMp/z9m7GLmAapqZJOZsfcwEkmAT0JJ43LmABSQhIrCbSeJt91ywKmaB RUwSL6/0MoNUCQvESVx6vZ8VxGYRUJVY+mUm2FheARuJ3uXX2SFWyEus3nAAqJ6Dg1PAVuLh QgOIi2wknt9exDiBkW8BI8MqRsnUguLc9NxiwwLDvNRyveLE3OLSvHS95PzcTYzg+NHS3MG4 fdUHvUOMTByMhxglOJiVRHi5NbKThXhTEiurUovy44tKc1KLDzFKc7AoifNe6DoZLySQnliS mp2aWpBaBJNl4uCUamDatn7zp1jPq5NsXhrlpU0KmOjQrcZl/sDl259LT9S/1/2Wbv9wybV+ +bt1744lSIudM4w/oPjvamTBjx/m99J2iq+1ZT1mxcJg3PfLccX1isQ7YT/6XBrcO493xLs6 LMprNHC/t//pUlv5u/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> Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org 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