Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp631829iog; Mon, 13 Jun 2022 09:31:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyUMlA2LzsMTYfltVclTZJ4RUkAzLkFCEATZvrxSnIG/Wl/1vQzwijSe6ZydB+PnZd6D5Af X-Received: by 2002:a17:906:535e:b0:712:ac3a:f0b0 with SMTP id j30-20020a170906535e00b00712ac3af0b0mr595702ejo.316.1655137867773; Mon, 13 Jun 2022 09:31:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655137867; cv=none; d=google.com; s=arc-20160816; b=FpBk0GLqJaTy/JJJtm6Y2w42hw2Mspirwz/mYtoZiFKJkWRst1FnCpxW+M9a5uB4Bo to+F2yLZpGCSZ+cq5Ojp9Lrk8VIF56iyNfyL60JH9fIAC5lsY4Rf+AWCvnYh7QE0zWoM m9rkxTu4VbWHad5xyB7LzA7KgL6YJc9yIi3QoG4V9PL0IOf3nKI3mmW0D61f8l2XX6aP VTi6rfujGnjke1vRZ8VaCWr0jxJjrG21e2gNOVnamkjMoGWmvqeTGhfdhQ+Q5v2mBJcQ yERshPR6HFfFHn0WwbcoWbkKcyZ6IKh81LUJB0GfT/zgHWNtyiiYCmZwFMlZreIrhrUD GByg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=aCHcEVeIE6fw+AwZoNsZtOvyrpqrZZV9YMb3ufFhSHM=; b=kc9MjLn0RiNYvqD4i4b0N8DxtAw2JicLD36UQ3h8PwqHzDMKLqPyUeHgG/KI0NwtPt KcYpXWxwPw8br45XditapG1CQvjNWiWIyKplDsVM3iSD9+f5+tdnISyDycw1FuIjivNE bMZIalHxwKEvo6ABSgy9/Rv7B1A6einx3jzCcYzvFxoONOaBYwVJiUbNuICPkuVC1k0r gNo4bV/BsGSCyrmIjgUyJ11yXNKixWkBI4OcImUn7YZoF7EqDVX1odk4ICAViiMkYJRg 1oYbLy6/9JKmQzjYBTK3YrMYjhrd/4DYCalv17ssAJ7jGBBJ4BchkzJaXuDqpJboqraI 6XDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=ctiXMKP1; 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=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ht17-20020a170907609100b00711d5bc0024si8888464ejc.170.2022.06.13.09.30.42; Mon, 13 Jun 2022 09:31:07 -0700 (PDT) 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=@quicinc.com header.s=qcdkim header.b=ctiXMKP1; 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=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346164AbiFMKg6 (ORCPT + 99 others); Mon, 13 Jun 2022 06:36:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50418 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244757AbiFMKe5 (ORCPT ); Mon, 13 Jun 2022 06:34:57 -0400 Received: from alexa-out-sd-01.qualcomm.com (alexa-out-sd-01.qualcomm.com [199.106.114.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9FC99638B; Mon, 13 Jun 2022 03:22:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1655115754; x=1686651754; h=from:to:cc:subject:date:message-id:mime-version; bh=aCHcEVeIE6fw+AwZoNsZtOvyrpqrZZV9YMb3ufFhSHM=; b=ctiXMKP1Q8BcZzKvxHir7sVRhnepHVC2hrCPVPdv8RSivwj+Ed1YIa3c oGbtRDzee/zXIfZIH1BeCkQyI2T6rknUWuFyBfOfauiRC8ijVGrwTiwnh EhnuZ8XP2oFHYnZHq4uQGgSUE+Zi4roUYpgqwHNjYgo1WG2S4D0hEm288 8=; Received: from unknown (HELO ironmsg02-sd.qualcomm.com) ([10.53.140.142]) by alexa-out-sd-01.qualcomm.com with ESMTP; 13 Jun 2022 03:22:33 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg02-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Jun 2022 03:22:33 -0700 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Mon, 13 Jun 2022 03:22:32 -0700 Received: from hu-srivasam-hyd.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Mon, 13 Jun 2022 03:22:28 -0700 From: Srinivasa Rao Mandadapu To: , , , , , , , , , , CC: Srinivasa Rao Mandadapu Subject: [PATCH v13 00/12] Add soundcard support for sc7280 based platforms. Date: Mon, 13 Jun 2022 15:52:01 +0530 Message-ID: <1655115733-16309-1-git-send-email-quic_srivasam@quicinc.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 This patch set is to add bolero digital macros, WCD and maxim codecs nodes for audio on sc7280 based platforms. This patch set depends on: [LPASS DTS: pinmux changes] -- https://patchwork.kernel.org/project/linux-arm-msm/list/?series=649733 [LPASS DTS: l17b LDO regulator changes] -- https://patchwork.kernel.org/project/linux-arm-msm/list/?series=634597 [LPASS Platform Driver: External MCLK name dtbinding changes] -- https://patchwork.kernel.org/project/alsa-devel/list/?series=646859 [Clock DTS: reset control changes] -- https://patchwork.kernel.org/project/linux-arm-msm/list/?series=638002 [Clock: External MCLK and reset control driver changes] -- https://patchwork.kernel.org/project/linux-clk/list/?series=647366 [Clock DTS: lpasscc node disable and lpasscore node name changes] -- https://patchwork.kernel.org/project/linux-arm-msm/list/?series=644250 Changes Since V12: -- Update 'lpasscore' clock node name to lpass_core to match latest clock patches. -- Update external mclk0 name and it's source node. -- Move sound node to separate wcd specific dtsi file. -- Move CRD specific lpass_cpu node Enabling to separate wcd specific dtsi file. -- Update dependency list. Changes Since V11: -- Remove output-low pinconf setting in wcd-reset-n-sleep node. -- Update dependency list. Changes Since V10: -- Modify digital macro codecs pin control labels. -- Updated dependency list. Changes Since V9: -- Move wcd codec and digital codec nodes to sc7280-qcard file. -- Modify the reg property as per link number in sound node. -- Fix the us-euro pin control usage in wcd codec node. -- Move wcd pin control nodes to specific crd board files. -- Sort max98360a codec node in alphabetical order. -- Modify the commit messages. Changes Since V8: -- Split patches as per sc7280 CRD revision 3, 4 and 5 boards. -- Add corresponding dt nodes for herobrine crd boards. -- Update dai-link node names as per dt-bindings in sound node. -- Add reg property in sound node as per dt-bindings which was removed in previous series. -- Fix typo errors. -- Update wcd codec pin control properties in board specific files. Changes Since V7: -- Remove redundant interrupt names in soundwire node. -- Fix typo errors. -- Remove redundant reg property in sound node. -- Rebased on top of latest kernel tip. Changes Since V6: -- Modify link-names and audio routing in a sound node. -- Move amp_en pin control node to appropriate consumer patch. -- Split patches as per digital macro codecs and board specific codecs and sort it. -- Modify label and node names to lpass specific. Changes Since V5: -- Move soc specific bolero digital codec nodes to soc specific file. -- Bring wcd938x codec reset pin control and US/EURO HS selection nodes from other series. -- Change node name and remove redundant status property in sound node. Changes Since V4: -- Update nodes in sorting order. -- Update DTS node names as per dt-bindings. -- Update Node properties in proper order. -- Update missing pinctrl properties like US/EURO HS selection, wcd reset control. -- Remove redundant labels. -- Remove unused size cells and address cells in tx macro node. -- Keep all same nodes at one place, which are defined in same file. -- Add max98360a codec node to herobrine board specific targets. Changes Since V3: -- Move digital codec macro nodes to board specific dtsi file. -- Update pin controls in lpass cpu node. -- Update dependency patch list. -- Create patches on latest kernel. Changes Since V2: -- Add power domains to digital codec macro nodes. -- Change clock node usage in lpass cpu node. -- Add codec mem clock to lpass cpu node. -- Modify the node names to be generic. -- Move sound and codec nodes to root node. -- sort dai links as per reg. -- Fix typo errors. Changes Since V1: -- Update the commit message of cpu node patch. -- Add gpio control property to support Euro headset in wcd938x node. -- Fix clock properties in lpass cpu and digital codec macro node. Srinivasa Rao Mandadapu (12): arm64: dts: qcom: sc7280: Add nodes for soundwire and va tx rx digital macro codecs arm64: dts: qcom: sc7280: Enable digital codecs and soundwire for CRD 1.0/2.0 and IDP boards arm64: dts: qcom: sc7280: Enable digital codecs and soundwire for CRD 3.0/3.1 arm64: dts: qcom: sc7280: Add wcd9385 codec node for CRD 1.0/2.0 and IDP boards arm64: dts: qcom: sc7280: Add wcd9385 codec node for CRD 3.0/3.1 arm64: dts: qcom: sc7280: Add max98360a codec for CRD 1.0/2.0 and IDP boards arm64: dts: qcom: sc7280: herobrine: Add max98360a codec node arm64: dts: qcom: sc7280: Add lpass cpu node arm64: dts: qcom: sc7280: Enable lpass cpu node for CRD 1.0/2.0 and IDP boards. arm64: dts: qcom: sc7280: Enable lpass cpu node for CRD 3.0/3.1 arm64: dts: qcom: sc7280: Add sound node for CRD 1.0/2.0 and IDP boards arm64: dts: qcom: sc7280: Add sound node for CRD 3.0/3.1 arch/arm64/boot/dts/qcom/sc7280-crd-r3.dts | 37 ++++ .../dts/qcom/sc7280-herobrine-audio-wcd9385.dtsi | 129 ++++++++++++ arch/arm64/boot/dts/qcom/sc7280-herobrine-crd.dts | 24 +++ arch/arm64/boot/dts/qcom/sc7280-herobrine.dtsi | 8 + arch/arm64/boot/dts/qcom/sc7280-idp.dtsi | 217 +++++++++++++++++++++ arch/arm64/boot/dts/qcom/sc7280-qcard.dtsi | 74 +++++++ arch/arm64/boot/dts/qcom/sc7280.dtsi | 190 ++++++++++++++++++ 7 files changed, 679 insertions(+) -- 2.7.4