public inbox for linux-i2c@vger.kernel.org
 help / color / mirror / Atom feed
From: Rustam Adilov <adilov@disroot.org>
To: Krzysztof Kozlowski <krzk@kernel.org>
Cc: Chris Packham <chris.packham@alliedtelesis.co.nz>,
	Andi Shyti <andi.shyti@kernel.org>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	linux-i2c@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 7/8] dt-bindings: i2c: realtek,rtl9301-i2c: extend for RTL9607C support
Date: Sat, 21 Mar 2026 06:06:24 +0000	[thread overview]
Message-ID: <623240c8b1bf7a9f390c5c0e9de0f8c5@disroot.org> (raw)
In-Reply-To: <3cfcf811-94f9-4ab4-af5c-d589d696f843@kernel.org>

Hello
On 2026-03-20 13:11, Krzysztof Kozlowski wrote:
> On 20/03/2026 11:39, Rustam Adilov wrote:
>> On 2026-03-20 09:24, Krzysztof Kozlowski wrote:
>>> On Thu, Mar 19, 2026 at 10:57:52PM +0500, Rustam Adilov wrote:
>>>> Add the "realtek,rtl9607-i2c" compatible for i2c controller on the
>>>> RTL9607C SoC series.
>>>>
>>>> Add a clocks property to the properties since RTL9607C requires it
>>>> along with the realtek,scl. And because RTL9607C is the only one that
>>>
>>> My previous statement:
>>>
>>> "Other devices do not *have* any clock input?"
>>>
>>> And second one:
>>>
>>> "If devices *do not have* clock, you set it as false (see example schema
>>> and even line above!). Clue here is what I wrote "devices" and "do not
>>> have"."
>>>
>>> So why are you using completely different wording "require" with
>>> completely different implications?
>>>
>>> I did not leave any room for interpreation in my statement "If devices
>>> *do not have* clock, you set it as false".
>> 
>> I apologize. I was using "require" merely to relate with "required: - property" notation used in bindings.
>> 
>> Would changing the commit message to something similar in vein to [1] be better?
>> 
>> [1] - https://lore.kernel.org/linux-i2c/20250927101931.71575-9-jelonek.jonas@gmail.com/
> 
> It does not cover clocks and it does not answer whether devices have it
> or not.
> 
> Decide first whether devices have the clock or not. I asked more than
> once last time.

I took some time to read the available docs like [1], [2] and my educated guess is, there has
to be i2c clock/s and it is most likely connected to switch core by lexra bus as the other
peripherals in SoC. I am not from Realtek so i don't know accurate that is.
The difference with RTL9300/RTL9310 and RTL9607 is just, how SCL clock of the i2c master
controller is configurable but that is for driver to deal with.

[1] - https://svanheule.net/switches/rtl93xx
[2] - https://github.com/plappermaul/realtek-doc/tree/main/datasheets

> Then write commit msg and code matching this.
> 
> Best regards,
> Krzysztof

Best,
Rustam

  reply	other threads:[~2026-03-21  6:06 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-19 17:57 [PATCH v2 0/8] i2c: rtl9300: support for RTL9607C I2C controller Rustam Adilov
2026-03-19 17:57 ` [PATCH v2 1/8] i2c: rtl9300: split data_reg into read and write reg Rustam Adilov
2026-03-19 17:57 ` [PATCH v2 2/8] i2c: rtl9300: introduce max length property to driver data Rustam Adilov
2026-03-19 17:57 ` [PATCH v2 3/8] i2c: rtl9300: introduce F_BUSY to the reg_fields struct Rustam Adilov
2026-03-19 17:57 ` [PATCH v2 4/8] i2c: rtl9300: introduce a property for 8 bit width reg address Rustam Adilov
2026-03-19 17:57 ` [PATCH v2 5/8] i2c: rtl9300: introduce clk struct for upcoming rtl9607 support Rustam Adilov
2026-03-19 17:57 ` [PATCH v2 6/8] i2c: rtl9300: intoduce new function properties to driver data Rustam Adilov
2026-03-19 17:57 ` [PATCH v2 7/8] dt-bindings: i2c: realtek,rtl9301-i2c: extend for RTL9607C support Rustam Adilov
2026-03-20  9:24   ` Krzysztof Kozlowski
2026-03-20 10:39     ` Rustam Adilov
2026-03-20 13:11       ` Krzysztof Kozlowski
2026-03-21  6:06         ` Rustam Adilov [this message]
2026-03-21  9:58           ` Krzysztof Kozlowski
2026-03-19 17:57 ` [PATCH v2 8/8] i2c: rtl9300: add RTL9607C i2c controller support Rustam Adilov

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=623240c8b1bf7a9f390c5c0e9de0f8c5@disroot.org \
    --to=adilov@disroot.org \
    --cc=andi.shyti@kernel.org \
    --cc=chris.packham@alliedtelesis.co.nz \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=krzk@kernel.org \
    --cc=linux-i2c@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh@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