From: "Jernej Škrabec" <jernej.skrabec@gmail.com>
To: Chen-Yu Tsai <wens@csie.org>,
Samuel Holland <samuel@sholland.org>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Andre Przywara <andre.przywara@arm.com>
Cc: "Clément Péron" <peron.clem@gmail.com>,
"Icenowy Zheng" <uwu@icenowy.me>,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-sunxi@lists.linux.dev, linux-i2c@vger.kernel.org
Subject: Re: [PATCH v2 03/10] ARM: dts: suniv: f1c100s: add I2C DT nodes
Date: Mon, 07 Nov 2022 19:00:10 +0100 [thread overview]
Message-ID: <7447015.EvYhyI6sBW@kista> (raw)
In-Reply-To: <20221107005433.11079-4-andre.przywara@arm.com>
Dne ponedeljek, 07. november 2022 ob 01:54:26 CET je Andre Przywara
napisal(a):
> The Allwinner F1C100s series of SoCs contain three I2C controllers
> compatible to the ones used in other Allwinner SoCs.
>
> Add the DT nodes describing the resources of the controllers.
> I2C1 has only one possible pinmux, so add the pinctrl properties for
> that already.
Above statement doesn't match current changes anymore. With that removed:
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
If nothing else pops up, I can fix this while applying.
Best regards,
Jernej
> At least one board connects an on-board I2C chip to PD0/PD12 (I2C0), so
> include those pins already, to simplify referencing them later.
>
> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
> ---
> arch/arm/boot/dts/suniv-f1c100s.dtsi | 42 ++++++++++++++++++++++++++++
> 1 file changed, 42 insertions(+)
>
> diff --git a/arch/arm/boot/dts/suniv-f1c100s.dtsi
> b/arch/arm/boot/dts/suniv-f1c100s.dtsi index 81749d5da12f..4f45168cea42
> 100644
> --- a/arch/arm/boot/dts/suniv-f1c100s.dtsi
> +++ b/arch/arm/boot/dts/suniv-f1c100s.dtsi
> @@ -192,6 +192,12 @@ mmc0_pins: mmc0-pins {
> drive-strength = <30>;
> };
>
> + /omit-if-no-ref/
> + i2c0_pd_pins: i2c0-pd-pins {
> + pins = "PD0", "PD12";
> + function = "i2c0";
> + };
> +
> spi0_pc_pins: spi0-pc-pins {
> pins = "PC0", "PC1", "PC2",
"PC3";
> function = "spi0";
> @@ -203,6 +209,42 @@ uart0_pe_pins: uart0-pe-pins {
> };
> };
>
> + i2c0: i2c@1c27000 {
> + compatible = "allwinner,suniv-f1c100s-i2c",
> + "allwinner,sun6i-a31-i2c";
> + reg = <0x01c27000 0x400>;
> + interrupts = <7>;
> + clocks = <&ccu CLK_BUS_I2C0>;
> + resets = <&ccu RST_BUS_I2C0>;
> + #address-cells = <1>;
> + #size-cells = <0>;
> + status = "disabled";
> + };
> +
> + i2c1: i2c@1c27400 {
> + compatible = "allwinner,suniv-f1c100s-i2c",
> + "allwinner,sun6i-a31-i2c";
> + reg = <0x01c27400 0x400>;
> + interrupts = <8>;
> + clocks = <&ccu CLK_BUS_I2C1>;
> + resets = <&ccu RST_BUS_I2C1>;
> + #address-cells = <1>;
> + #size-cells = <0>;
> + status = "disabled";
> + };
> +
> + i2c2: i2c@1c27800 {
> + compatible = "allwinner,suniv-f1c100s-i2c",
> + "allwinner,sun6i-a31-i2c";
> + reg = <0x01c27800 0x400>;
> + interrupts = <9>;
> + clocks = <&ccu CLK_BUS_I2C2>;
> + resets = <&ccu RST_BUS_I2C2>;
> + #address-cells = <1>;
> + #size-cells = <0>;
> + status = "disabled";
> + };
> +
> timer@1c20c00 {
> compatible = "allwinner,suniv-f1c100s-
timer";
> reg = <0x01c20c00 0x90>;
> --
> 2.35.5
next prev parent reply other threads:[~2022-11-07 18:04 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-07 0:54 [PATCH v2 00/10] ARM: dts: suniv: F1C100s: add more peripherals Andre Przywara
2022-11-07 0:54 ` [PATCH v2 01/10] dt-bindings: pwm: allwinner,sun4i-a10: Add F1C100s compatible Andre Przywara
2022-11-07 20:09 ` Uwe Kleine-König
2022-11-15 10:25 ` Thierry Reding
2022-11-07 0:54 ` [PATCH v2 02/10] ARM: dts: suniv: f1c100s: add PWM node Andre Przywara
2022-11-07 17:57 ` Jernej Škrabec
2022-11-15 10:19 ` Uwe Kleine-König
2022-11-15 10:25 ` Thierry Reding
2022-11-15 21:40 ` Jernej Škrabec
2022-11-07 0:54 ` [PATCH v2 03/10] ARM: dts: suniv: f1c100s: add I2C DT nodes Andre Przywara
2022-11-07 18:00 ` Jernej Škrabec [this message]
2022-11-07 0:54 ` [PATCH v2 04/10] clk: sunxi-ng: f1c100s: Add IR mod clock Andre Przywara
2022-11-07 18:01 ` Jernej Škrabec
2022-11-07 0:54 ` [PATCH v2 05/10] dt-bindings: media: IR: Add F1C100s IR compatible string Andre Przywara
2022-11-07 0:54 ` [PATCH v2 06/10] ARM: dts: suniv: f1c100s: add CIR DT node Andre Przywara
2022-11-07 0:54 ` [PATCH v2 07/10] ARM: dts: suniv: f1c100s: add LRADC node Andre Przywara
2022-11-07 0:54 ` [PATCH v2 08/10] dt-bindings: vendor-prefixes: add Lctech name Andre Przywara
2022-11-07 18:02 ` Jernej Škrabec
2022-11-07 18:16 ` Krzysztof Kozlowski
2022-11-07 0:54 ` [PATCH v2 09/10] dt-bindings: arm: sunxi: add compatible strings for Lctech Pi Andre Przywara
2022-11-07 0:54 ` [PATCH v2 10/10] ARM: dts: suniv: Add Lctech Pi F1C200s devicetree Andre Przywara
2022-11-07 18:03 ` Jernej Škrabec
2022-11-07 19:33 ` [PATCH v2 00/10] ARM: dts: suniv: F1C100s: add more peripherals Jernej Škrabec
2022-11-15 0:28 ` Andre Przywara
2022-11-15 5:11 ` Jernej Škrabec
2022-11-16 18:50 ` Jernej Škrabec
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=7447015.EvYhyI6sBW@kista \
--to=jernej.skrabec@gmail.com \
--cc=andre.przywara@arm.com \
--cc=devicetree@vger.kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-sunxi@lists.linux.dev \
--cc=peron.clem@gmail.com \
--cc=robh+dt@kernel.org \
--cc=samuel@sholland.org \
--cc=uwu@icenowy.me \
--cc=wens@csie.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