From: Luca Weiss <luca@z3ntu.xyz>
To: ~postmarketos/upstreaming@lists.sr.ht,
phone-devel@vger.kernel.org, Andy Gross <agross@kernel.org>,
Bjorn Andersson <andersson@kernel.org>,
Rob Clark <robdclark@gmail.com>,
Brian Masney <masneyb@onstation.org>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
Konrad Dybcio <konrad.dybcio@linaro.org>
Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org,
devicetree@vger.kernel.org
Subject: Re: [PATCH 4/6] dt-bindings: sram: qcom,ocmem: Add msm8226 support
Date: Tue, 09 May 2023 18:44:49 +0200 [thread overview]
Message-ID: <2449951.tdWV9SEqCh@z3ntu.xyz> (raw)
In-Reply-To: <29d1d210-8752-56b4-34be-8b078c639d36@linaro.org>
On Montag, 8. Mai 2023 09:39:22 CEST Konrad Dybcio wrote:
> On 7.05.2023 11:12, Luca Weiss wrote:
> > Add the compatible for the OCMEM found on msm8226 which compared to
> > msm8974 only has a core clock and no iface clock.
> >
> > Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
> > ---
> >
> > Documentation/devicetree/bindings/sram/qcom,ocmem.yaml | 6 +++++-
> > 1 file changed, 5 insertions(+), 1 deletion(-)
> >
> > diff --git a/Documentation/devicetree/bindings/sram/qcom,ocmem.yaml
> > b/Documentation/devicetree/bindings/sram/qcom,ocmem.yaml index
> > 4bbf6db0b6bd..515f0d8ec641 100644
> > --- a/Documentation/devicetree/bindings/sram/qcom,ocmem.yaml
> > +++ b/Documentation/devicetree/bindings/sram/qcom,ocmem.yaml
> > @@ -15,7 +15,9 @@ description: |
> >
> > properties:
> > compatible:
> > - const: qcom,msm8974-ocmem
> > + enum:
> > + - qcom,msm8226-ocmem
> > + - qcom,msm8974-ocmem
>
> Any chance you could read the revision field on both and add comments
> like:
>
> - qcom,msm8974-ocmem # vX.Y
Do you mean the OCMEM_REG_HW_VERSION register? It's currently not read in the
driver so no idea what the value is - without adding some code.
>
> > reg:
> > items:
> > @@ -28,11 +30,13 @@ properties:
> > - const: mem
> >
> > clocks:
> > + minItems: 1
> >
> > items:
> > - description: Core clock
> > - description: Interface clock
>
> allOf: if: properties: compatible: 8974 / then: clock(s|-names): minItems: 2
Sure, can update
>
> Konrad
>
> > clock-names:
> > + minItems: 1
> >
> > items:
> > - const: core
> > - const: iface
next prev parent reply other threads:[~2023-05-09 16:45 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-07 9:12 [PATCH 0/6] Add MSM8226 OCMEM support plus some extra OCMEM driver fixes Luca Weiss
2023-05-07 9:12 ` [PATCH 1/6] soc: qcom: ocmem: Fix NUM_PORTS & NUM_MACROS macros Luca Weiss
2023-05-08 7:26 ` Konrad Dybcio
2023-05-09 22:31 ` Caleb Connolly
2023-05-07 9:12 ` [PATCH 2/6] soc: qcom: ocmem: Use dev_err_probe where appropriate Luca Weiss
2023-05-08 7:27 ` Konrad Dybcio
2023-05-09 22:32 ` Caleb Connolly
2023-05-07 9:12 ` [PATCH 3/6] soc: qcom: ocmem: make iface clock optional Luca Weiss
2023-05-08 7:37 ` Konrad Dybcio
2023-05-08 11:34 ` Dmitry Baryshkov
2023-05-09 16:47 ` Luca Weiss
2023-05-09 17:08 ` Dmitry Baryshkov
2023-05-09 21:41 ` Luca Weiss
2023-05-09 22:32 ` Konrad Dybcio
2023-05-07 9:12 ` [PATCH 4/6] dt-bindings: sram: qcom,ocmem: Add msm8226 support Luca Weiss
2023-05-08 7:39 ` Konrad Dybcio
2023-05-09 16:44 ` Luca Weiss [this message]
2023-05-09 20:00 ` Konrad Dybcio
2023-05-09 21:10 ` Luca Weiss
2023-05-07 9:12 ` [PATCH 5/6] soc: qcom: ocmem: Add support for msm8226 Luca Weiss
2023-05-08 7:42 ` Konrad Dybcio
2023-05-07 9:12 ` [PATCH 6/6] ARM: dts: qcom: msm8226: Add ocmem Luca Weiss
2023-05-16 1:17 ` Konrad Dybcio
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=2449951.tdWV9SEqCh@z3ntu.xyz \
--to=luca@z3ntu.xyz \
--cc=agross@kernel.org \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=konrad.dybcio@linaro.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=masneyb@onstation.org \
--cc=phone-devel@vger.kernel.org \
--cc=robdclark@gmail.com \
--cc=robh+dt@kernel.org \
--cc=~postmarketos/upstreaming@lists.sr.ht \
/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).