Linux-PHY Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzk@kernel.org>
To: Christian Marangi <ansuelsmth@gmail.com>
Cc: Vinod Koul <vkoul@kernel.org>,
	Neil Armstrong <neil.armstrong@linaro.org>,
	Manivannan Sadhasivam <mani@kernel.org>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	linux-arm-kernel@lists.infradead.org,
	linux-phy@lists.infradead.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 1/2] dt-bindings: phy: airoha: Document support for AN7583 Gen3 PCIe PHY
Date: Thu, 3 Sep 2026 11:40:36 +0200	[thread overview]
Message-ID: <05b84fc9-e71f-412f-bdf2-c0847c2441ff@kernel.org> (raw)
In-Reply-To: <6a96cef9.1f1211b9.23c693.9e1e@mx.google.com>

On 01/09/2026 15:11, Christian Marangi wrote:
> On Mon, Aug 31, 2026 at 08:51:46AM +0200, Krzysztof Kozlowski wrote:
>> On Thu, Aug 27, 2026 at 02:21:20PM +0200, Christian Marangi wrote:
>>> +
>>> +examples:
>>> +  - |
>>> +    #include <dt-bindings/phy/phy.h>
>>> +
>>> +    phy@1fc7f000 {
>>> +        compatible = "airoha,an7583-pcie-gen3-phy";
>>> +        reg = <0x1fc7f000 0xfff>,
>>> +              <0x1fc7e000 0xfff>,
>>
>> Sashiko has a valid point here.
>>
>> This should reflect real hardware, not current driver. It is very, very
>> unlikely that hardware designers designed a block of 0xfff size or 0x4
>>
> 
> Hi for 0xfff yes the block is 0x1000 but I was reporting how it was defined
> in the original DTS. For the 0x4 is for real a single register for that

And the original DTS was likely wrong...

> usage. Documentation is scarce for that single block but this also reflect
> the same implementation used on EN7581. I updated the example to address
> the strange block of 0xfff.

Best regards,
Krzysztof

-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy

  reply	other threads:[~2026-09-03  9:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-27 12:21 [PATCH v2 0/2] phy: airoha: add support for AN7583 PCIe PHY driver Christian Marangi
2026-08-27 12:21 ` [PATCH v2 1/2] dt-bindings: phy: airoha: Document support for AN7583 Gen3 PCIe PHY Christian Marangi
2026-08-27 12:27   ` sashiko-bot
2026-08-31  6:51   ` Krzysztof Kozlowski
2026-09-01 13:11     ` Christian Marangi
2026-09-03  9:40       ` Krzysztof Kozlowski [this message]
2026-08-27 12:21 ` [PATCH v2 2/2] phy: airoha: add support for AN7583 Gen3 PCIe PHY driver Christian Marangi
2026-08-27 12:29   ` sashiko-bot

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=05b84fc9-e71f-412f-bdf2-c0847c2441ff@kernel.org \
    --to=krzk@kernel.org \
    --cc=ansuelsmth@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-phy@lists.infradead.org \
    --cc=mani@kernel.org \
    --cc=neil.armstrong@linaro.org \
    --cc=robh@kernel.org \
    --cc=vkoul@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