From patchwork Wed Nov 2 18:19:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= X-Patchwork-Id: 14433 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp66799wru; Wed, 2 Nov 2022 11:25:38 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5Yzzy7Z/BiYMBEMhEoyvzpzYsCELxg2y2xLaQF5kb/AneIGw+pPqQYRpFavMl8WKp1h1No X-Received: by 2002:aa7:ce16:0:b0:461:865a:ae44 with SMTP id d22-20020aa7ce16000000b00461865aae44mr25293530edv.280.1667413538040; Wed, 02 Nov 2022 11:25:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667413538; cv=none; d=google.com; s=arc-20160816; b=HyF4W2YbduN5RUuRtm+3kUxIUpzcH0N9ohY4/NHb3hdPzJuyboe8d2q1+uEfufLix4 4c98bIFN4hT7Mv3Pvz+wwhGdTArJdY7RYMh4KtnXrpc0CAashpTLAcAB+GbwfBt+bWzT GPqDckm1I9wwdQ2UF+ALqCnX5sn0HAauWzcTFMJetPvB7Czn6wO8VM0jzPQ9QMjMJaMH qF/tBws0mSoS7tKPBU6SAeDBdysLG91NsOx6Qz07lLyk4P/F75EbMrw/BDoGdTD9iIgD AZqj2QxLirxquHC3Yelkwfai19VQ42zQWOjXhM3UKZOyPldILuu+m0i4onesLDvjsE7e eGgg== 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=sM7oIScLzJiVOEdb/U8QAox/mM6njnjlkYqnyuSLVDM=; b=MmfbQgfSJkei/9e7nTtz+LVT63E7ISXLNpF/NOpXKHZ2XktG7KZt/buN8dyWeee5NQ sIPRNWgFx911V0MvSWF/+1EdGCB3m9j4k0NQRJs99Lslb5c3a9WVRhQHGFMSwFvgMiPE /WFD+tsUPUcs4LPxLxRgsOnOtVsh40rFcnQUEvHsZHA1ssCgdkToohfD0UvOumKdturg fDqBiRRGHDzfHbcPn5UgULy8j9PblJhVnI9VmyncEHaRTVaKqkSugTpaPWZ/PjUKD863 Z5W3NHu5eHyg6+FOz5OG9ylkmG3xR9tZJWM17DiguDDm3U5nNXUYlVfpZg3FaTI3bcvy FmXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=JtRxA8W7; 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=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y3-20020a056402358300b00462848f0cdbsi19058344edc.299.2022.11.02.11.25.04; Wed, 02 Nov 2022 11:25:38 -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=@collabora.com header.s=mail header.b=JtRxA8W7; 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=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231289AbiKBSUV (ORCPT + 99 others); Wed, 2 Nov 2022 14:20:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45702 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231524AbiKBSUN (ORCPT ); Wed, 2 Nov 2022 14:20:13 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 53BD42F392; Wed, 2 Nov 2022 11:20:11 -0700 (PDT) Received: from notapiano.myfiosgateway.com (unknown [IPv6:2600:4041:5b1a:cd00:524d:e95d:1a9c:492a]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: nfraprado) by madras.collabora.co.uk (Postfix) with ESMTPSA id 3C37566028E7; Wed, 2 Nov 2022 18:20:08 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1667413209; bh=iEfgs5/IYGmZLK5vLu7xq05AP6DxnckLW0sEoea0frY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JtRxA8W7bF4/NcHMNMq2PIygyK9OwqM6gojFJZtfrdzUWgCwWIJ1+icj6wGwudqt5 PzNGvMHcirjs4x71srNeg+LokD8kJ4nvjbmjdOivqdkqInWpfUs/GM8VqsNmlOHzbp JwS/5eEcJr9cxAOuuexzZdLbtJPFJpykDI24zVXWa5xn7N+VQLCLXU8rRrtO+maI5P exexpzKigGQt9GvuLvJqvVuVpI1EnaxFRg4GxpYR3kkAgwNjaOkLR+xLywCidA0C6D jFQOHCp5jR2W32OxAgZVMbOGTKBkd+diQMDc3qGY+5yQzbIR00tXUIY8rPaJR0eJcs Vu4KhtT3aze1g== From: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= To: Mark Brown , Bjorn Andersson Cc: kernel@collabora.com, AngeloGioacchino Del Regno , Chen-Yu Tsai , =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJh?= =?utf-8?b?ZG8=?= , Derek Fang , Krzysztof Kozlowski , Liam Girdwood , Rob Herring , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/8] ASoC: dt-bindings: realtek,rt5682s: Add AVDD and MICVDD supplies Date: Wed, 2 Nov 2022 14:19:55 -0400 Message-Id: <20221102182002.255282-2-nfraprado@collabora.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221102182002.255282-1-nfraprado@collabora.com> References: <20221102182002.255282-1-nfraprado@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748409818318627788?= X-GMAIL-MSGID: =?utf-8?q?1748409818318627788?= The rt5682s codec has two supplies - AVDD and MICVDD - which are already used by sc7180-trogdor-kingoftown.dtsi. Document them in the binding. Acked-by: Krzysztof Kozlowski Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Nícolas F. R. A. Prado --- (no changes since v1) .../devicetree/bindings/sound/realtek,rt5682s.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/realtek,rt5682s.yaml b/Documentation/devicetree/bindings/sound/realtek,rt5682s.yaml index 1c0b06d82369..b7338bfc0f5a 100644 --- a/Documentation/devicetree/bindings/sound/realtek,rt5682s.yaml +++ b/Documentation/devicetree/bindings/sound/realtek,rt5682s.yaml @@ -90,11 +90,20 @@ properties: "#sound-dai-cells": const: 1 + AVDD-supply: + description: Regulator supplying analog power through the AVDD pin. + + MICVDD-supply: + description: Regulator supplying power for the microphone bias through the + MICVDD pin. + additionalProperties: false required: - compatible - reg + - AVDD-supply + - MICVDD-supply examples: - | @@ -120,5 +129,8 @@ examples: clocks = <&osc>; clock-names = "mclk"; + + AVDD-supply = <&avdd_reg>; + MICVDD-supply = <&micvdd_reg>; }; }; From patchwork Wed Nov 2 18:19:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= X-Patchwork-Id: 14437 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp67420wru; Wed, 2 Nov 2022 11:27:00 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6FhQtujNmdH81VS6dihfvPstRsJz2DUVgrbvC9yWnAhrYKM7EqKVN1zknoPLRy0VQR/wXe X-Received: by 2002:a17:90a:2847:b0:213:9ae5:b9b4 with SMTP id p7-20020a17090a284700b002139ae5b9b4mr30360372pjf.136.1667413620410; Wed, 02 Nov 2022 11:27:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667413620; cv=none; d=google.com; s=arc-20160816; b=kQ/jzgdNahcNpfE5Bfa/KMOgZIQrS+H+dQJCFX1nYOULLYKBadwprmk2RF3mR+MfHy SnleJhmrZsv9A7FN3fgKmVS/6rcCVoxMkEOF0YBhc69DgACaKJ5hB5Jsljw7ZPwc/J+7 bHBDNI/5TlktcFlSN3rTO1W7nPBLAHgDzHbjECv+rRAqAjVfAeeOrzJoSk11Ie8C+kB6 uVmtp3HFXeV3HgkAih4jXvfoj3nDuZedQp+1DE0a1NK2g+rH114yE2P9V5zrGnk58IVD X7+s0AAyusrx0vzT/IQ1IuR+Qg7yktTMpBV46V7IA+keGrxOPbftqDxXyn5DKSQWgnTI 3+Bg== 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=NGKWMNkR5LN5+VyV3UFrF1q+qvZCuVEKMpp9TwocJWg=; b=fUuTqKNl14nZmxQtuXlzfXBjDCl/UzOBFsLkSJmTQkW66FZaJErlN66V0EseFAGCho XJl7nLzUJ+PR6uvdufecEcHjXh/r/d9pBu1yw1i8X85XLh9HnApRtFj/FTh1CFeYiLKC xPWxY+QIzvszRu0+kYWLBuwEQM+Mlz8OqaOG7hUjGEKtstSdEDaEGzbJa/fJ6AUuX+uZ J2x0nx26LwKfijeoZLbooOQ09tyiSBgBjYii5RJeVZylshhmHEDu//EULPjHzkNspA9i 4iCjWNYrGxApF4ktKEv0gWV6rwsIXUj/b3SERcCeZc1o0wInilLWa3cxkkvznqdidnSJ 5bfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=DzrG8ead; 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=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a3-20020a170902ecc300b00179e70b9e6csi20455314plh.519.2022.11.02.11.26.47; Wed, 02 Nov 2022 11:27:00 -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=@collabora.com header.s=mail header.b=DzrG8ead; 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=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231532AbiKBSU3 (ORCPT + 99 others); Wed, 2 Nov 2022 14:20:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45818 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231530AbiKBSUN (ORCPT ); Wed, 2 Nov 2022 14:20:13 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF0E72F648; Wed, 2 Nov 2022 11:20:12 -0700 (PDT) Received: from notapiano.myfiosgateway.com (unknown [IPv6:2600:4041:5b1a:cd00:524d:e95d:1a9c:492a]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: nfraprado) by madras.collabora.co.uk (Postfix) with ESMTPSA id F00BF66028C5; Wed, 2 Nov 2022 18:20:09 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1667413211; bh=XreP8pLNPdmHQfo0+zus9VHh3oAKdgBVqoqtrPoAkGE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DzrG8eadOfxEzZBS9K6GzlezW9SFPw4pfPCJF8Og2axj/E7qE8ax0bfb/iLBTQzXm 1CtK92x5oD8NiBEyf/uzIT0fhfoAeJxS0brRuKQf7lTDXSciMlhi37GYvfXuExdvTe LFP3yaxPBLiEA6IrTYnIncu2tfW6esFBimzicYLWt//iV+Yes8+ahiPzalbteNGJWM vL/P3xTOQGQEKMSxqHV8K+iYuLYGI6GvrcBRsh8NadLFrWAY4ZXtKzY7gPHSyBTjm9 V19JXyACh5qP45pZHiUrPElIRXHjyno3qlh9MP3KdthKIQ8v9OnHwOaQ1wtshGZmTD DkEO754P4pjRA== From: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= To: Mark Brown , Bjorn Andersson Cc: kernel@collabora.com, AngeloGioacchino Del Regno , Chen-Yu Tsai , =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJh?= =?utf-8?b?ZG8=?= , Derek Fang , Krzysztof Kozlowski , Liam Girdwood , Rob Herring , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/8] ASoC: dt-bindings: realtek,rt5682s: Add DBVDD and LDO1-IN supplies Date: Wed, 2 Nov 2022 14:19:56 -0400 Message-Id: <20221102182002.255282-3-nfraprado@collabora.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221102182002.255282-1-nfraprado@collabora.com> References: <20221102182002.255282-1-nfraprado@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748409904655450247?= X-GMAIL-MSGID: =?utf-8?q?1748409904655450247?= The rt5682s codec has two additional power supply pins, DBVDD and LDO1_IN, that aren't currently described in the binding. Add them. Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Nícolas F. R. A. Prado Reviewed-by: Rob Herring --- Changes in v2: - Made names uppercase .../devicetree/bindings/sound/realtek,rt5682s.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/realtek,rt5682s.yaml b/Documentation/devicetree/bindings/sound/realtek,rt5682s.yaml index b7338bfc0f5a..dc418652f241 100644 --- a/Documentation/devicetree/bindings/sound/realtek,rt5682s.yaml +++ b/Documentation/devicetree/bindings/sound/realtek,rt5682s.yaml @@ -97,6 +97,13 @@ properties: description: Regulator supplying power for the microphone bias through the MICVDD pin. + DBVDD-supply: + description: Regulator supplying I/O power through the DBVDD pin. + + LDO1-IN-supply: + description: Regulator supplying power to the digital core and charge pump + through the LDO1_IN pin. + additionalProperties: false required: @@ -104,6 +111,8 @@ required: - reg - AVDD-supply - MICVDD-supply + - DBVDD-supply + - LDO1-IN-supply examples: - | @@ -132,5 +141,7 @@ examples: AVDD-supply = <&avdd_reg>; MICVDD-supply = <&micvdd_reg>; + DBVDD-supply = <&dbvdd_reg>; + LDO1-IN-supply = <&ldo1_in_reg>; }; }; From patchwork Wed Nov 2 18:19:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= X-Patchwork-Id: 14431 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp66643wru; Wed, 2 Nov 2022 11:25:16 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5nuKyLDtsa74V1blwbScx3+hUv4J3Yl2FrXaXnjkqrUQ5CtNFakNpVpRi1QUs2ywp9UGqi X-Received: by 2002:a17:902:bc46:b0:186:a8a8:e9d9 with SMTP id t6-20020a170902bc4600b00186a8a8e9d9mr25993506plz.13.1667413515711; Wed, 02 Nov 2022 11:25:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667413515; cv=none; d=google.com; s=arc-20160816; b=BNmKrWpBC/WHoEE24ITlngW/kDSFL6dniP35gHvTG9+/lz2g4d4CtystsxDgt4a9/9 UJed4aQT0cb4M+tmSb3Zw95tKNL4hPEwWhokgsPWpAAnpWky53+s6RTyoKTgySHS9Pfb IqRtsTci9bRIPKQ8r7u8vfZfLzp+6LgRQmxyOIU7SftsAfsr0A5c4iRJ7edBzYj6GS6L q7IO+o5OmSmJA/XfMMqvyso9E29Wwz+uX4st/qDLfMWHcgVl8/9KW6T+FMFZLCgMYu+Z qkJT9fDIbqvoVaLoB9kBah7yyyaoY5wfyo4v/hFoJTXwgf4Fy/EoKglhpQDgFLuZDoqW w3Vw== 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=vBMAYy3nm+SnpMooVzmF+pO1aBcxzam8QLqa/wOlC3c=; b=akm2c3SaCBjpZ5+CnHeUz8fUkfdusZ6lx1UgCBRlgf8MbT0CaZiTqs+YboD+GJvkqs 2km8YThmw4VZpfjZbU5NZ/rVWC7ZucNhDaB2TUw8caTPx5HIu3xGJxS4bjxd2B7N2AiM 2UzOYxceeZX8/zVLt+nlonscsFSVpPQlKchWw+5iW89d/ZPzC5keNtVmhj6MaZbuv4Kx Pk7gOCRCZl6AlyllwPfSuwZAI0FqHL6/pVEtTi2nRAXKB+7Q2BTfc/m2ewrHbr5r8tq2 DWs+6pjSn3hBzKswxQICOo/gMToqxWn/bjmPW46l4t8FscMnoIYg//oRrecZe8YI0Ssc Jg6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=LqLVraj7; 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=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l9-20020a170902f68900b00186a3bc939esi17455838plg.211.2022.11.02.11.24.38; Wed, 02 Nov 2022 11:25:15 -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=@collabora.com header.s=mail header.b=LqLVraj7; 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=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231491AbiKBSUZ (ORCPT + 99 others); Wed, 2 Nov 2022 14:20:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231204AbiKBSUO (ORCPT ); Wed, 2 Nov 2022 14:20:14 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33C0E2F02A; Wed, 2 Nov 2022 11:20:14 -0700 (PDT) Received: from notapiano.myfiosgateway.com (unknown [IPv6:2600:4041:5b1a:cd00:524d:e95d:1a9c:492a]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: nfraprado) by madras.collabora.co.uk (Postfix) with ESMTPSA id AFC3066028E3; Wed, 2 Nov 2022 18:20:11 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1667413213; bh=aHKXHg5yRWCszz4RN5TUFELZQbFWp0LXSet1RHes8lw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LqLVraj7daBs/qNGOyMgszO7PYrOjdyFfjnFJkoiTC/1Jxm/fdHpn0MZNNjV/xUG1 b3Z+YeiUD0HOls+xF1xUB8EfRTcIy/2diBZJonReDRRWGhA0t29hD/yq0j1MYKI4b9 eu/eJZCBtewDSvaKdl0j7KdrJS72+y7SaCc1xlT2boF2tHuejdDD0xlja5TjdcC/ol 1y6pTQcLfzmyYA6AMGsydD7QgHx/yyqfVxIa9rZx24pTRUl/i1MuQ8gZh2ET6VQzFF MNb1qX2O0oXwypUhidFIpRE4syMtSyg6o0s4pUfbFJxnVhvCW0C5V1aav0HiKUUUMh iDE4Mo2/OxTPA== From: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= To: Mark Brown , Bjorn Andersson Cc: kernel@collabora.com, AngeloGioacchino Del Regno , Chen-Yu Tsai , =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJh?= =?utf-8?b?ZG8=?= , Krzysztof Kozlowski , Liam Girdwood , Rob Herring , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 3/8] ASoC: dt-bindings: rt5682: Add AVDD, MICVDD and VBAT supplies Date: Wed, 2 Nov 2022 14:19:57 -0400 Message-Id: <20221102182002.255282-4-nfraprado@collabora.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221102182002.255282-1-nfraprado@collabora.com> References: <20221102182002.255282-1-nfraprado@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748409794343148440?= X-GMAIL-MSGID: =?utf-8?q?1748409794343148440?= The rt5682 codec has three supplies - AVDD, MICVDD and VBAT - which are already used by sc7180-trogdor.dtsi. Document them in the binding. Acked-by: Krzysztof Kozlowski Signed-off-by: Nícolas F. R. A. Prado --- (no changes since v1) Documentation/devicetree/bindings/sound/rt5682.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/rt5682.txt b/Documentation/devicetree/bindings/sound/rt5682.txt index 6b87db68337c..89e6245b870e 100644 --- a/Documentation/devicetree/bindings/sound/rt5682.txt +++ b/Documentation/devicetree/bindings/sound/rt5682.txt @@ -8,6 +8,15 @@ Required properties: - reg : The I2C address of the device. +- AVDD-supply: phandle to the regulator supplying analog power through the + AVDD pin + +- MICVDD-supply: phandle to the regulator supplying power for the microphone + bias through the MICVDD pin. Either MICVDD or VBAT should be present. + +- VBAT-supply: phandle to the regulator supplying battery power through the + VBAT pin. Either MICVDD or VBAT should be present. + Optional properties: - interrupts : The CODEC's interrupt output. @@ -75,4 +84,7 @@ rt5682 { clocks = <&osc>; clock-names = "mclk"; + + AVDD-supply = <&avdd_reg>; + MICVDD-supply = <&micvdd_reg>; }; From patchwork Wed Nov 2 18:19:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= X-Patchwork-Id: 14432 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp66789wru; Wed, 2 Nov 2022 11:25:37 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7+W1569FhI49lUEi+KGHBmuQwqmKlWA6xMJOux+9AbmD6vpKkAsr0IQh1AYOxwkxygoI1f X-Received: by 2002:a05:6402:3988:b0:44e:6f08:ddfb with SMTP id fk8-20020a056402398800b0044e6f08ddfbmr25323109edb.89.1667413537251; Wed, 02 Nov 2022 11:25:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667413537; cv=none; d=google.com; s=arc-20160816; b=cx/C/fdMyDWBbL67n7h9taT2+8L0PHOCh+ZPzhPNPrQHz6RAVwNnzcGE8Ebh/xm7Ts Bg1uUOWnTygOaI5aYrwYk7Mdb77Rvfq7bZ9ZWTdufAo47A7LI7nXItOIaAGIVHOUqjon sEC9yVkWYlE3VC3Tc6XSsEv0smu+r+zAcoH+K8vCFcCwCd6G5s8P+jSkuDpbBsnPDm7C v/dhcsAsF3ZUqJlysoDYpkdD7B0VM8kS0o1OPerLYZ0SM/7jbFcbKp3lmOH8yKDI1x2c I54T/A80LYyXsPUPp9Vhy8eKVTbysi0YCKDq671X43bonnoYCKG/x1kTTWwuLqO8AtfQ oSwA== 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=v/e5e4fno536u0CpQWiTWApl70hwJ/KKhEohNPn+KfY=; b=x/+uwGhWkv3F9LKJ/zpzu8NlWqSuyFPIZqzxx/kGLopSWjPTUnn3NU13WZmnIL/mzl I3r1c2utoROgIVuZ7bEvsf3G586Vn4ZngOf0MIUiVMd5oR3DcPnclyM7RRoNLpsmJ8lj xfAZtuLoVsKiPD0PeCUZhrtJPOJEaQ58LozDhB3q1HuUg29JCuZHME4sZolhoq2eZFq1 1zX/IfiHauUxGQHRUvyGuTKyJDOxb+Y2+GgX9tICPdLYW5FMNqkqkzbk4aZlt2fUNooy nU0gtilqMI21bTAaLG+eSLa/ix2oKA3tyEKi0vubMkhHiyhm5uXtiPKnEvXyEgljUeNk a5zg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="U6T/zZ1o"; 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=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u7-20020a50d507000000b004614db9789asi14966010edi.127.2022.11.02.11.24.50; Wed, 02 Nov 2022 11:25:37 -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=@collabora.com header.s=mail header.b="U6T/zZ1o"; 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=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230466AbiKBSUg (ORCPT + 99 others); Wed, 2 Nov 2022 14:20:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45746 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231378AbiKBSUQ (ORCPT ); Wed, 2 Nov 2022 14:20:16 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C7BBC2F3A4; Wed, 2 Nov 2022 11:20:15 -0700 (PDT) Received: from notapiano.myfiosgateway.com (unknown [IPv6:2600:4041:5b1a:cd00:524d:e95d:1a9c:492a]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: nfraprado) by madras.collabora.co.uk (Postfix) with ESMTPSA id 4DB7C6602946; Wed, 2 Nov 2022 18:20:13 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1667413214; bh=nT5ZYip6ykx0KuIPyyYFqsRIdtNMhO9TwzCn0g2rnOA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=U6T/zZ1oQgFPo591b9rXyFM7G48u1J0BMKzZX6A9EFo+URmWGIwR2nTi8wsKoK5/P MrcxZzjRmBjDyj7NkA4ZR28MVBcMeibpOQj8qwzIeDa3o4ETcBOoWjCw5xMJjjoJdR 5ULSNgo0+OulqriO4/fo91kCBOXktrAwxJ6b1y7ua9HbDHNNJ7U8gbzd+QrWLw7yJb YxJx1CI3Lqz6s01sdYBAQMptNzMbGhqDGsQrS2YYfqwc+s0lgOUArJw/Qgpl/MP+QJ GHWCJbnJGStTBzsU4zvHjzZ6LHwmBnms42KdhIg0SIOxR36R8TS/H9qVRKMpvnhsJn tZnQoq5zmvaZg== From: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= To: Mark Brown , Bjorn Andersson Cc: kernel@collabora.com, AngeloGioacchino Del Regno , Chen-Yu Tsai , =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJh?= =?utf-8?b?ZG8=?= , Krzysztof Kozlowski , Liam Girdwood , Rob Herring , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 4/8] ASoC: dt-bindings: rt5682: Add DBVDD and LDO1-IN supplies Date: Wed, 2 Nov 2022 14:19:58 -0400 Message-Id: <20221102182002.255282-5-nfraprado@collabora.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221102182002.255282-1-nfraprado@collabora.com> References: <20221102182002.255282-1-nfraprado@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748409816779390165?= X-GMAIL-MSGID: =?utf-8?q?1748409816779390165?= The rt5682 codec has two additional power supply pins, DBVDD and LDO1_IN, that aren't currently described in the binding. Add them. Signed-off-by: Nícolas F. R. A. Prado Reviewed-by: Rob Herring --- Changes in v2: - Made names uppercase Documentation/devicetree/bindings/sound/rt5682.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/rt5682.txt b/Documentation/devicetree/bindings/sound/rt5682.txt index 89e6245b870e..5e1d08de18a5 100644 --- a/Documentation/devicetree/bindings/sound/rt5682.txt +++ b/Documentation/devicetree/bindings/sound/rt5682.txt @@ -17,6 +17,12 @@ Required properties: - VBAT-supply: phandle to the regulator supplying battery power through the VBAT pin. Either MICVDD or VBAT should be present. +- DBVDD-supply: phandle to the regulator supplying I/O power through the DBVDD + pin. + +- LDO1-IN-supply: phandle to the regulator supplying power to the digital core + and charge pump through the LDO1_IN pin. + Optional properties: - interrupts : The CODEC's interrupt output. @@ -87,4 +93,6 @@ rt5682 { AVDD-supply = <&avdd_reg>; MICVDD-supply = <&micvdd_reg>; + DBVDD-supply = <&dbvdd_reg>; + LDO1-IN-supply = <&ldo1_in_reg>; }; From patchwork Wed Nov 2 18:19:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= X-Patchwork-Id: 14438 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp67430wru; Wed, 2 Nov 2022 11:27:02 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5xjpFPlXQfPrzxwxoEsvROW0cbiXrmYUJ4NYXIYT03z65Zx+v1Rz0098gMUV9x4OM/F+P/ X-Received: by 2002:a17:90a:2fcb:b0:213:a774:6bf0 with SMTP id n11-20020a17090a2fcb00b00213a7746bf0mr25801823pjm.143.1667413621724; Wed, 02 Nov 2022 11:27:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667413621; cv=none; d=google.com; s=arc-20160816; b=QjnRME+ZbhzptYRQcFWJbj4tpZBPsii7VTZdLxSGR4V8rgK1rJS/sAh66GO3CJDx0v 2ix57+Izv/KCSjWpru6Eqj8cxXVansbreT5iceQpycmT9RdI3vMWsk/BZl0ZPpjJ9Scf nayjin3LE4g0VjDt9hhuGMpzwZsJZx9wx/fqtlEpyP4AJGRYGfKP4H4KkY+9jYkV1mn7 m5PQhvktGT1hIBAoQAtOkVDqQmBaBQErRZ/QY5+yU7LQWcHvBZ2+WsW1f7YouZbet/JG 9mA3RF0aKSSuG4iYxhKoCsEAMhedZuF8c/GLql3uwoguh5R11EKUarJoYLtEBc93Ncm8 puSA== 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=AL8kZINGC0wbve1d0AmzLf49RJBWxI8dPt8e8xv0Hc4=; b=OaTiS58kEtiug826HvKmm6RjEsIaADxVGeZgu8aaq6zPPIJK+wO2WSbVsu6q1Othv1 qC09S+677Ppm8BTgSCoRv3CLxPYmH1JIFYvicPVAkRmTBq11UVf5Dy2LEZsw7I4zhBXA q43iE4PZ+kXXIv3+BiBbG2hoOHrF8f60GeA0Qz6iQJjGBJZytjexIf7S367tU5jmeChK DZO+O7CBwza7/HyGs4uCdt62ZYfeywYt+DDiNLYSrta5GBjW4fm+pZhMxCoVNNVDLfCb AnF9rPr2c35CGX1X9QUUIAVcv0cn2Z3SELLZxjGEvJdCgIAEY5jg2dEcA4/p3BgBlNjh geFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=T8GiEKHc; 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=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bj25-20020a056a02019900b0046aeabd6548si17302929pgb.104.2022.11.02.11.26.48; Wed, 02 Nov 2022 11:27:01 -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=@collabora.com header.s=mail header.b=T8GiEKHc; 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=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230314AbiKBSUk (ORCPT + 99 others); Wed, 2 Nov 2022 14:20:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45706 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231408AbiKBSUS (ORCPT ); Wed, 2 Nov 2022 14:20:18 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 734772F03B for ; Wed, 2 Nov 2022 11:20:17 -0700 (PDT) Received: from notapiano.myfiosgateway.com (unknown [IPv6:2600:4041:5b1a:cd00:524d:e95d:1a9c:492a]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: nfraprado) by madras.collabora.co.uk (Postfix) with ESMTPSA id E344E6602948; Wed, 2 Nov 2022 18:20:14 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1667413216; bh=OfMwEPRyzP69cf0RbqYMeq7wYptVsG5Ag1i1BjFEAS4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=T8GiEKHc8UtFOYUTrPUOVTnAL1fBOP0leZVHpAvJGznyzxuomjwzC3xFcrlqgcaZc NH9gSfQTB9k1f8OysAGYkJ1DakMgh5w2EA9ZxzAx/3ryKYPQB7RBMefBi6dvDuHkLY H919o8MLhJMWZcghrXV0ISVX8ePMgHnBUbjBXSpl8GWUdvqbYuT8ZQAn7TpMMaJGLH 5IoTZBAQm/H5616oyeO4wl9DmQCCQrT/CVSXHFmquP5cc/KCe4Ai1OeGrQYhcs0Xqy X3VHib7o3BtzrR0Fup7JIMtXosIlpWL+RsME7YyYkpXgRJKOWs3LFVNrhxREIdRDW7 pZ16b9a1UcSfw== From: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= To: Mark Brown , Bjorn Andersson Cc: kernel@collabora.com, AngeloGioacchino Del Regno , Chen-Yu Tsai , =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJh?= =?utf-8?b?ZG8=?= , Jaroslav Kysela , Liam Girdwood , Oder Chiou , Takashi Iwai , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 5/8] ASoC: rt5682s: Support DBVDD and LDO1-IN supplies Date: Wed, 2 Nov 2022 14:19:59 -0400 Message-Id: <20221102182002.255282-6-nfraprado@collabora.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221102182002.255282-1-nfraprado@collabora.com> References: <20221102182002.255282-1-nfraprado@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748409905374348065?= X-GMAIL-MSGID: =?utf-8?q?1748409905374348065?= Add support for the DBVDD and LDO1-IN supplies. Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Nícolas F. R. A. Prado --- Changes in v2: - Made names uppercase sound/soc/codecs/rt5682s.c | 22 ++++++++++++++++++++++ sound/soc/codecs/rt5682s.h | 2 ++ 2 files changed, 24 insertions(+) diff --git a/sound/soc/codecs/rt5682s.c b/sound/soc/codecs/rt5682s.c index 80c673aa14db..f5e5dbc3b0f0 100644 --- a/sound/soc/codecs/rt5682s.c +++ b/sound/soc/codecs/rt5682s.c @@ -44,6 +44,8 @@ static const struct rt5682s_platform_data i2s_default_platform_data = { static const char *rt5682s_supply_names[RT5682S_NUM_SUPPLIES] = { [RT5682S_SUPPLY_AVDD] = "AVDD", [RT5682S_SUPPLY_MICVDD] = "MICVDD", + [RT5682S_SUPPLY_DBVDD] = "DBVDD", + [RT5682S_SUPPLY_LDO1_IN] = "LDO1-IN", }; static const struct reg_sequence patch_list[] = { @@ -3089,6 +3091,14 @@ static void rt5682s_i2c_disable_regulators(void *data) if (ret) dev_err(dev, "Failed to disable supply AVDD: %d\n", ret); + ret = regulator_disable(rt5682s->supplies[RT5682S_SUPPLY_DBVDD].consumer); + if (ret) + dev_err(dev, "Failed to disable supply DBVDD: %d\n", ret); + + ret = regulator_disable(rt5682s->supplies[RT5682S_SUPPLY_LDO1_IN].consumer); + if (ret) + dev_err(dev, "Failed to disable supply LDO1-IN: %d\n", ret); + usleep_range(1000, 1500); ret = regulator_disable(rt5682s->supplies[RT5682S_SUPPLY_MICVDD].consumer); @@ -3150,6 +3160,18 @@ static int rt5682s_i2c_probe(struct i2c_client *i2c) return ret; } + ret = regulator_enable(rt5682s->supplies[RT5682S_SUPPLY_DBVDD].consumer); + if (ret) { + dev_err(&i2c->dev, "Failed to enable supply DBVDD: %d\n", ret); + return ret; + } + + ret = regulator_enable(rt5682s->supplies[RT5682S_SUPPLY_LDO1_IN].consumer); + if (ret) { + dev_err(&i2c->dev, "Failed to enable supply LDO1-IN: %d\n", ret); + return ret; + } + if (gpio_is_valid(rt5682s->pdata.ldo1_en)) { if (devm_gpio_request_one(&i2c->dev, rt5682s->pdata.ldo1_en, GPIOF_OUT_INIT_HIGH, "rt5682s")) diff --git a/sound/soc/codecs/rt5682s.h b/sound/soc/codecs/rt5682s.h index 45464a041765..67f86a38a1cc 100644 --- a/sound/soc/codecs/rt5682s.h +++ b/sound/soc/codecs/rt5682s.h @@ -1438,6 +1438,8 @@ struct pll_calc_map { enum { RT5682S_SUPPLY_AVDD, RT5682S_SUPPLY_MICVDD, + RT5682S_SUPPLY_DBVDD, + RT5682S_SUPPLY_LDO1_IN, RT5682S_NUM_SUPPLIES, }; From patchwork Wed Nov 2 18:20:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= X-Patchwork-Id: 14434 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp66833wru; Wed, 2 Nov 2022 11:25:43 -0700 (PDT) X-Google-Smtp-Source: AMsMyM704zlq6qH73hSb+HTu2hfkWmg6nooMd009w585qAHvXr+DK3V+zIPkvWXvN2cmbA1hVX7z X-Received: by 2002:a17:906:86ce:b0:7ad:fe28:8a0f with SMTP id j14-20020a17090686ce00b007adfe288a0fmr5677656ejy.540.1667413543321; Wed, 02 Nov 2022 11:25:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667413543; cv=none; d=google.com; s=arc-20160816; b=dRBBKfLg7SJO/RMhtVuC1rTZ/GbcWile7obv5kekq4FkQqT2t4LwGwfZFvfowGnf/U ypYy4MZRfnFhLlHho5LP7B7rRMxGQfZqWpe6cmhZdKRtvhOwyr/lyGL+FL1k98MYnk8h EhlF6QQADT4c8mmU/DBp2PNdYScL3Cz2d8Ebe7kWb68Z9MZYnAGpuwDbzpdxrhKqAN0Y so7sUS+F4av7dThLrHo1dwECX9ylBUnY9yb3LL4c7FG7nRr7wJuL2rlkIGwry2xMCGiH GbTTe2KIdTyYQO+ggWSrQJHTJ7t/RCWFE5VVoKExRK/rRcQ2XXj4hSWmW7DZYQrr1Pwm 70Sw== 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=LNxMPDQ4I9nSVCBkqE/Aq8juk8F/8T0qswmlIgPz2Co=; b=DbnbfsukEN93oWgckrGj16XKcTDDiQIN/+OoRlpHFflfdekDWPFQZj7IHfl5Q9ttgE BrWTYJk5sL2yb5GP+Qky/UpwgMI3CRSX9Ter2IBuMYBroDsEHBdWoNFkm0ANvZRtiieF MfSka3rMmgqduMx9CSIHVicoS7DIvITyLjlKVcTmcWNor4CzErbIuX0BNpsRkZmDRvUE sFuw9zFCYcvOvQ2e8BMqOHX7eUy9Wa3K1nxgznj9E5UTMJgeTMe8TH7s9NNWAH+YPnSw mZCOjltsjEPbsUFq/76MQYAoL+1FDMDFSSKlDA36ND9u2fkOCMa2RmUBZtFQOAmDvNuz yJMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=FXJbnowp; 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=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l3-20020a170907914300b0078db371355esi10833857ejs.987.2022.11.02.11.25.19; Wed, 02 Nov 2022 11:25:43 -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=@collabora.com header.s=mail header.b=FXJbnowp; 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=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231649AbiKBSUs (ORCPT + 99 others); Wed, 2 Nov 2022 14:20:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45818 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229954AbiKBSUU (ORCPT ); Wed, 2 Nov 2022 14:20:20 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0EB9E2F395 for ; Wed, 2 Nov 2022 11:20:19 -0700 (PDT) Received: from notapiano.myfiosgateway.com (unknown [IPv6:2600:4041:5b1a:cd00:524d:e95d:1a9c:492a]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: nfraprado) by madras.collabora.co.uk (Postfix) with ESMTPSA id 8E717660294A; Wed, 2 Nov 2022 18:20:16 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1667413217; bh=XepAn8pB00cuXojd4bCKRy311k713d3dutRJPgty0oM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FXJbnowpj5fivK9/7RYMlEUHYX3i70/CGppSC/K753X5zCcVnZIVSNe5eQzrbpUGK o6MQKi59CXaw7joeYP7u9foYRYffcqjpO076/MIWUY3U3TLJDxB4knOsD2/WnjUqLn 703LFdCLHYCGp+Lg4yfaFjoKytN3Lk4kYeAqgpvcD9AxjviRW68Q3mn324xqCmX2vS nObwWqX4yLwAQtlcgK0GJ5UFUgjVDQ6V8cOz0Bz9AaGR0Jx5VpN74vO70aZUgfyLV4 tXqyONUQ66Po4vvYuVZFWZZVcKmBOc1R3eEA+MVAwGDHsDdLxaFDKFNUw2tYCG4PYB zg9xSGElm4ILg== From: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= To: Mark Brown , Bjorn Andersson Cc: kernel@collabora.com, AngeloGioacchino Del Regno , Chen-Yu Tsai , =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJh?= =?utf-8?b?ZG8=?= , Jaroslav Kysela , Liam Girdwood , Oder Chiou , Takashi Iwai , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 6/8] ASoC: rt5682: Support DBVDD and LDO1-IN supplies Date: Wed, 2 Nov 2022 14:20:00 -0400 Message-Id: <20221102182002.255282-7-nfraprado@collabora.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221102182002.255282-1-nfraprado@collabora.com> References: <20221102182002.255282-1-nfraprado@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748409823296953179?= X-GMAIL-MSGID: =?utf-8?q?1748409823296953179?= Add support for the DBVDD and LDO1-IN supplies. Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Nícolas F. R. A. Prado --- Changes in v2: - Made names uppercase sound/soc/codecs/rt5682.c | 2 ++ sound/soc/codecs/rt5682.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/sound/soc/codecs/rt5682.c b/sound/soc/codecs/rt5682.c index 2df95e792900..7e3eb65afe16 100644 --- a/sound/soc/codecs/rt5682.c +++ b/sound/soc/codecs/rt5682.c @@ -35,6 +35,8 @@ const char *rt5682_supply_names[RT5682_NUM_SUPPLIES] = { "AVDD", "MICVDD", "VBAT", + "DBVDD", + "LDO1-IN", }; EXPORT_SYMBOL_GPL(rt5682_supply_names); diff --git a/sound/soc/codecs/rt5682.h b/sound/soc/codecs/rt5682.h index 52ff0d9c36c5..d568c6993c33 100644 --- a/sound/soc/codecs/rt5682.h +++ b/sound/soc/codecs/rt5682.h @@ -1424,7 +1424,7 @@ enum { RT5682_CLK_SEL_I2S2_ASRC, }; -#define RT5682_NUM_SUPPLIES 3 +#define RT5682_NUM_SUPPLIES 5 struct rt5682_priv { struct snd_soc_component *component; From patchwork Wed Nov 2 18:20:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= X-Patchwork-Id: 14439 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp67562wru; Wed, 2 Nov 2022 11:27:22 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5bJ2gFz+4CfmK4wSM9CcRpcd6+iw1Qu5UN91lOjngSpUFRI4q6+RrOq/AiivT/w4oVbWxU X-Received: by 2002:a17:902:e791:b0:186:eea2:49e2 with SMTP id cp17-20020a170902e79100b00186eea249e2mr25629608plb.10.1667413642200; Wed, 02 Nov 2022 11:27:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667413642; cv=none; d=google.com; s=arc-20160816; b=HJQJ5/MVoXMDQ4I5omxprROl7O14gwS61171Irfdg6x4ptl1cwvEzWsPrjb2g6BE/l b6qwCQtTJdmlT7qASaD34IoJRk4BRBwqqma5nRMFb6LZ48j97nuj2nL542vNEN7Moo1R 6ZrLTK5MFjMXznzer8sD7JwKnBhsDXEzAy8NougtgyrLDqXnJHu72bWpf6ZDrTMWLU+q 8AWavY4xVhZuZp8x5pNrPzzT/zvyc6Ko1vm0elC5W42ZaSYKM+ZG87MkHf/qPWxswSxR FAiKyykJQlMkkPU+ClBHiBbK0WHrCMxE5yh1VJg3OGFngvYemkVneYU5HuQaCzF1YAr9 2yJw== 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=z1YsMvMXDEFDHx7WQajZOdfGSSDKsrEcW4MabFMVBx4=; b=FGlWbxaIbxN76TilwOf2a5Kp66IsCmwjnyzHLQCpeWgIzg0LhCObJuxnV4SCXrMn5x gDGG1xsCTcG/62K15dHOgAvaCAnbCXqg5c7Eia7wKzrIagY/HigXM+vqF+ZQNG46Seio BLvOIFqzvXRJPyv1mUL/40EAArpbYsjlIRQy7OzAOkKvCPyK5aBSty69RRSDgTKCrBXX CWnfnMLNbjr0ULuFrqcjF/LzbnLLexMW0EKez77vAzbG45NrMeCJgMk3ii/3tgIFdNYE Swp2qVs6VtihyI5WwPRJj1pChlq61eJnu253dyg/sp9TGE/wgpQEA4kz4qka3uq71u3I w7aA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=ataL7fEp; 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=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b22-20020a631b16000000b0046040a8c039si16938757pgb.122.2022.11.02.11.27.09; Wed, 02 Nov 2022 11:27:22 -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=@collabora.com header.s=mail header.b=ataL7fEp; 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=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231660AbiKBSUu (ORCPT + 99 others); Wed, 2 Nov 2022 14:20:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45270 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231362AbiKBSUW (ORCPT ); Wed, 2 Nov 2022 14:20:22 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C801B2F39D; Wed, 2 Nov 2022 11:20:20 -0700 (PDT) Received: from notapiano.myfiosgateway.com (unknown [IPv6:2600:4041:5b1a:cd00:524d:e95d:1a9c:492a]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: nfraprado) by madras.collabora.co.uk (Postfix) with ESMTPSA id 4A87C66028C5; Wed, 2 Nov 2022 18:20:18 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1667413219; bh=Y/oGfF2ZKbAfSuy9UNRSZc4k47fY8VQOpolmGqIEoTI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ataL7fEpHIx9UT+p1PoG0b8SvfuivGEoZFd9lfIONLl+K7lT0D5NlMPzrmJfneVnj qt3AGL2wbHVYDvZUoEF691Cue4hiO8rvqxAauJu/vYrdimN8i4uF22fvW4NrBoi8tS 0pYRq/fk1iEMqPbqORY+6GddiE6gqarBd2QFzDTfOepbbfB0EedeBt6sCiawM/hfEW cfwy9FZym/2BdlL2nxxuCnFqMVEWl4I6B4eXCClbkjzc+DDxB2Dab7rM2bZ+OZufpp 1wJfvYc/oT46wZ9SnfR9YWcFfsD8aa3Pvad7DrgO4MWH43LYO5BEpqCEUH5QTl1+CY GAgEppe5uNfew== From: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= To: Mark Brown , Bjorn Andersson Cc: kernel@collabora.com, AngeloGioacchino Del Regno , Chen-Yu Tsai , =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJh?= =?utf-8?b?ZG8=?= , Andy Gross , Konrad Dybcio , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 7/8] arm64: dts: qcom: sc7180-trogdor: Add missing supplies for rt5682 Date: Wed, 2 Nov 2022 14:20:01 -0400 Message-Id: <20221102182002.255282-8-nfraprado@collabora.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221102182002.255282-1-nfraprado@collabora.com> References: <20221102182002.255282-1-nfraprado@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748409926800304865?= X-GMAIL-MSGID: =?utf-8?q?1748409926800304865?= The DBVDD and LDO1-IN supplies for rt5682 are required but are missing. They are supplied by the same power rail as AVDD. Add them. Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Nícolas F. R. A. Prado --- Changes in v2: - Made names uppercase arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi b/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi index 1a1c346d619c..2adb2fbfebae 100644 --- a/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi @@ -768,6 +768,8 @@ alc5682: codec@1a { interrupts = <28 IRQ_TYPE_EDGE_BOTH>; AVDD-supply = <&pp1800_alc5682>; + DBVDD-supply = <&pp1800_alc5682>; + LDO1-IN-supply = <&pp1800_alc5682>; MICVDD-supply = <&pp3300_codec>; VBAT-supply = <&pp3300_audio>; From patchwork Wed Nov 2 18:20:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= X-Patchwork-Id: 14436 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp67044wru; Wed, 2 Nov 2022 11:26:12 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5CAFW7VIK067vjXlyM68fiOikiZX1fpmaVK1veIjcNzOmta3VWYdsUmFg4e1wa65Om7o9i X-Received: by 2002:a17:906:3607:b0:7ad:a798:cdc0 with SMTP id q7-20020a170906360700b007ada798cdc0mr24716129ejb.357.1667413571959; Wed, 02 Nov 2022 11:26:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667413571; cv=none; d=google.com; s=arc-20160816; b=Sikb/iQlwcantg4cFsVIA4YcAvkA9ad0/X7WGY8AUeOtA0WEI1wF3O3u40jo9OB1PK Q84o1GDEkIvi4kR7x+RBcSmzqMIenFcVuHwMf6NU9dSKPN9dDSy0Y84R9zLMYSltZHIg yI8v6froKLkXwywLKfdXF1quGSg/lYM3KSJ0AdHFLm1UQ+IAyzsbXFfEkFNWJ6HbZFTk tFsAIroc8c6BWbE62S+fV1479958D5GalIxW3DWy4saK/9tOvPYDOIY2HDGDFdTbQya5 FVn5W2qsFTQuf1eNgVD/SBh5gg3LvW6jE/YCRByUnliFaM/lzXHQGUhtksq8t/kC3yqL Neiw== 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=QN/8c3GbGNSCWF2nqyYqfZPm4gsyodlJteL8NKGdRxo=; b=d/ZW6LOmuAMMfn2tfT7nwZUZ4yCHV8D1tXoXxr6YUR1Sx3Fw1R2qat/0CXhQLTmm11 rG5dq0BmzYWUwsblnt6SDWT1RuA36p0pwa1bNfXDvr3ySnrFg86rk5EAtPGgqmOOmkvm xnwLD7CcWNn13OmynNfJH3VGTGGkqjJIUP7lEKS8FQ9bjvvkEcad9s8aY+rHWb+874x+ zyY+mxLhKOegrlD6zQDYcgHAwduTlB6BRWOl+gm4HsonnNH+r2riJidas5nZ+4S+KDB8 LkahbeQDLoS9Pzfez5elRNPnX7vEkcirlT2Cc0/B5b6j+eskusHfCvxhLPA7EAqBJQUV kJsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=CxOSZ5wZ; 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=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qw17-20020a170906fcb100b0078db3762061si11591858ejb.439.2022.11.02.11.25.48; Wed, 02 Nov 2022 11:26:11 -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=@collabora.com header.s=mail header.b=CxOSZ5wZ; 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=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231168AbiKBSUx (ORCPT + 99 others); Wed, 2 Nov 2022 14:20:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231484AbiKBSUX (ORCPT ); Wed, 2 Nov 2022 14:20:23 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 13A412F39C; Wed, 2 Nov 2022 11:20:22 -0700 (PDT) Received: from notapiano.myfiosgateway.com (unknown [IPv6:2600:4041:5b1a:cd00:524d:e95d:1a9c:492a]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: nfraprado) by madras.collabora.co.uk (Postfix) with ESMTPSA id 06A4166028F8; Wed, 2 Nov 2022 18:20:19 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1667413221; bh=/QzOMlinMw2KNMfW0WPe42TTNOsZDuKQIwgbcG/lv+I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CxOSZ5wZ5gas/AvmGFbr29AnR2CBbW8oShzREFwqzRR5fWmklTj5KVLayT1xwVnfP ef6J4cFRQbZcV/SMwM6MSstFV0hZpdJGgAKb+NdbcF9+cStkD5kWiUSJ81Bp/8XJVh EiTyrXyURJGVXF7cQ2mvhgWOkl0XfcIJL7xWbP+k6ZnGI6ps0lyWDADXjZrmJ9qpIf DJJgg5Wy1pOqcVxY8tst05lrB2mZ3PgZv78b7oL4Irj2u+dAWBNhpsaVEBTPg0Pjy9 YLUy3HJ8fDHs7KiVM9kLLtFLrA4h5RzIe0vpzbgfVq6DTpSntXeaajTwX4lVXxOx0u 1OHIkDELuYQlQ== From: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= To: Mark Brown , Bjorn Andersson Cc: kernel@collabora.com, AngeloGioacchino Del Regno , Chen-Yu Tsai , =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJh?= =?utf-8?b?ZG8=?= , Andy Gross , Konrad Dybcio , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 8/8] arm64: dts: qcom: sc7180-trogdor: Remove VBAT supply from rt5682s Date: Wed, 2 Nov 2022 14:20:02 -0400 Message-Id: <20221102182002.255282-9-nfraprado@collabora.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221102182002.255282-1-nfraprado@collabora.com> References: <20221102182002.255282-1-nfraprado@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748409853731497450?= X-GMAIL-MSGID: =?utf-8?q?1748409853731497450?= These devicetrees override a rt5682 node to use the rt5682s compatible, however, unlike rt5682, rt5682s doesn't have a VBAT supply. Remove the inexistent supply in the rt5682s nodes. Signed-off-by: Nícolas F. R. A. Prado --- (no changes since v1) arch/arm64/boot/dts/qcom/sc7180-trogdor-kingoftown.dtsi | 1 + .../dts/qcom/sc7180-trogdor-wormdingler-rev1-boe-rt5682s.dts | 1 + .../dts/qcom/sc7180-trogdor-wormdingler-rev1-inx-rt5682s.dts | 1 + 3 files changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor-kingoftown.dtsi b/arch/arm64/boot/dts/qcom/sc7180-trogdor-kingoftown.dtsi index 74f0e07ea5cf..e0fb83a9a0b1 100644 --- a/arch/arm64/boot/dts/qcom/sc7180-trogdor-kingoftown.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180-trogdor-kingoftown.dtsi @@ -11,6 +11,7 @@ &alc5682 { compatible = "realtek,rt5682s"; + /delete-property/ VBAT-supply; realtek,dmic1-clk-pin = <2>; realtek,dmic-clk-rate-hz = <2048000>; }; diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor-wormdingler-rev1-boe-rt5682s.dts b/arch/arm64/boot/dts/qcom/sc7180-trogdor-wormdingler-rev1-boe-rt5682s.dts index aa605885c371..6225ab8329c3 100644 --- a/arch/arm64/boot/dts/qcom/sc7180-trogdor-wormdingler-rev1-boe-rt5682s.dts +++ b/arch/arm64/boot/dts/qcom/sc7180-trogdor-wormdingler-rev1-boe-rt5682s.dts @@ -19,6 +19,7 @@ / { &alc5682 { compatible = "realtek,rt5682s"; + /delete-property/ VBAT-supply; realtek,dmic1-clk-pin = <2>; realtek,dmic-clk-rate-hz = <2048000>; }; diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor-wormdingler-rev1-inx-rt5682s.dts b/arch/arm64/boot/dts/qcom/sc7180-trogdor-wormdingler-rev1-inx-rt5682s.dts index 7116c44c8d85..b40b068dad6a 100644 --- a/arch/arm64/boot/dts/qcom/sc7180-trogdor-wormdingler-rev1-inx-rt5682s.dts +++ b/arch/arm64/boot/dts/qcom/sc7180-trogdor-wormdingler-rev1-inx-rt5682s.dts @@ -19,6 +19,7 @@ / { &alc5682 { compatible = "realtek,rt5682s"; + /delete-property/ VBAT-supply; realtek,dmic1-clk-pin = <2>; realtek,dmic-clk-rate-hz = <2048000>; };