From: Bjorn Andersson <bjorn.andersson@linaro.org>
To: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Cc: linux-arm-msm@vger.kernel.org, agross@kernel.org,
robh+dt@kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 5/6] arm64: dts: qcom: sm8250: add mi2s pinconfs
Date: Tue, 1 Dec 2020 13:19:22 -0600 [thread overview]
Message-ID: <X8aXOp/E226yyufx@builder.lan> (raw)
In-Reply-To: <20201201153706.13450-6-srinivas.kandagatla@linaro.org>
On Tue 01 Dec 09:37 CST 2020, Srinivas Kandagatla wrote:
> Add primary and tertinary mi2s pinconfs required to get I2S audio.
>
> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
> ---
> arch/arm64/boot/dts/qcom/sm8250.dtsi | 98 ++++++++++++++++++++++++++++
> 1 file changed, 98 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi
> index 19dd7460e586..a87940e157be 100644
> --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi
> @@ -1561,6 +1561,9 @@
> };
> };
>
> + sound: sound {
> + };
> +
> usb_1_hsphy: phy@88e3000 {
> compatible = "qcom,sm8250-usb-hs-phy",
> "qcom,usb-snps-hs-7nm-phy";
> @@ -1884,6 +1887,60 @@
> gpio-ranges = <&tlmm 0 0 180>;
> wakeup-parent = <&pdc>;
>
> + pri_mi2s_sck_active: pri-mi2s-sck-active {
> + mux {
As in patch 3, please make these state-centric and flatten the inner
subnode.
> + pins = "gpio138";
> + function = "mi2s0_sck";
> + };
> +
> + config {
> + pins = "gpio138";
> + drive-strength = <8>;
> + bias-disable;
> + output-high;
If function is mi2s0_sck is the output value relevant? Or should this
be dropped?
Regards,
Bjorn
> + };
> + };
> +
> + pri_mi2s_ws_active: pri-mi2s-ws-active {
> + mux {
> + pins = "gpio141";
> + function = "mi2s0_ws";
> + };
> +
> + config {
> + pins = "gpio141";
> + drive-strength = <8>;
> + output-high;
> + };
> + };
> +
> + pri_mi2s_sd0_active: pri-mi2s-sd0-active {
> + mux {
> + pins = "gpio139";
> + function = "mi2s0_data0";
> + };
> +
> + config {
> + pins = "gpio139";
> + drive-strength = <8>;
> + bias-disable;
> + output-high;
> + };
> + };
> +
> + pri_mi2s_sd1_active: pri-mi2s-sd1-active {
> + mux {
> + pins = "gpio140";
> + function = "mi2s0_data1";
> + };
> +
> + config {
> + pins = "gpio140";
> + drive-strength = <8>;
> + output-high;
> + };
> + };
> +
> qup_i2c0_default: qup-i2c0-default {
> mux {
> pins = "gpio28", "gpio29";
> @@ -2480,6 +2537,47 @@
> function = "qup18";
> };
> };
> +
> + tert_mi2s_sck_active: tert-mi2s-sck-active {
> + mux {
> + pins = "gpio133";
> + function = "mi2s2_sck";
> + };
> +
> + config {
> + pins = "gpio133";
> + drive-strength = <8>;
> + bias-disable;
> + output-high;
> + };
> + };
> +
> + tert_mi2s_sd0_active: tert-mi2s-sd0-active {
> + mux {
> + pins = "gpio134";
> + function = "mi2s2_data0";
> + };
> +
> + config {
> + pins = "gpio134";
> + drive-strength = <8>;
> + bias-disable;
> + output-high;
> + };
> + };
> +
> + tert_mi2s_ws_active: tert-mi2s-ws-active {
> + mux {
> + pins = "gpio135";
> + function = "mi2s2_ws";
> + };
> +
> + config {
> + pins = "gpio135";
> + drive-strength = <8>;
> + output-high;
> + };
> + };
> };
>
> apps_smmu: iommu@15000000 {
> --
> 2.21.0
>
next prev parent reply other threads:[~2020-12-01 19:20 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-01 15:37 [PATCH 0/6] arm64: dts: qcom: qrb5165-rb5 audio support Srinivas Kandagatla
2020-12-01 15:37 ` [PATCH 1/6] arm64: dts: qcom: sm8250: add apr and its services Srinivas Kandagatla
2020-12-01 19:25 ` Bjorn Andersson
2020-12-02 15:47 ` Srinivas Kandagatla
2020-12-01 15:37 ` [PATCH 2/6] arm64: dts: qcom: sm8250: add audio clock controllers Srinivas Kandagatla
2020-12-01 15:37 ` [PATCH 3/6] arm64: dts: qcom: sm8250: add lpass lpi pin controller node Srinivas Kandagatla
2020-12-01 19:14 ` Bjorn Andersson
2020-12-01 15:37 ` [PATCH 4/6] arm64: dts: qcom: sm8250: add wsa and va codec macros Srinivas Kandagatla
2020-12-01 15:37 ` [PATCH 5/6] arm64: dts: qcom: sm8250: add mi2s pinconfs Srinivas Kandagatla
2020-12-01 19:19 ` Bjorn Andersson [this message]
2020-12-01 15:37 ` [PATCH 6/6] arm64: dts: qcom: qrb5165-rb5: Add Audio support Srinivas Kandagatla
2020-12-01 19:23 ` Bjorn Andersson
2020-12-01 19:55 ` [PATCH 0/6] arm64: dts: qcom: qrb5165-rb5 audio support 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=X8aXOp/E226yyufx@builder.lan \
--to=bjorn.andersson@linaro.org \
--cc=agross@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh+dt@kernel.org \
--cc=srinivas.kandagatla@linaro.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).