From patchwork Tue Dec 1 15:37:05 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 335136 Delivered-To: patch@linaro.org Received: by 2002:a92:5e16:0:0:0:0:0 with SMTP id s22csp212723ilb; Tue, 1 Dec 2020 07:40:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJyErP19nx2QjCjwMmpaCjAEYjzMisOgb/QpGeah/9JisNZLa5BbRvSu1o9tRhh9ONGruvux X-Received: by 2002:a17:906:1412:: with SMTP id p18mr3710316ejc.480.1606837201625; Tue, 01 Dec 2020 07:40:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606837201; cv=none; d=google.com; s=arc-20160816; b=PEN7h8UAl+Pj0pdKzwI0COxxePcH6f7H8esr8k8pd76B2DvM3dmED7BuZOBf/saP/s 7SOJWkajXueSjzs4YfBd4uR9HwzfDgH7VWxnlnhtZ9GLQ+3lUsajBWO4rzqEMT0J9jeh J1b1fTODXjPH8faMT0rIjJUxN1Qpb0tLtrH6yagnqe48EX3AuKnk5Tnpf++SHryKm3fE Jcl/nldtsBQp1l4Imw84OXvDoIXTtyyWLkoSNWSM5aSPjBzaBmO7qR5e0UZtWTLShZ8Q Hkeg1rePiJOs3OITGn/SqIapMcXAg70M1UJdM//Xpto3qFawG5helEW1yCIr2MJpiHVW sMiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=6vXiT5FpPdzP+F5sPQwMF6j9EVgTdZPYADmNV8Tr/zQ=; b=bTK+hqFQiM+/FiFu5MAKcaLHSAUaPG85Ph5vnV/8hIVd5i4QZ3CxR4lVc04bhKCkWY lR0aa+euld2BfgKAEXrUFKeIz/+bY5tQWigz4ZWzozhg0W1uMM0uB6ow/pLakNajnoIH 8gaidi0MPr1NRr7xMQZNkDbb03Mgjjfx5/bMXZ3xfNvhTyove9HtrSy23yUZNjXD3u3z JYEmRCE7yGU85Ml1z7iklj8f49Y5WSm+6MRTQO3QmVLc12s6aKAWgSFTwHh91M43Roib 55GhLFcq0rVnx3Rm6KFOoR3fv2ljbdBTDzzf2iO379/pMA4oA4QYaaqzNE/q2t8USNIh JGYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TbVdQfZd; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l9si104532edi.199.2020.12.01.07.40.01; Tue, 01 Dec 2020 07:40:01 -0800 (PST) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TbVdQfZd; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391901AbgLAPiw (ORCPT + 6 others); Tue, 1 Dec 2020 10:38:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391840AbgLAPiv (ORCPT ); Tue, 1 Dec 2020 10:38:51 -0500 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 611BBC061A51 for ; Tue, 1 Dec 2020 07:37:29 -0800 (PST) Received: by mail-wr1-x443.google.com with SMTP id s8so3258036wrw.10 for ; Tue, 01 Dec 2020 07:37:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=6vXiT5FpPdzP+F5sPQwMF6j9EVgTdZPYADmNV8Tr/zQ=; b=TbVdQfZdGXdVxc/qIYtd7/2RnLmbhk9iHaPbVGxFpQrpBDSS/iC/zhk0Mpty5j2yvd MMejl3MDG9f106+i9JnkxzHN38reC3FB6VXryJ2wlyRDzUO5GjqtVJoFLuXNu34ISPU0 ViPvsutDNP180YEf8K195Sb1Pjbz1nCCKGjKEvwru2GmOyhrOy03li0QpF2cVn6J8GwV orv5Gme+c3L862r4n05I0S/iTEwgG7tTdurW4841H4DihC3tch67vtZH/t1QQuuXmy8r jRM7Ac0fTReQi/OmH/sTr01B1qkhCwjQU9fDW3/nlIYyA74wSEQCej/TTYryuPdEGMPH AqDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=6vXiT5FpPdzP+F5sPQwMF6j9EVgTdZPYADmNV8Tr/zQ=; b=s2XjDUK51gyMaXTn3n1Rd6fUqTtJhybcARUlwAmBbZV0AGxfMNd8nq9cuyU3CarAlM ERj/XbTDZjpsxexjEvxFDOJuXmtQxdYIdxc4dim2rQfcJPLDP5fq6glVcefFLaeeoBub 9fQV25I3tKnE9s77bv7U8+HWU05un0rMIcxFqqkUgqZwy7DbU47nv/3uEAbZRYYjpY/k fADUzWdfbceTCZbYZprMqAewQvic8e6I/9hPFakVc35QhphaID/s0zwnhIpJuLGe3iPW FY0ktfKH7q0nDp9HxBFQaajL4N4QZigFdJpwLCr/Vy3pHXs8Kv7Vdj0O3l4v/F/kEDg5 YG4A== X-Gm-Message-State: AOAM532Nit5Fz/zGX+/OWbM56g7GGUjKp/4RyuJpqfG5ts7ik5iVZMz9 NBQfHjfNIKewKIIfZgyu1RFNNQ== X-Received: by 2002:a5d:4dd0:: with SMTP id f16mr4445405wru.8.1606837048122; Tue, 01 Dec 2020 07:37:28 -0800 (PST) Received: from srini-hackbox.lan (cpc86377-aztw32-2-0-cust226.18-1.cable.virginm.net. [92.233.226.227]) by smtp.gmail.com with ESMTPSA id y7sm302171wmb.37.2020.12.01.07.37.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Dec 2020 07:37:27 -0800 (PST) From: Srinivas Kandagatla To: bjorn.andersson@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, Srinivas Kandagatla Subject: [PATCH 5/6] arm64: dts: qcom: sm8250: add mi2s pinconfs Date: Tue, 1 Dec 2020 15:37:05 +0000 Message-Id: <20201201153706.13450-6-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20201201153706.13450-1-srinivas.kandagatla@linaro.org> References: <20201201153706.13450-1-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add primary and tertinary mi2s pinconfs required to get I2S audio. Signed-off-by: Srinivas Kandagatla --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 98 ++++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) -- 2.21.0 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 { + pins = "gpio138"; + function = "mi2s0_sck"; + }; + + config { + pins = "gpio138"; + drive-strength = <8>; + bias-disable; + output-high; + }; + }; + + 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 {