From: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
To: Jaewon Kim <jaewon02.kim@samsung.com>,
Wolfram Sang <wsa@kernel.org>, Rob Herring <robh+dt@kernel.org>
Cc: Chanho Park <chanho61.park@samsung.com>,
linux-i2c@vger.kernel.org, linux-samsung-soc@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/2] dt-bindings: i2c: exynos5: add exynos-usi-hsi2c compatible
Date: Wed, 3 Nov 2021 09:42:08 +0100 [thread overview]
Message-ID: <c626abd9-eebb-3111-123d-7b2bea95b310@canonical.com> (raw)
In-Reply-To: <20211101113819.50651-2-jaewon02.kim@samsung.com>
On 01/11/2021 12:38, Jaewon Kim wrote:
> This patch adds new "samsung,exynos-usi-hsi2c" compatible.
> It is for i2c compatible with HSI2C available on Exynos SoC with USI.
>
> Signed-off-by: Jaewon Kim <jaewon02.kim@samsung.com>
> ---
> Documentation/devicetree/bindings/i2c/i2c-exynos5.txt | 6 ++++++
> 1 file changed, 6 insertions(+)
>
The bindings go as first patch, please.
> diff --git a/Documentation/devicetree/bindings/i2c/i2c-exynos5.txt b/Documentation/devicetree/bindings/i2c/i2c-exynos5.txt
> index 2dbc0b62daa6..ce2373c7a357 100644
> --- a/Documentation/devicetree/bindings/i2c/i2c-exynos5.txt
> +++ b/Documentation/devicetree/bindings/i2c/i2c-exynos5.txt
> @@ -14,6 +14,8 @@ Required properties:
> on Exynos5260 SoCs.
> -> "samsung,exynos7-hsi2c", for i2c compatible with HSI2C available
> on Exynos7 SoCs.
> + -> "samsung,exynos-usi-hsi2c", for i2c compatible with HSI2C available
> + on Exynos SoCs with USI.
I would prefer to describe the Exynos model, not the feature. USI might
change between different SoCs, so then it will be "usiv2"?
>
> - reg: physical base address of the controller and length of memory mapped
> region.
> @@ -31,6 +33,8 @@ Optional properties:
> at 100khz.
> -> If specified, the bus operates in high-speed mode only if the
> clock-frequency is >= 1Mhz.
> + - samsung,usi-sysreg : sysreg handle to control USI type.
> + -> sysreg phandle for "samsung,exynos-usi-hsic" compatible.
s/sysreg/system registers controller/
s/handle/phandle/
Please document to what is this phandle. To which block.
Why it cannot be the existing generic samsung,sysreg?
>
> Example:
>
> @@ -46,6 +50,8 @@ hsi2c@12ca0000 {
> #address-cells = <1>;
> #size-cells = <0>;
>
> + samsung,usi-sysreg = <&usi_sysreg 0x28>;
This does not look correct for this compatible. We should really convert
the bindings to YAML...
> +
> s2mps11_pmic@66 {
> compatible = "samsung,s2mps11-pmic";
> reg = <0x66>;
>
Best regards,
Krzysztof
next prev parent reply other threads:[~2021-11-03 8:42 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20211101114158epcas2p1d0762d52029b1b09912fd99665dd66f5@epcas2p1.samsung.com>
2021-11-01 11:38 ` [PATCH 1/2] i2c: exynos5: support USI(Universal Serial Interface) Jaewon Kim
[not found] ` <CGME20211101114158epcas2p46b50f8d946d59ffaedd203370b81c6ed@epcas2p4.samsung.com>
2021-11-01 11:38 ` [PATCH 2/2] dt-bindings: i2c: exynos5: add exynos-usi-hsi2c compatible Jaewon Kim
2021-11-03 8:42 ` Krzysztof Kozlowski [this message]
2021-11-04 8:06 ` Jaewon Kim
2021-11-03 8:51 ` [PATCH 1/2] i2c: exynos5: support USI(Universal Serial Interface) Krzysztof Kozlowski
2021-11-04 8:10 ` Jaewon Kim
2021-11-04 10:41 ` Krzysztof Kozlowski
2021-11-08 11:22 ` Jaewon Kim
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=c626abd9-eebb-3111-123d-7b2bea95b310@canonical.com \
--to=krzysztof.kozlowski@canonical.com \
--cc=chanho61.park@samsung.com \
--cc=jaewon02.kim@samsung.com \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=robh+dt@kernel.org \
--cc=wsa@kernel.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®