Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1236180rwb; Fri, 7 Oct 2022 09:46:52 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6ULM9YHOHpjDIFsBbj4qrevjZN4EgHgWT5in0G10A2Kwqqrlsc9Z0m4dIl17SHBMs/a/9z X-Received: by 2002:a17:907:970b:b0:78d:8d70:e4e8 with SMTP id jg11-20020a170907970b00b0078d8d70e4e8mr1037956ejc.614.1665161212466; Fri, 07 Oct 2022 09:46:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665161212; cv=none; d=google.com; s=arc-20160816; b=TxvVg8xsx00oazgQn+3OmbJ+MHN34W8OSOHB0rw0SnKQjHwW671PunN55T6m+7uhMB XvSZRkEgkuqblWp+Yx9xt2OmEk3VO/yC08AP+ZxGOS425PE3zl6YcU4INbAyvvUvzF4P cyjX2Ny+2lbYFBn0CI13mbr9DOe+grDI5w3CqmXRrCWWM9r0JthdyjeRARTrc1hmqrPj 9geaBm1Lf56z/Z4x64i4Plh+RQMrN8sjqF+yWd2vVB7Q4RfShjrL0X/q7zFErKOU/amV LM7JEGzSdndLUSoxYG9ReMdiB27y/Bs/7Bt9EGrFj97d2vhv7YXvb7CxcRq2PzgnXcOD eXyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=A8tlFzRr5PaJFwlIwm9GBuMbfRHqOtAY2JydGxcD8TM=; b=m+D+YeqMjND/ywSYM+gVnDTZQQBOP98MPqwdUGs7UrkEEyQI632vDEZeBrEIIKET2i 7oT7HY1UHRqanvevVNzhqA9fXB9RaNWS+cKKXrduhEHT1dPz2U2ERHiyIo43pfIhBGk8 lnj68O5geHRZqzxeiZeFmeeS571h4+NCzgVZ3NLs9p/kywQ51lQOZvpMPzXlaJV0xigG zZuxUDzy00Leyq6VHgAY4mCGr/bihI9QqE/a+SZw25FGGxjbQyg94zVZNPc4MGZ3v1yH bSBnEhARgHNjQHzQu/ApYTrtOuM+HxyLlfS/4a0KlBUVYTgiKKx00JM30cjFeOt2xPMg 6PGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AsBMu4d7; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mp16-20020a1709071b1000b00781b66e7065si3016270ejc.240.2022.10.07.09.46.26; Fri, 07 Oct 2022 09:46:52 -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=@linaro.org header.s=google header.b=AsBMu4d7; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229700AbiJGQMg (ORCPT + 99 others); Fri, 7 Oct 2022 12:12:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59682 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229722AbiJGQMf (ORCPT ); Fri, 7 Oct 2022 12:12:35 -0400 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 894C3FC1EB for ; Fri, 7 Oct 2022 09:12:33 -0700 (PDT) Received: by mail-lf1-x134.google.com with SMTP id f37so7948992lfv.8 for ; Fri, 07 Oct 2022 09:12:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=A8tlFzRr5PaJFwlIwm9GBuMbfRHqOtAY2JydGxcD8TM=; b=AsBMu4d7kHj3ZjKHzmYBUDwyc/ovOkWmCo6Y556oJZzIZwOdUQBVbWOqxapV3gLBFn AjGpKKgyZavDkAQA62JesgQLYg0doJC+0o/jIfKl023od/xtfn83WGfIOs2Zb/chziYb MuSHsDNWFO+GSlRrb0Qeuk7D1JUdAaftiSbjZdiHOp0onK2UcrApPuneKhKOcYNhp/Md OyAckksPuV7v6eswvxBIZ/d3v/Rad/swjKkUYmx9ukacLv04TsBMPt31jduKclArFNuY LG6efbZKLpAVWZAUw9M82iL0FbeYc/s2WUc1xEeLzCQOj2910oQVEiodHQdWsFTZrqCc 8xuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=A8tlFzRr5PaJFwlIwm9GBuMbfRHqOtAY2JydGxcD8TM=; b=YGZf+/ezcBc5eNEWsUliNoDAiziCt5wygrxV5iys/d5rtji1pv8qs8xgwyCcDaQJqo EKbcLK0UKrBxILPosrgHPA/8rYBnhzhLBw/pmOWp85iQTHiX4zYAY89JsgrbRF99w3RG gQzjM0w9V3EiwrwQ56WPmtglBOJdKfIb4Rw+ojEuQciJSpM+NCj8SyQo2Bs1Mb1Af86i coueMeu7dPOYgQ7hlSiPIk800AUVG3T7OsAmeEKJgkg1t6YPXVTDnyp7UvjVAqkBo12K S6mqyRefvAMSonCvm+FLPbRu4+ZlH9EBFhxSI5ZGwOHSsOTQJbFsRD5emL89Z/RoR8iC vw8Q== X-Gm-Message-State: ACrzQf1OmUkv/rWz9okstORmKVdI4aO9DjyUA67uZoTO596pxdPDug8X 8Cmys7flwje9BIqW18wB9NTmrw== X-Received: by 2002:a05:6512:3606:b0:4a2:71df:7938 with SMTP id f6-20020a056512360600b004a271df7938mr2209143lfs.279.1665159151676; Fri, 07 Oct 2022 09:12:31 -0700 (PDT) Received: from [192.168.0.21] (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id z15-20020a2ebe0f000000b00261e2aab7c2sm319999ljq.58.2022.10.07.09.12.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 07 Oct 2022 09:12:31 -0700 (PDT) Message-ID: <4f44c3a8-13e6-4062-86f3-f3721df71a44@linaro.org> Date: Fri, 7 Oct 2022 18:12:30 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1 Subject: Re: [PATCH v5 2/3] arm64: dts: qcom: sc7280: Add sc7280-herobrine-audio-rt5682.dtsi Content-Language: en-US To: Judy Hsiao , bjorn.andersson@linaro.org Cc: Andy Gross , Rob Herring , Srini Kandagatla , dianders@chromium.org, mka@chromium.org, cychiang@google.com, judyhsiao@google.com, swboyd@chromium.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220930152613.2018360-1-judyhsiao@chromium.org> <20220930152613.2018360-3-judyhsiao@chromium.org> From: Krzysztof Kozlowski In-Reply-To: <20220930152613.2018360-3-judyhsiao@chromium.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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 On 30/09/2022 17:26, Judy Hsiao wrote: > Audio dtsi for sc7280 boards that using rt5682 headset codec: > 1. Add dt nodes for sound card which use I2S playback and record > through rt5682s and I2S playback through max98357a. > 2. Enable lpass cpu node and add pin control and dai-links. > > Signed-off-by: Judy Hsiao > Reviewed-by: Matthias Kaehlcke > Reviewed-by: Douglas Anderson > --- > .../qcom/sc7280-herobrine-audio-rt5682.dtsi | 122 ++++++++++++++++++ > 1 file changed, 122 insertions(+) > create mode 100644 arch/arm64/boot/dts/qcom/sc7280-herobrine-audio-rt5682.dtsi > > diff --git a/arch/arm64/boot/dts/qcom/sc7280-herobrine-audio-rt5682.dtsi b/arch/arm64/boot/dts/qcom/sc7280-herobrine-audio-rt5682.dtsi > new file mode 100644 > index 000000000000..2dbdeeb29ece > --- /dev/null > +++ b/arch/arm64/boot/dts/qcom/sc7280-herobrine-audio-rt5682.dtsi > @@ -0,0 +1,122 @@ > +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) > +/* > + * Skip empty comment line. > + * This file defines the common audio settings for the child boards > + * using rt5682 codec. > + * > + * Copyright 2022 Google LLC. > + */ > + > +/ { > + /* BOARD-SPECIFIC TOP LEVEL NODES */ > + sound: sound { > + compatible = "google,sc7280-herobrine"; > + model = "sc7280-rt5682-max98360a-1mic"; > + > + status = "okay"; No need. > + audio-routing = > + "Headphone Jack", "HPOL", > + "Headphone Jack", "HPOR"; > + > + #address-cells = <1>; > + #size-cells = <0>; > + Best regards, Krzysztof