Message ID | 20221109100928.109478-4-vivek.2311@samsung.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp266657wru; Wed, 9 Nov 2022 02:58:29 -0800 (PST) X-Google-Smtp-Source: AMsMyM4QY95xc9bqFzOLWoZ1lGpQWY/dCeeX0yQlzmByfPJVbd8nquVseEnk6baPMDl06XsMw3wn X-Received: by 2002:a05:6402:7c4:b0:462:9bc2:d0d0 with SMTP id u4-20020a05640207c400b004629bc2d0d0mr60345972edy.122.1667991509777; Wed, 09 Nov 2022 02:58:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667991509; cv=none; d=google.com; s=arc-20160816; b=ZAL4CBJb6KrrXXiMfE2unqlvFwuXE/feZ+MH/gibSCMv9nqXi9v6SUHTsoyfyuwrPx hn5hfRnt4BbeeHFH0qR6q5ovgYX5mK1ej/OYWC2+oGU4Gegr+4JjJVaOWjq7cU9kHrDL KdH48zn1/6QqnqQ01Q81eCIgTixq82Lis919fuZ0tqK+zggFiot80gpLTNvjCerx0l6b S1Vw9jukp1cM7+vKJo8ToN+KsyqGKpIyz9h/MM1Kz91oa1nHhsraIEDP0963UInejd3g msfRLCt/rJ+APpwGMvR0vZ0V1SqSKnahnrJS5Zm7PhNrHs3rm2MPUlYFIG/8TBZnBYzN SPKw== 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=Yr1834k8OXNcWRYEnFhzVRrz47mefcJuT76a97OR0og=; b=SGsA05+oRi4VoeC8HDnnTPfJuztQwaS8oemWDpYyDPtIPRu6kxSdsQowZU0HhdgR5g nLiH8/8ix9PjTiZfXO9imVJD5chvAiaEP3bcB37pasdQ+VI+woDpjrIgRBjj2tj3usHI DrsWuYtqs3+6Q+yiWBJoJ/yDPg9fdKGoIs+W6X9HfoyglJttB8YXiUBAQEmcEqfmmhUi +RfbHpVXCMiLI9087sNlAF7RTaz1t0BirHpcvvUMX+XiexNdAYVjOf3f+Ef2wUm45ULa +83ESAFei3+u41Wu8ceShlOJhGTqSdrS+XSyE5+Rk5UzML7FUTmqJzpOdObpJQwRoJtL b7Lg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=joY41sYN; 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 m13-20020aa7c48d000000b00461b84a010fsi13072419edq.295.2022.11.09.02.58.03; Wed, 09 Nov 2022 02:58:29 -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=joY41sYN; 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 S231124AbiKIKyD (ORCPT <rfc822;dexuan.linux@gmail.com> + 99 others); Wed, 9 Nov 2022 05:54:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231132AbiKIKxU (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 9 Nov 2022 05:53:20 -0500 Received: from mailout2.samsung.com (mailout2.samsung.com [203.254.224.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 050FA28E14 for <linux-kernel@vger.kernel.org>; Wed, 9 Nov 2022 02:52:57 -0800 (PST) Received: from epcas5p1.samsung.com (unknown [182.195.41.39]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20221109105256epoutp02f4e7e0ffe1b3d2e04d9752224c50118d~l5SMvPGmi1956119561epoutp02o for <linux-kernel@vger.kernel.org>; Wed, 9 Nov 2022 10:52:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20221109105256epoutp02f4e7e0ffe1b3d2e04d9752224c50118d~l5SMvPGmi1956119561epoutp02o DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1667991176; bh=Yr1834k8OXNcWRYEnFhzVRrz47mefcJuT76a97OR0og=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=joY41sYNSsUTzsd6vNOREnKVAjy1bF/RU+/v1SO4RiHZFDaXy8l75hxRyJOnjBZxr cx14vsSN3us4rQjXzlQu+3dECx9n41olJGxZVUZ8u0hCYP9wfzLI7EvVkpxXqU4stR /MAHE+wNji2MTiAJ4hKfcH/Wzb6w6+dsoPrKeVzU= Received: from epsnrtp2.localdomain (unknown [182.195.42.163]) by epcas5p3.samsung.com (KnoxPortal) with ESMTP id 20221109105255epcas5p35a2099d8b8f9eaea18695a3fc450e53a~l5SMKfeSq0093000930epcas5p3Q; Wed, 9 Nov 2022 10:52:55 +0000 (GMT) Received: from epsmges5p1new.samsung.com (unknown [182.195.38.180]) by epsnrtp2.localdomain (Postfix) with ESMTP id 4N6hdK2Y49z4x9Pv; Wed, 9 Nov 2022 10:52:53 +0000 (GMT) Received: from epcas5p1.samsung.com ( [182.195.41.39]) by epsmges5p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 51.41.01710.5868B636; Wed, 9 Nov 2022 19:52:53 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas5p4.samsung.com (KnoxPortal) with ESMTPA id 20221109100254epcas5p48c574876756f899875df8ac71464ce11~l4mgyDo7n0799307993epcas5p4z; Wed, 9 Nov 2022 10:02:54 +0000 (GMT) Received: from epsmgms1p2.samsung.com (unknown [182.195.42.42]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20221109100254epsmtrp25dd745ebedb0822bb1a534f908dd79ab~l4mgw1_3q1470214702epsmtrp2U; Wed, 9 Nov 2022 10:02:54 +0000 (GMT) X-AuditID: b6c32a49-a41ff700000006ae-62-636b86854a18 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p2.samsung.com (Symantec Messaging Gateway) with SMTP id 6E.69.18644.DCA7B636; Wed, 9 Nov 2022 19:02:54 +0900 (KST) Received: from cheetah.sa.corp.samsungelectronics.net (unknown [107.109.115.53]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20221109100251epsmtip2005330859f2ac45bb34aa021674f2ca5~l4meCnU511466814668epsmtip2c; Wed, 9 Nov 2022 10:02:51 +0000 (GMT) From: Vivek Yadav <vivek.2311@samsung.com> 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 Subject: [PATCH v2 3/6] arm64: dts: fsd: add sysreg device node Date: Wed, 9 Nov 2022 15:39:25 +0530 Message-Id: <20221109100928.109478-4-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: H4sIAAAAAAAAA0WTf0wbZRjHf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P2tAvNZR1a6QqJk/V79fOuFB6v/erw9qZELsK17qxp8U3mr1P6/Z5aVWaPRV kZjFOxZ7HNL+xlVyhsGCc5KnJk8dkypLE4PC37fMbE02zhNlxFnan2Zqe8TMil+VNPvvC2s7 xU/3+g6l37Likd2yZfO/G9fZIm8vCOde/L+nsf/Kja/rF3D9ZjZyT7w58fMX1/C8Qz7cS1be Ob/6BasFR16hmBJLcUaioRZzUXEiAJ4+vjcKAwAA X-CMS-MailID: 20221109100254epcas5p48c574876756f899875df8ac71464ce11 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: REQ_APPROVE CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20221109100254epcas5p48c574876756f899875df8ac71464ce11 References: <20221109100928.109478-1-vivek.2311@samsung.com> <CGME20221109100254epcas5p48c574876756f899875df8ac71464ce11@epcas5p4.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, 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749015865270044268?= X-GMAIL-MSGID: =?utf-8?q?1749015865270044268?= |
Series |
can: mcan: Add MCAN support for FSD SoC
|
|
Commit Message
Vivek Yadav
Nov. 9, 2022, 10:09 a.m. UTC
From: Sriranjani P <sriranjani.p@samsung.com> Add SYSREG controller device node, which is available in PERIC and FSYS0 block of FSD SoC. Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com> Signed-off-by: Pankaj Kumar Dubey <pankaj.dubey@samsung.com> Cc: devicetree@vger.kernel.org Cc: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> Cc: Rob Herring <robh+dt@kernel.org> Signed-off-by: Sriranjani P <sriranjani.p@samsung.com> --- arch/arm64/boot/dts/tesla/fsd.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+)
Comments
On 09/11/2022 11:09, Vivek Yadav wrote: > From: Sriranjani P <sriranjani.p@samsung.com> > > Add SYSREG controller device node, which is available in PERIC and FSYS0 > block of FSD SoC. > > Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com> > Signed-off-by: Pankaj Kumar Dubey <pankaj.dubey@samsung.com> > Cc: devicetree@vger.kernel.org > Cc: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> > Cc: Rob Herring <robh+dt@kernel.org> Drop Cc list from commit msgs. Instead use get_maintainers.pl. > Signed-off-by: Sriranjani P <sriranjani.p@samsung.com> > --- > arch/arm64/boot/dts/tesla/fsd.dtsi | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/arch/arm64/boot/dts/tesla/fsd.dtsi b/arch/arm64/boot/dts/tesla/fsd.dtsi > index f35bc5a288c2..3d8ebbfc27f4 100644 > --- a/arch/arm64/boot/dts/tesla/fsd.dtsi > +++ b/arch/arm64/boot/dts/tesla/fsd.dtsi > @@ -518,6 +518,16 @@ > "dout_cmu_fsys1_shared0div4"; > }; > > + sysreg_peric: system-controller@14030000 { > + compatible = "tesla,sysreg_peric", "syscon"; > + reg = <0x0 0x14030000 0x0 0x1000>; Put it next to the other system-controller node (and ordered by unit address against it). Best regards, Krzysztof
Hi Vivek, On Wed, 9 Nov 2022 at 11:54, Vivek Yadav <vivek.2311@samsung.com> wrote: > > From: Sriranjani P <sriranjani.p@samsung.com> > > Add SYSREG controller device node, which is available in PERIC and FSYS0 > block of FSD SoC. > > Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com> > Signed-off-by: Pankaj Kumar Dubey <pankaj.dubey@samsung.com> > Cc: devicetree@vger.kernel.org > Cc: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> > Cc: Rob Herring <robh+dt@kernel.org> > Signed-off-by: Sriranjani P <sriranjani.p@samsung.com> > --- > arch/arm64/boot/dts/tesla/fsd.dtsi | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/arch/arm64/boot/dts/tesla/fsd.dtsi b/arch/arm64/boot/dts/tesla/fsd.dtsi > index f35bc5a288c2..3d8ebbfc27f4 100644 > --- a/arch/arm64/boot/dts/tesla/fsd.dtsi > +++ b/arch/arm64/boot/dts/tesla/fsd.dtsi > @@ -518,6 +518,16 @@ > "dout_cmu_fsys1_shared0div4"; > }; > > + sysreg_peric: system-controller@14030000 { > + compatible = "tesla,sysreg_peric", "syscon"; > + reg = <0x0 0x14030000 0x0 0x1000>; Probably not related to this particular patch, but does the "reg" really have to have those extra 0x0s? Why it can't be just: reg = <0x14030000 0x1000>; That comment applies to the whole dts/dtsi. Looks like #address-cells or #size-cells are bigger than they should be, or I missing something? > + }; > + > + sysreg_fsys0: system-controller@15030000 { > + compatible = "tesla,sysreg_fsys0", "syscon"; > + reg = <0x0 0x15030000 0x0 0x1000>; > + }; > + > mdma0: dma-controller@10100000 { > compatible = "arm,pl330", "arm,primecell"; > reg = <0x0 0x10100000 0x0 0x1000>; > -- > 2.17.1 >
On 09/11/2022 12:17, Sam Protsenko wrote: > Hi Vivek, > > On Wed, 9 Nov 2022 at 11:54, Vivek Yadav <vivek.2311@samsung.com> wrote: >> >> From: Sriranjani P <sriranjani.p@samsung.com> >> >> Add SYSREG controller device node, which is available in PERIC and FSYS0 >> block of FSD SoC. >> >> Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com> >> Signed-off-by: Pankaj Kumar Dubey <pankaj.dubey@samsung.com> >> Cc: devicetree@vger.kernel.org >> Cc: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> >> Cc: Rob Herring <robh+dt@kernel.org> >> Signed-off-by: Sriranjani P <sriranjani.p@samsung.com> >> --- >> arch/arm64/boot/dts/tesla/fsd.dtsi | 10 ++++++++++ >> 1 file changed, 10 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/tesla/fsd.dtsi b/arch/arm64/boot/dts/tesla/fsd.dtsi >> index f35bc5a288c2..3d8ebbfc27f4 100644 >> --- a/arch/arm64/boot/dts/tesla/fsd.dtsi >> +++ b/arch/arm64/boot/dts/tesla/fsd.dtsi >> @@ -518,6 +518,16 @@ >> "dout_cmu_fsys1_shared0div4"; >> }; >> >> + sysreg_peric: system-controller@14030000 { >> + compatible = "tesla,sysreg_peric", "syscon"; >> + reg = <0x0 0x14030000 0x0 0x1000>; > > Probably not related to this particular patch, but does the "reg" > really have to have those extra 0x0s? Why it can't be just: > > reg = <0x14030000 0x1000>; > > That comment applies to the whole dts/dtsi. Looks like #address-cells > or #size-cells are bigger than they should be, or I missing something? Yes, it looks like intention was to support some 64-bit addresses (maybe as convention for arm64?) but none of upstreamed are above 32 bit range. I don't have the manual/datasheet to judge whether any other (non-upstreamed) nodes need 64bit addresses. Best regards, Krzysztof
diff --git a/arch/arm64/boot/dts/tesla/fsd.dtsi b/arch/arm64/boot/dts/tesla/fsd.dtsi index f35bc5a288c2..3d8ebbfc27f4 100644 --- a/arch/arm64/boot/dts/tesla/fsd.dtsi +++ b/arch/arm64/boot/dts/tesla/fsd.dtsi @@ -518,6 +518,16 @@ "dout_cmu_fsys1_shared0div4"; }; + sysreg_peric: system-controller@14030000 { + compatible = "tesla,sysreg_peric", "syscon"; + reg = <0x0 0x14030000 0x0 0x1000>; + }; + + sysreg_fsys0: system-controller@15030000 { + compatible = "tesla,sysreg_fsys0", "syscon"; + reg = <0x0 0x15030000 0x0 0x1000>; + }; + mdma0: dma-controller@10100000 { compatible = "arm,pl330", "arm,primecell"; reg = <0x0 0x10100000 0x0 0x1000>;