From: Shawn Lin <shawn.lin@rock-chips.com> To: Johan Jonker <jbx6244@gmail.com>, Rob Herring <robh@kernel.org> Cc: shawn.lin@rock-chips.com, Ulf Hansson <ulf.hansson@linaro.org>, linux-mmc@vger.kernel.org, Adrian Hunter <adrian.hunter@intel.com>, devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org, Heiko Stuebner <heiko@sntech.de> Subject: Re: [PATCH v3 2/3] dt-bindings: mmc: sdhci-of-dwcmhsc: Add rockchip support Date: Wed, 10 Mar 2021 17:37:33 +0800 [thread overview] Message-ID: <7573e8c1-3f55-9925-bc14-534455f1ffa3@rock-chips.com> (raw) In-Reply-To: <9f8b3be6-d87e-d944-d5db-67f3bcf0fad0@gmail.com> On 2021/3/10 15:00, Johan Jonker wrote: > On 3/10/21 4:01 AM, Rob Herring wrote: >> On Tue, Mar 09, 2021 at 09:56:29AM +0800, Shawn Lin wrote: >>> This patch adds rockchip support in sdhci-of-dwcmhsc.yaml >>> >>> Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com> >>> --- >>> >>> Changes in v3: None >>> >>> .../bindings/mmc/snps,dwcmshc-sdhci.yaml | 24 ++++++++++++++++++++++ >>> 1 file changed, 24 insertions(+) >>> >>> diff --git a/Documentation/devicetree/bindings/mmc/snps,dwcmshc-sdhci.yaml b/Documentation/devicetree/bindings/mmc/snps,dwcmshc-sdhci.yaml >>> index f99fb9f..43989f2 100644 >>> --- a/Documentation/devicetree/bindings/mmc/snps,dwcmshc-sdhci.yaml >>> +++ b/Documentation/devicetree/bindings/mmc/snps,dwcmshc-sdhci.yaml >>> @@ -16,6 +16,7 @@ allOf: >>> properties: >>> compatible: >>> enum: > >>> + - rockchip,dwcmshc-sdhci > > Compatible strings are supposed to be SoC orientated. > What SoC was this change for? rk3568 ? > Could Shawn confirm that? Yes. We are inclined to use this controller from now on for a long time for up-coming SoCs. Should we tag compatible for rk3568 specified? One of the negative things I could come up with is that we do this for dwmmc-rockchip, but we end up doing nothing else, except for adding new compatible string again and again in Document. > > - rockchip,rk3568-dwcmshc-sdhci ?? > > Could Rob advise here? > >>> - snps,dwcmshc-sdhci >>> >>> reg: >>> @@ -31,12 +32,24 @@ properties: >>> items: >>> - description: core clock >>> - description: bus clock for optional >>> + - description: axi clock for rockchip specified >>> + - description: block clock for rockchip specified >>> + - description: timer clock for rockchip specified >>> + >>> >>> clock-names: >>> minItems: 1 >>> items: >>> - const: core >>> - const: bus >>> + - const: axi >>> + - const: block >>> + - const: timer >>> + >>> + rockchip,txclk-tapnum: >>> + description: Specify the number of delay for tx sampling. >>> + $ref: /schemas/types.yaml#/definitions/uint32 >> >> Constraints for this? 0 - 2^32 is okay? >> >>> + >>> >>> required: >>> - compatible >>> @@ -49,6 +62,17 @@ unevaluatedProperties: false >>> >>> examples: >>> - | >>> + mmc@fe310000 { > >>> + compatible = "rockchip,dwcmshc-sdhci"; > > compatible = "rockchip,rk3568-dwcmshc-sdhci"; ?? > >>> + reg = <0xfe310000 0x10000>; >>> + interrupts = <0 25 0x4>; >>> + clocks = <&cru 17>, <&cru 18>, <&cru 19>, <&cru 20>, <&cru 21>; >>> + clock-names = "core", "bus", "axi", "block", "timer"; >>> + bus-width = <8>; >>> + #address-cells = <1>; >>> + #size-cells = <0>; >>> + }; >>> + - | >>> mmc@aa0000 { >>> compatible = "snps,dwcmshc-sdhci"; >>> reg = <0xaa000 0x1000>; >>> -- >>> 2.7.4 >>> >>> >>> >> > > > > >
WARNING: multiple messages have this Message-ID (diff)
From: Shawn Lin <shawn.lin@rock-chips.com> To: Johan Jonker <jbx6244@gmail.com>, Rob Herring <robh@kernel.org> Cc: shawn.lin@rock-chips.com, Ulf Hansson <ulf.hansson@linaro.org>, linux-mmc@vger.kernel.org, Adrian Hunter <adrian.hunter@intel.com>, devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org, Heiko Stuebner <heiko@sntech.de> Subject: Re: [PATCH v3 2/3] dt-bindings: mmc: sdhci-of-dwcmhsc: Add rockchip support Date: Wed, 10 Mar 2021 17:37:33 +0800 [thread overview] Message-ID: <7573e8c1-3f55-9925-bc14-534455f1ffa3@rock-chips.com> (raw) In-Reply-To: <9f8b3be6-d87e-d944-d5db-67f3bcf0fad0@gmail.com> On 2021/3/10 15:00, Johan Jonker wrote: > On 3/10/21 4:01 AM, Rob Herring wrote: >> On Tue, Mar 09, 2021 at 09:56:29AM +0800, Shawn Lin wrote: >>> This patch adds rockchip support in sdhci-of-dwcmhsc.yaml >>> >>> Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com> >>> --- >>> >>> Changes in v3: None >>> >>> .../bindings/mmc/snps,dwcmshc-sdhci.yaml | 24 ++++++++++++++++++++++ >>> 1 file changed, 24 insertions(+) >>> >>> diff --git a/Documentation/devicetree/bindings/mmc/snps,dwcmshc-sdhci.yaml b/Documentation/devicetree/bindings/mmc/snps,dwcmshc-sdhci.yaml >>> index f99fb9f..43989f2 100644 >>> --- a/Documentation/devicetree/bindings/mmc/snps,dwcmshc-sdhci.yaml >>> +++ b/Documentation/devicetree/bindings/mmc/snps,dwcmshc-sdhci.yaml >>> @@ -16,6 +16,7 @@ allOf: >>> properties: >>> compatible: >>> enum: > >>> + - rockchip,dwcmshc-sdhci > > Compatible strings are supposed to be SoC orientated. > What SoC was this change for? rk3568 ? > Could Shawn confirm that? Yes. We are inclined to use this controller from now on for a long time for up-coming SoCs. Should we tag compatible for rk3568 specified? One of the negative things I could come up with is that we do this for dwmmc-rockchip, but we end up doing nothing else, except for adding new compatible string again and again in Document. > > - rockchip,rk3568-dwcmshc-sdhci ?? > > Could Rob advise here? > >>> - snps,dwcmshc-sdhci >>> >>> reg: >>> @@ -31,12 +32,24 @@ properties: >>> items: >>> - description: core clock >>> - description: bus clock for optional >>> + - description: axi clock for rockchip specified >>> + - description: block clock for rockchip specified >>> + - description: timer clock for rockchip specified >>> + >>> >>> clock-names: >>> minItems: 1 >>> items: >>> - const: core >>> - const: bus >>> + - const: axi >>> + - const: block >>> + - const: timer >>> + >>> + rockchip,txclk-tapnum: >>> + description: Specify the number of delay for tx sampling. >>> + $ref: /schemas/types.yaml#/definitions/uint32 >> >> Constraints for this? 0 - 2^32 is okay? >> >>> + >>> >>> required: >>> - compatible >>> @@ -49,6 +62,17 @@ unevaluatedProperties: false >>> >>> examples: >>> - | >>> + mmc@fe310000 { > >>> + compatible = "rockchip,dwcmshc-sdhci"; > > compatible = "rockchip,rk3568-dwcmshc-sdhci"; ?? > >>> + reg = <0xfe310000 0x10000>; >>> + interrupts = <0 25 0x4>; >>> + clocks = <&cru 17>, <&cru 18>, <&cru 19>, <&cru 20>, <&cru 21>; >>> + clock-names = "core", "bus", "axi", "block", "timer"; >>> + bus-width = <8>; >>> + #address-cells = <1>; >>> + #size-cells = <0>; >>> + }; >>> + - | >>> mmc@aa0000 { >>> compatible = "snps,dwcmshc-sdhci"; >>> reg = <0xaa000 0x1000>; >>> -- >>> 2.7.4 >>> >>> >>> >> > > > > > _______________________________________________ Linux-rockchip mailing list Linux-rockchip@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-rockchip
next prev parent reply other threads:[~2021-03-10 9:39 UTC|newest] Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-03-09 1:56 [PATCH v3 1/3] dt-bindings: mmc: sdhci-of-dwcmhsc: Convert to yaml file Shawn Lin 2021-03-09 1:56 ` Shawn Lin 2021-03-09 1:56 ` [PATCH v3 2/3] dt-bindings: mmc: sdhci-of-dwcmhsc: Add rockchip support Shawn Lin 2021-03-09 1:56 ` Shawn Lin 2021-03-10 3:01 ` Rob Herring 2021-03-10 3:01 ` Rob Herring 2021-03-10 6:44 ` [PATCH v3 2/3] dt-bindings: mmc: sdhci-of-dwcmhsc: Add rockchip support【请注意,邮件由robherring2@gmail.com代发】 Shawn Lin 2021-03-10 6:44 ` Shawn Lin 2021-03-10 7:00 ` Re: [PATCH v3 2/3] dt-bindings: mmc: sdhci-of-dwcmhsc: Add rockchip support Johan Jonker 2021-03-10 7:00 ` Johan Jonker 2021-03-10 9:37 ` Shawn Lin [this message] 2021-03-10 9:37 ` Shawn Lin 2021-03-10 20:58 ` Rob Herring 2021-03-10 20:58 ` Rob Herring 2021-03-09 1:56 ` [PATCH v3 3/3] mmc: sdhci-of-dwcmshc: add rockchip platform support Shawn Lin 2021-03-09 1:56 ` Shawn Lin 2021-03-10 13:19 ` Adrian Hunter 2021-03-10 13:19 ` Adrian Hunter 2021-03-10 3:00 ` [PATCH v3 1/3] dt-bindings: mmc: sdhci-of-dwcmhsc: Convert to yaml file Rob Herring 2021-03-10 3:00 ` Rob Herring
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=7573e8c1-3f55-9925-bc14-534455f1ffa3@rock-chips.com \ --to=shawn.lin@rock-chips.com \ --cc=adrian.hunter@intel.com \ --cc=devicetree@vger.kernel.org \ --cc=heiko@sntech.de \ --cc=jbx6244@gmail.com \ --cc=linux-mmc@vger.kernel.org \ --cc=linux-rockchip@lists.infradead.org \ --cc=robh@kernel.org \ --cc=ulf.hansson@linaro.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.