From: Umang Chheda <umang.chheda@oss.qualcomm.com>
To: Bjorn Andersson <andersson@kernel.org>
Cc: konradybcio@kernel.org, robh@kernel.org, krzk+dt@kernel.org,
conor+dt@kernel.org, richardcochran@gmail.com,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, mohd.anwar@oss.qualcomm.com,
krishna.chundru@oss.qualcomm.com,
monish.chunara@oss.qualcomm.com
Subject: Re: [PATCH 1/1] arm64: dts: qcom: monaco-evk: Add Mezzanine
Date: Fri, 20 Feb 2026 12:37:55 +0530 [thread overview]
Message-ID: <52c46cfb-891d-49db-8d84-b8994bc9ed9d@oss.qualcomm.com> (raw)
In-Reply-To: <xdnbcpwm6cibkmy3dzyzmllqaax5rihbdevdbi6nl37orblcgi@glmdzirllpst>
On 2/18/2026 2:26 AM, Bjorn Andersson wrote:
> On Mon, Feb 16, 2026 at 01:44:40PM +0530, Umang Chheda wrote:
>> Hello Bjorn,
>>
>> On 2/13/2026 1:33 AM, Bjorn Andersson wrote:
>>> On Tue, Feb 10, 2026 at 04:08:21PM +0530, Umang Chheda wrote:
>>>> diff --git a/arch/arm64/boot/dts/qcom/monaco-evk-mezzanine.dtso b/arch/arm64/boot/dts/qcom/monaco-evk-mezzanine.dtso
>>> [..]
>>>> +&i2c15 {
>>>> + #address-cells = <1>;
>>>> + #size-cells = <0>;
>>> Do we need to repeat this? It's in the top-level i2c15 definition
>>> already?
>> Yes this is required to be repeated in case of DTSO -- else seeing DT
>> binding error if these cells are not added here. Seems the compiler is
>> not looking at what is present in the Base DT first and is considering
>> the default values for address and size cells and throwing error. Had
>> to add similarly add for PCIe node as well to suppress binding errors.
>>
> Understood, no concerns then. Thanks for helping me understand.
>
>>>> +
>>>> + status = "okay";
>>> I presume this overlay is used on top of monaco-evk.dtb, which already
>>> says that status is okay.
>> Ack
>>
>>>
>>> That said, I don't see a "clock-frequency" in either node, so I presume
>>> you have an error/warning in your kernel log about this. But unless you
>>> have reason to change that in your overlay, I think that's a unrelated
>>> patch on the monaco-evk.dts - which I would like you to send, separately.
>>
>> Ack, will share a separate patch to fix this issue.
>>
>>>> +
>>>> + eeprom1: eeprom@52 {
>>>> + compatible = "giantec,gt24c256c", "atmel,24c256";
>>>> + reg = <0x52>;
>>>> + pagesize = <64>;
>>>> +
>>>> + nvmem-layout {
>>>> + compatible = "fixed-layout";
>>>> + #address-cells = <1>;
>>>> + #size-cells = <1>;
>>>> + };
>>>> + };
>>>> +};
>>>> +
>>> [..]
>>>> +&tlmm {
>>>> + tc9563_resx_n: tc9563-resx-state {
>>>> + pins = "gpio124";
>>>> + function = "gpio";
>>>> +
>>>> + bias-disable;
>>>> + input-disable;
>>>> + output-enable;
>>>> + power-source = <0>;
>>> Does these properties really match the TLMM binding? Please double
>>> check.
>> Double checked on this -- all the properties match the TLMM bindings.
>>
> I do believe the logic is binary, so input-disable == output-enable (in
> contrast to the SPMI gpio binding, where those two are configured
> separately). It's not listed among the valid properties for a
> qcom-tlmm-state object, but perhaps I'm misremembering how the
> dt-validator uses those properties
Apologize for the earlier comment, I agree it applies for the SPMI GPIO.
I will remove input-disable and output-enable properties and add
output-high which aligns with the bindings.
>
> But there's no "power-source" for TLMM, you should see an "Unsupported
> config parameter" in the kernel log when you try to apply this setting.
Ack, This property is valid only for the SPMI GPIO and not for the TLMM GPIO.
will remove this property.
>
> Regards,
> Bjorn
>
>>> Regards,
>>> Bjorn
>>>
>>>> + };
>>>> +};
>>>> --
>>>> 2.34.1
>>
>> Thanks,
>> Umang
Thanks,
Umang
next prev parent reply other threads:[~2026-02-20 7:08 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-10 10:38 [PATCH 0/1] Introduce Monaco EVK Peripheral Mezzanine Umang Chheda
2026-02-10 10:38 ` [PATCH 1/1] arm64: dts: qcom: monaco-evk: Add Mezzanine Umang Chheda
2026-02-10 12:30 ` Dmitry Baryshkov
2026-02-12 13:40 ` Konrad Dybcio
2026-02-12 15:50 ` Umang Chheda
2026-02-12 16:29 ` Konrad Dybcio
2026-02-16 8:04 ` Umang Chheda
2026-02-16 11:14 ` Konrad Dybcio
2026-02-17 6:43 ` Umang Chheda
2026-02-17 9:40 ` Konrad Dybcio
2026-02-17 14:52 ` Umang Chheda
2026-02-12 20:03 ` Bjorn Andersson
2026-02-16 8:14 ` Umang Chheda
2026-02-17 20:56 ` Bjorn Andersson
2026-02-20 7:07 ` Umang Chheda [this message]
2026-02-10 12:29 ` [PATCH 0/1] Introduce Monaco EVK Peripheral Mezzanine Dmitry Baryshkov
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=52c46cfb-891d-49db-8d84-b8994bc9ed9d@oss.qualcomm.com \
--to=umang.chheda@oss.qualcomm.com \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=konradybcio@kernel.org \
--cc=krishna.chundru@oss.qualcomm.com \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mohd.anwar@oss.qualcomm.com \
--cc=monish.chunara@oss.qualcomm.com \
--cc=richardcochran@gmail.com \
--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