From: Florian Fainelli <florian.fainelli@broadcom.com>
To: Krzysztof Kozlowski <krzk@kernel.org>
Cc: linux-arm-kernel@lists.infradead.org,
Rob Herring <robh@kernel.org>, Conor Dooley <conor+dt@kernel.org>,
Broadcom internal kernel review list
<bcm-kernel-feedback-list@broadcom.com>,
"open list:MEMORY CONTROLLER DRIVERS"
<linux-kernel@vger.kernel.org>,
"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
<devicetree@vger.kernel.org>
Subject: Re: [PATCH 1/2] dt-bindings: memory-controller: Document rev c.1.5 compatible
Date: Wed, 18 Dec 2024 09:15:08 -0800 [thread overview]
Message-ID: <93a1333d-442f-4cec-b823-9b1a5ff6dc6b@broadcom.com> (raw)
In-Reply-To: <2e33t7ft5ermsfr7c4ympxrn6l5sqdef3wml4hlbnhdupoouwj@gfjpbmowjadi>
On 12/18/24 03:37, Krzysztof Kozlowski wrote:
> On Tue, Dec 17, 2024 at 11:44:38AM -0800, Florian Fainelli wrote:
>> Document the revision c.1.5 compatible string that is present on newer
>> Broadcom STB memory controllers (74165 and onwards).
>>
>> Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
>> ---
>> .../bindings/memory-controllers/brcm,brcmstb-memc-ddr.yaml | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> diff --git a/Documentation/devicetree/bindings/memory-controllers/brcm,brcmstb-memc-ddr.yaml b/Documentation/devicetree/bindings/memory-controllers/brcm,brcmstb-memc-ddr.yaml
>> index 4b072c879b02..99d79ccd1036 100644
>> --- a/Documentation/devicetree/bindings/memory-controllers/brcm,brcmstb-memc-ddr.yaml
>> +++ b/Documentation/devicetree/bindings/memory-controllers/brcm,brcmstb-memc-ddr.yaml
>> @@ -29,6 +29,7 @@ properties:
>> - brcm,brcmstb-memc-ddr-rev-c.1.2
>> - brcm,brcmstb-memc-ddr-rev-c.1.3
>> - brcm,brcmstb-memc-ddr-rev-c.1.4
>> + - brcm,brcmstb-memc-ddr-rev-c.1.5
>
> You should use v2.1 fallback and drop driver patch. Or explain in
> commit briefly why different approach is suitable.
Are you suggesting that we should have fallback compatible strings, such
that we have something like this:
compatible = "brcm,brcmstb-memc-ddr-rev-c.1.5",
"brcm,brcmstb-memc-ddr-rev-c", "brcm,brcmstb-memc-ddr"
and the driver only needs to match on "brcm,brcmstb-memc-ddr-rev-c" and
apply the adequate register offset table?
If so, that is not how the current binding, and therefore DTBs are being
deployed, so that will introduce a breakage until we update all DTBs in
the field...
--
Florian
next prev parent reply other threads:[~2024-12-18 17:15 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-17 19:44 [PATCH 0/2] memory: brcmstb_memc: Support for BCM74165 Florian Fainelli
2024-12-17 19:44 ` [PATCH 1/2] dt-bindings: memory-controller: Document rev c.1.5 compatible Florian Fainelli
2024-12-18 11:37 ` Krzysztof Kozlowski
2024-12-18 17:15 ` Florian Fainelli [this message]
2024-12-19 8:58 ` Krzysztof Kozlowski
2024-12-19 23:43 ` Florian Fainelli
2024-12-21 20:04 ` Krzysztof Kozlowski
2024-12-26 18:50 ` Florian Fainelli
2024-12-27 6:58 ` Krzysztof Kozlowski
2025-01-13 17:33 ` Florian Fainelli
2024-12-17 19:44 ` [PATCH 2/2] memory: brcmstb_memc: Match rev c.1.5 compatible string Florian Fainelli
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=93a1333d-442f-4cec-b823-9b1a5ff6dc6b@broadcom.com \
--to=florian.fainelli@broadcom.com \
--cc=bcm-kernel-feedback-list@broadcom.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk@kernel.org \
--cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).