mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Chen-Yu Tsai <wens@kernel.org>
To: Mikhail Kalashnikov <iuncuim@gmail.com>
Cc: Jernej Skrabec <jernej.skrabec@gmail.com>,
	Samuel Holland <samuel@sholland.org>,
	 devicetree@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	 linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org,
	 Andre Przywara <andre.przywara@arm.com>
Subject: Re: [PATCH v2 3/4] arm64: dts: allwinner: sun55i-a523: add I2C0 and I2C1 pin groups
Date: Thu, 3 Dec 2026 22:57:55 +0900	[thread overview]
Message-ID: <CAGb2v67XbFm4AbxLouQ4YBuq-XJe_1cYgEpQgRMTHHS0cDZGSg@mail.gmail.com> (raw)
In-Reply-To: <20261001022415.913959-4-iuncuim@gmail.com>

On Thu, Oct 1, 2026 at 11:24 AM Mikhail Kalashnikov <iuncuim@gmail.com> wrote:
>
> Add the pin groups for the I2C0 (PH0/PH1) and I2C1 (PH2/PH3) controllers
> that used on some A523 boards.
>
> Assisted-by: OpenCode:DeepSeek-V4.1-Flash
> Reviewed-by: Andre Przywara <andre.przywara@arm.com>
> Signed-off-by: Mikhail Kalashnikov <iuncuim@gmail.com>
> ---
>  arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi | 18 ++++++++++++++++++
>  1 file changed, 18 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi b/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi
> index 85ef492ff..0ec5d19f7 100644
> --- a/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi
> +++ b/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi
> @@ -147,6 +147,24 @@ pio: pinctrl@2000000 {
>                         interrupt-controller;
>                         #interrupt-cells = <3>;
>
> +                       /omit-if-no-ref/
> +                       i2c0_pins: i2c0-pins {
> +                               pins = "PH0", "PH1";
> +                               function = "i2c0";
> +                               allwinner,pinmux = <2>;

> +                               drive-strength = <10>;
> +                               bias-pull-up;

Drive strength and pull-ups are board level properties. One board might
have external pull-ups and thus don't need or want the internal ones.

Please move these two properties to the board level.

> +                       };
> +
> +                       /omit-if-no-ref/
> +                       i2c1_pins: i2c1-pins {
> +                               pins = "PH2", "PH3";
> +                               function = "i2c1";
> +                               allwinner,pinmux = <2>;
> +                               drive-strength = <10>;
> +                               bias-pull-up;

Same here.


ChenYu

> +                       };
> +
>                         /omit-if-no-ref/
>                         i2s2_pi_pins: i2s2-pi-pins {
>                                 pins = "PI2", "PI3", "PI4", "PI5";
> --
> 2.55.0
>

  reply	other threads:[~2026-12-03 13:58 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-01  2:24 [PATCH v2 0/4] arm64: dts: allwinner: add Teclast P85T (A523) support Mikhail Kalashnikov
2026-10-01  2:24 ` [PATCH v2 1/4] dt-bindings: vendor-prefixes: Add vendor prefix for Teclast Mikhail Kalashnikov
2026-10-12  6:43   ` Krzysztof Kozlowski
2026-10-12  6:45     ` Chen-Yu Tsai
2026-10-14 14:54   ` Icenowy Zheng
2026-10-01  2:24 ` [PATCH v2 2/4] dt-bindings: arm: sunxi: Add Teclast P85T tablet Mikhail Kalashnikov
2026-10-12  6:43   ` Krzysztof Kozlowski
2026-10-01  2:24 ` [PATCH v2 3/4] arm64: dts: allwinner: sun55i-a523: add I2C0 and I2C1 pin groups Mikhail Kalashnikov
2026-12-03 13:57   ` Chen-Yu Tsai [this message]
2026-10-01  2:24 ` [PATCH v2 4/4] arm64: dts: allwinner: add Teclast P85T tablet Mikhail Kalashnikov
2026-12-03 14:20   ` Chen-Yu Tsai

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=CAGb2v67XbFm4AbxLouQ4YBuq-XJe_1cYgEpQgRMTHHS0cDZGSg@mail.gmail.com \
    --to=wens@kernel.org \
    --cc=andre.przywara@arm.com \
    --cc=devicetree@vger.kernel.org \
    --cc=iuncuim@gmail.com \
    --cc=jernej.skrabec@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sunxi@lists.linux.dev \
    --cc=samuel@sholland.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

all inboxes | Powered by JetHome®