From: "Heiko Stübner" <heiko@sntech.de>
To: Tim Lunn <tim@feathertop.org>,
linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org,
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Cc: Jagan Teki <jagan@edgeble.ai>, Rob Herring <robh+dt@kernel.org>,
linux-arm-kernel@lists.infradead.org,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>
Subject: Re: [PATCH v2 4/9] ARM: dts: rockchip: rv1126: Add i2c2 nodes
Date: Mon, 27 Nov 2023 00:06:06 +0100 [thread overview]
Message-ID: <4762834.KRxA6XjA2N@diego> (raw)
In-Reply-To: <813224c2-398d-4c2d-8909-1839ce63be60@linaro.org>
Hi Krzysztof,
Am Mittwoch, 22. November 2023, 13:29:47 CET schrieb Krzysztof Kozlowski:
> On 22/11/2023 13:22, Tim Lunn wrote:
> > Add i2c2 node and i2c2_xfer pinctrl for Rockchip RV1126
> >
> > Signed-off-by: Tim Lunn <tim@feathertop.org>
> > ---
> >
> > (no changes since v1)
> >
> > arch/arm/boot/dts/rockchip/rv1126-pinctrl.dtsi | 10 ++++++++++
> > arch/arm/boot/dts/rockchip/rv1126.dtsi | 15 +++++++++++++++
> > 2 files changed, 25 insertions(+)
> >
> > diff --git a/arch/arm/boot/dts/rockchip/rv1126-pinctrl.dtsi b/arch/arm/boot/dts/rockchip/rv1126-pinctrl.dtsi
> > index 4f85b7b3fc4c..167a48afa3a4 100644
> > --- a/arch/arm/boot/dts/rockchip/rv1126-pinctrl.dtsi
> > +++ b/arch/arm/boot/dts/rockchip/rv1126-pinctrl.dtsi
> > @@ -87,6 +87,16 @@ i2c0_xfer: i2c0-xfer {
> > <0 RK_PB5 1 &pcfg_pull_none_drv_level_0_smt>;
> > };
> > };
> > + i2c2 {
> > + /omit-if-no-ref/
> > + i2c2_xfer: i2c2-xfer {
> > + rockchip,pins =
> > + /* i2c2_scl */
> > + <0 RK_PC2 1 &pcfg_pull_none_drv_level_0_smt>,
> > + /* i2c2_sda */
> > + <0 RK_PC3 1 &pcfg_pull_none_drv_level_0_smt>;
> > + };
> > + };
> > pwm2 {
> > /omit-if-no-ref/
> > pwm2m0_pins: pwm2m0-pins {
> > diff --git a/arch/arm/boot/dts/rockchip/rv1126.dtsi b/arch/arm/boot/dts/rockchip/rv1126.dtsi
> > index 6c5c928f06c7..cf1df75df418 100644
> > --- a/arch/arm/boot/dts/rockchip/rv1126.dtsi
> > +++ b/arch/arm/boot/dts/rockchip/rv1126.dtsi
> > @@ -21,6 +21,7 @@ / {
> >
> > aliases {
> > i2c0 = &i2c0;
> > + i2c2 = &i2c2;
>
> No, this should be per-board to match board labeling/schematics.
At least for i2c, uarts and i.e. spi ... Rockchip manuals, pin namings
and also all board schematics I've seen so far are very consistent for
these ... i2c2 for example is labled i2c2 both in the pins in the socs
and also in the board-schematics using them.
So while I can agree that things like mmc-aliases might be board-specific,
I do think aliases for the core busses should be able to live in the soc dtsi
as for all Rockchip SoCs so far?
Heiko
next prev parent reply other threads:[~2023-11-26 23:06 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-22 12:22 [PATCH v2 0/9] Add support for Sonoff iHost RV1126 Smart Home Gateway Tim Lunn
2023-11-22 12:22 ` [PATCH v2 1/9] ARM: dts: rockchip: rv1126: Add alternate UART pins Tim Lunn
2023-11-22 12:22 ` [PATCH v2 2/9] ARM: dts: rockchip: rv1126: Serial aliases Tim Lunn
2023-11-22 12:29 ` Krzysztof Kozlowski
2023-11-22 12:22 ` [PATCH v2 3/9] i2c: rk3x: Adjust offset for i2c2 on rv1126 Tim Lunn
2023-11-26 19:43 ` Andi Shyti
2023-11-27 0:26 ` Heiko Stübner
2023-11-27 10:11 ` Tim Lunn
2023-11-27 21:57 ` Andi Shyti
2023-11-22 12:22 ` [PATCH v2 4/9] ARM: dts: rockchip: rv1126: Add i2c2 nodes Tim Lunn
2023-11-22 12:29 ` Krzysztof Kozlowski
2023-11-22 13:09 ` Tim Lunn
2023-11-26 23:06 ` Heiko Stübner [this message]
2023-11-27 6:52 ` Krzysztof Kozlowski
2023-11-27 9:23 ` Tim Lunn
2023-11-27 9:27 ` Krzysztof Kozlowski
2023-11-27 9:45 ` Heiko Stübner
2023-11-27 9:58 ` Tim Lunn
2023-11-27 10:29 ` Heiko Stübner
2023-11-27 10:43 ` Dragan Simic
2023-11-27 10:50 ` Heiko Stübner
2023-11-27 10:55 ` Dragan Simic
2023-11-27 11:10 ` Heiko Stübner
2023-11-27 13:07 ` Dragan Simic
2023-12-12 8:04 ` Dragan Simic
2023-11-27 12:52 ` Tim Lunn
2023-11-27 23:11 ` Alex Bee
2023-11-27 23:35 ` Heiko Stübner
2023-11-22 12:22 ` [PATCH v2 5/9] ARM: dts: rockchip: rv1126: Split up rgmii1 pinctrl Tim Lunn
2023-11-22 12:22 ` [PATCH v2 6/9] ARM: dts: rockchip: rv1126: Add ethernet alias Tim Lunn
2023-11-22 12:22 ` [PATCH v2 7/9] ARM: dts: rockchip: Add rv1109 SoC Tim Lunn
2023-11-22 12:22 ` [PATCH v2 8/9] ARM: dts: Add Sonoff iHost Smart Home Hub Tim Lunn
2023-11-22 12:22 ` [PATCH v2 9/9] dt-bindings: arm: rockchip: Add Sonoff iHost Tim Lunn
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=4762834.KRxA6XjA2N@diego \
--to=heiko@sntech.de \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jagan@edgeble.ai \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=krzysztof.kozlowski@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=robh+dt@kernel.org \
--cc=tim@feathertop.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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).