Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp3170779pxm; Mon, 28 Feb 2022 13:38:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJxxtI8MK/8PBiObDKGt8pUTm3rIHlWrY3RxVoXPvXa47vsiGAQWxMl8SocL095bH0prd+ZW X-Received: by 2002:a17:906:4688:b0:6d6:e103:5e36 with SMTP id a8-20020a170906468800b006d6e1035e36mr1302249ejr.407.1646084337628; Mon, 28 Feb 2022 13:38:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646084337; cv=none; d=google.com; s=arc-20160816; b=aIjQkap9yL0dx5lpeBCnLO1kwpwNKbdKv1B3XaHIVyjW0GgQA0Wco1fHtGQFoolT1D m8lIjtkYD4lXeNPBcFLv1aeJPMpwy4paAzZgi6T8WW/6OAadfPMr5uNF8tez6A4TLVqB E8P0oBlaQ9SdQkG8d3LqhJM7c+7MiAltHJL+EGKHbVuWKJ7mhKYorNyWE66nuXQS4wEt R2mifOeKX6wOGyJoW+nTCbibJGLFXBaAbR5c/V6WaITDxOg+G1jmwi33W/jHfPlTzkDi twFoa9aP1YKT5LslFaIeXo9HkLUbzGQUQwZvLLlpTX3QoT2oKhXe5ipzmNwNJEmZVdz7 bO6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:user-agent:from :references:in-reply-to:mime-version:dkim-signature; bh=yoMaPQlGCjM+YLX6u6KhQHtsFrVgaY8RNTrWata7rj0=; b=qND4qniCVZMBLlU/7KDCnh3JpOvaC6gfkr1lMRtFU+nEuQlMFU7H1mtLKleUdpXO+1 v8rrKB6OwQDjPAwr9EG6JlfLkqrr3uzFiPbqo7YbKuHoMBqhTrH/G2ZWJ8CkA/FbSO3j d9G4dbN21sTy4CnpBa9Zw1ZW74P42lLHvbPSF3+Xa5eYPEUEpGikRY+Dh077l4a3vvCu ZX5g+houdztBEr9qrAWiIvjw3fTtxP0/fQzTyiTTqBBko+k8xrblkfTkaYe1UwC49VxO 7TFdmVm/GNrqcQs6/36gTL3DtiGOIAW2Vzd6q0207TTS2QskmoII0EKJvvcAipLzn9W8 1qmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=lIICTqxS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d22-20020a056402001600b00412df126c92si7199199edu.628.2022.02.28.13.38.34; Mon, 28 Feb 2022 13:38:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=lIICTqxS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230288AbiB1Vbv (ORCPT + 99 others); Mon, 28 Feb 2022 16:31:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60318 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230271AbiB1Vbs (ORCPT ); Mon, 28 Feb 2022 16:31:48 -0500 Received: from mail-oo1-xc2b.google.com (mail-oo1-xc2b.google.com [IPv6:2607:f8b0:4864:20::c2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 559B212F421 for ; Mon, 28 Feb 2022 13:31:04 -0800 (PST) Received: by mail-oo1-xc2b.google.com with SMTP id w3-20020a4ac183000000b0031d806bbd7eso4629164oop.13 for ; Mon, 28 Feb 2022 13:31:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:in-reply-to:references:from:user-agent:date:message-id :subject:to:cc; bh=yoMaPQlGCjM+YLX6u6KhQHtsFrVgaY8RNTrWata7rj0=; b=lIICTqxS+i1aJeOxZya5N4FwXquttaDbv2c22E7BuvQgmYMFTPNwjwK0w1bYil2G/h yIva1K2ajQIVtrtWkFfRTAgWsUxFfcwUOTWykmOIG5ZgYjvgvzcaM+Laibf8WoAuXf1c 0PGIs/a/CZz3XmCFYKThoUdM7s6Ko8G+V7+2w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:in-reply-to:references:from :user-agent:date:message-id:subject:to:cc; bh=yoMaPQlGCjM+YLX6u6KhQHtsFrVgaY8RNTrWata7rj0=; b=vlu8FrPL0MMhk2ChKpFyHXbSUgSD4L/v46zdWS3w7VQ5h3creg+u35av+tAherrVkl 7NMdyqDRbXKE7fOEQ5ZgLt8PZmufUrbYBm/K7MtjOuZZAmIM0mZeg/+r6ljY+/vrt6Cn oeY4jUk16sKuZ1vgRcA5SyVi7+ZjQcvS0sOb2JHSs1NHYGB56JV+cEEQMWj77gHG2W87 KxIHWtnHkDLDs8PB3OvGIrAo/igbNkEljNBTwhZ9qGmi2Pdmw6wdM9EO/Rh2x6cZD6SQ ffd4qxc72LUUrs/4os99iRRQzmA7N/tUi7t/N9zH0zL9ZC5z0UgWk1I0fYs926u8VHc5 MGGA== X-Gm-Message-State: AOAM532ZGdxSglNbw6BEIVcbR9h2qKOpkl41gTdLESY2KwJ3v+0y5yHj n2mx8Zt8Rqf93vMJlj7H6qvjfMcFSXL7OSPm7scnFw== X-Received: by 2002:a05:6870:3c18:b0:d7:22ed:20b0 with SMTP id gk24-20020a0568703c1800b000d722ed20b0mr3916758oab.32.1646083863673; Mon, 28 Feb 2022 13:31:03 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 28 Feb 2022 13:31:03 -0800 MIME-Version: 1.0 In-Reply-To: <1643887981-31011-3-git-send-email-quic_srivasam@quicinc.com> References: <1643887981-31011-1-git-send-email-quic_srivasam@quicinc.com> <1643887981-31011-3-git-send-email-quic_srivasam@quicinc.com> From: Stephen Boyd User-Agent: alot/0.10 Date: Mon, 28 Feb 2022 13:31:03 -0800 Message-ID: Subject: Re: [PATCH v3 2/3] arm64: dts: qcom: sc7280: Add lpass cpu node To: Srinivasa Rao Mandadapu , agross@kernel.org, bjorn.andersson@linaro.org, devicetree@vger.kernel.org, dianders@chromium.org, judyhsiao@chromium.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, robh+dt@kernel.org, rohitkr@codeaurora.org, srinivas.kandagatla@linaro.org Cc: Venkata Prasad Potturu Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Srinivasa Rao Mandadapu (2022-02-03 03:33:00) > Add lpass cpu node for audio on sc7280 based platforms. > > Signed-off-by: Srinivasa Rao Mandadapu > Co-developed-by: Venkata Prasad Potturu > Signed-off-by: Venkata Prasad Potturu > --- > arch/arm64/boot/dts/qcom/sc7280-idp.dtsi | 28 +++++++++++++++ > arch/arm64/boot/dts/qcom/sc7280.dtsi | 59 ++++++++++++++++++++++++++++++++ > 2 files changed, 87 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi b/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi > index 2806888..a76b2d1 100644 > --- a/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi > +++ b/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi > @@ -691,3 +691,31 @@ > &vamacro { > vdd-micb-supply = <&vreg_bob>; > }; > + > +&lpass_cpu { > + status = "okay"; > + > + pinctrl-names = "default"; > + pinctrl-0 = <&sec_mi2s_active>; Is it a reset gpio? If so, make it a reset-gpios property. I couldn't find the definition. > + > + mi2s-secondary@1 { > + reg = ; > + qcom,playback-sd-lines = <0>; > + }; > + > + hdmi-primary@5 { > + reg = ; > + }; > + > + wcd-rx@6 { > + reg = ; > + }; > + > + wcd-tx@19 { > + reg = ; > + }; > + > + va-tx@25 { > + reg = ; > + }; > +}; > diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi > index 946eb01..c2da5ce 100644 > --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi > +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi > @@ -17,6 +17,7 @@ > #include > #include > #include > +#include > #include > > / { > @@ -1847,6 +1848,64 @@ > #size-cells = <0>; > }; > > + lpass_cpu: audio-subsystem@3260000 { > + compatible = "qcom,sc7280-lpass-cpu"; > + reg = <0 0x3260000 0 0xC000>, > + <0 0x3280000 0 0x29000>, > + <0 0x3340000 0 0x29000>, > + <0 0x336C000 0 0x3000>, > + <0 0x3987000 0 0x68000>, > + <0 0x3B00000 0 0x29000>; Lowercase hex. Pad out reg to 8 digits. > + reg-names = "lpass-rxtx-cdc-dma-lpm", > + "lpass-rxtx-lpaif", > + "lpass-va-lpaif", > + "lpass-va-cdc-dma-lpm", > + "lpass-hdmiif", > + "lpass-lpaif"; That 'lpass' prefix looks very redundant. > + > + iommus = <&apps_smmu 0x1820 0>, > + <&apps_smmu 0x1821 0>, > + <&apps_smmu 0x1832 0>;