From: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
To: Danila Tikhonov <danila@jiaxyga.com>,
andersson@kernel.org, konrad.dybcio@linaro.org,
lgirdwood@gmail.com, broonie@kernel.org, robh@kernel.org,
krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org,
gregkh@linuxfoundation.org, quic_wcheng@quicinc.com
Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org,
devicetree@vger.kernel.org, linux-usb@vger.kernel.org
Subject: Re: [PATCH 3/3] arm64: dts: qcom: pm6150: define USB-C related blocks
Date: Sat, 17 Feb 2024 23:19:21 +0000 [thread overview]
Message-ID: <6bf11ccd-ff08-369b-913f-277c189afb76@linaro.org> (raw)
In-Reply-To: <20240217163201.32989-4-danila@jiaxyga.com>
On 17/02/2024 16:32, Danila Tikhonov wrote:
> Define VBUS regulator and the Type-C handling block as present on the
> Quacomm PM6150 PMIC.
>
> Signed-off-by: Danila Tikhonov <danila@jiaxyga.com>
> + pm6150_typec: typec@1500 {
> + compatible = "qcom,pm6150-typec,
> + qcom,pm8150b-typec";
> + reg = <0x1500>, <0x1700>;
> + interrupts = <0x0 0x15 0x00 IRQ_TYPE_EDGE_RISING>,
> + <0x0 0x15 0x01 IRQ_TYPE_EDGE_RISING>,
> + <0x0 0x15 0x02 IRQ_TYPE_EDGE_RISING>,
> + <0x0 0x15 0x03 IRQ_TYPE_EDGE_RISING>,
> + <0x0 0x15 0x04 IRQ_TYPE_EDGE_RISING>,
> + <0x0 0x15 0x05 IRQ_TYPE_EDGE_RISING>,
> + <0x0 0x15 0x06 IRQ_TYPE_EDGE_RISING>,
> + <0x0 0x15 0x07 IRQ_TYPE_EDGE_RISING>,
> + <0x0 0x17 0x00 IRQ_TYPE_EDGE_RISING>,
> + <0x0 0x17 0x01 IRQ_TYPE_EDGE_RISING>,
> + <0x0 0x17 0x02 IRQ_TYPE_EDGE_RISING>,
> + <0x0 0x17 0x03 IRQ_TYPE_EDGE_RISING>,
> + <0x0 0x17 0x04 IRQ_TYPE_EDGE_RISING>,
> + <0x0 0x17 0x05 IRQ_TYPE_EDGE_RISING>,
> + <0x0 0x17 0x06 IRQ_TYPE_EDGE_RISING>,
> + <0x0 0x17 0x07 IRQ_TYPE_EDGE_RISING>;
> + interrupt-names = "or-rid-detect-change",
> + "vpd-detect",
> + "cc-state-change",
> + "vconn-oc",
> + "vbus-change",
> + "attach-detach",
> + "legacy-cable-detect",
> + "try-snk-src-detect",
> + "sig-tx",
> + "sig-rx",
> + "msg-tx",
> + "msg-rx",
> + "msg-tx-failed",
> + "msg-tx-discarded",
> + "msg-rx-discarded",
> + "fr-swap";
> + status = "disabled";
> + };
Should all of these be rising ? Looks incorrect to me.
Please review: arch/arm64/boot/dts/qcom/pm8150b.dtsi
pm8150b_typec: typec@1500 {
compatible = "qcom,pm8150b-typec";
status = "disabled";
reg = <0x1500>,
<0x1700>;
interrupts = <0x2 0x15 0x00 IRQ_TYPE_EDGE_RISING>,
<0x2 0x15 0x01 IRQ_TYPE_EDGE_BOTH>,
<0x2 0x15 0x02 IRQ_TYPE_EDGE_RISING>,
<0x2 0x15 0x03 IRQ_TYPE_EDGE_BOTH>,
<0x2 0x15 0x04 IRQ_TYPE_EDGE_RISING>,
<0x2 0x15 0x05 IRQ_TYPE_EDGE_RISING>,
<0x2 0x15 0x06 IRQ_TYPE_EDGE_BOTH>,
<0x2 0x15 0x07 IRQ_TYPE_EDGE_RISING>,
<0x2 0x17 0x00 IRQ_TYPE_EDGE_RISING>,
<0x2 0x17 0x01 IRQ_TYPE_EDGE_RISING>,
<0x2 0x17 0x02 IRQ_TYPE_EDGE_RISING>,
<0x2 0x17 0x03 IRQ_TYPE_EDGE_RISING>,
<0x2 0x17 0x04 IRQ_TYPE_EDGE_RISING>,
<0x2 0x17 0x05 IRQ_TYPE_EDGE_RISING>,
<0x2 0x17 0x06 IRQ_TYPE_EDGE_RISING>,
<0x2 0x17 0x07 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "or-rid-detect-change",
"vpd-detect",
"cc-state-change",
"vconn-oc",
"vbus-change",
"attach-detach",
"legacy-cable-detect",
"try-snk-src-detect",
"sig-tx",
"sig-rx",
"msg-tx",
"msg-rx",
"msg-tx-failed",
"msg-tx-discarded",
"msg-rx-discarded",
"fr-swap";
}
---
bod
next prev parent reply other threads:[~2024-02-17 23:19 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-17 16:31 [PATCH 0/3] arm64: dts: qcom: pm6150: Add typec support for PM6150 Danila Tikhonov
2024-02-17 16:31 ` [PATCH 1/3] dt-bindings: regulator: qcom,usb-vbus-regulator: Add PM6150 compatible Danila Tikhonov
2024-02-19 7:13 ` Krzysztof Kozlowski
2024-02-17 16:32 ` [PATCH 2/3] dt-bindings: usb: qcom,pmic-typec: Add support for the PM6150 PMIC Danila Tikhonov
2024-02-19 7:13 ` Krzysztof Kozlowski
2024-02-17 16:32 ` [PATCH 3/3] arm64: dts: qcom: pm6150: define USB-C related blocks Danila Tikhonov
2024-02-17 18:17 ` Dmitry Baryshkov
2024-02-17 23:19 ` Bryan O'Donoghue [this message]
2024-02-18 8:05 ` Danila Tikhonov
2024-02-18 17:14 ` Bryan O'Donoghue
2024-02-18 18:52 ` Danila Tikhonov
2024-02-18 19:10 ` Bryan O'Donoghue
2024-02-18 22:07 ` Dmitry Baryshkov
2024-02-19 16:23 ` (subset) [PATCH 0/3] arm64: dts: qcom: pm6150: Add typec support for PM6150 Mark Brown
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=6bf11ccd-ff08-369b-913f-277c189afb76@linaro.org \
--to=bryan.odonoghue@linaro.org \
--cc=andersson@kernel.org \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=danila@jiaxyga.com \
--cc=devicetree@vger.kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=konrad.dybcio@linaro.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=lgirdwood@gmail.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=quic_wcheng@quicinc.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
all inboxes | Powered by JetHome®