Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp307480rwi; Wed, 2 Nov 2022 12:09:17 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7Rr9LSOxnlTC/jbBdzt9Y3u4V+puMZx4lvAiSt+IhO9YigNSqSSx76c4xBLW7+fbhdFwgC X-Received: by 2002:aa7:ce92:0:b0:461:78c7:dfe2 with SMTP id y18-20020aa7ce92000000b0046178c7dfe2mr26998307edv.342.1667416157326; Wed, 02 Nov 2022 12:09:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667416157; cv=none; d=google.com; s=arc-20160816; b=kXiFkG4UIE4qmzOAJFUarOkC4iCCbneoZKzNJwg6CfBjSoWb2BR42FdC1XzP5RFyu1 IejhBUNF6BlCIZiEtNUZnr4VUnfP66hoCHVZOUEYgqrdmpV4atIjn/upts8bYBUEKvjN mrS2fLGEcpEtkGuFAFzTL8CzKq8O6BhamXfeNWnG55G8sJQBXbIfSrkj7GIoSkA61Q0R T0lHjaZHwlqbmKWdt3K6usL7Xj6GsNWRMcqd5vVuGNPHkXUw0Zg/LIBv2vpbAYruuT6O rdMILXah3/Gyrz1z4YIdwT1YERhZUjPgy7v9OjYCXBRBREDhvOwbbZpx2doFPYexyPY9 6CLg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=PDTICUrIa6uezAyoMBbNHIh2G0OVduPn6bTeVd/VPAw=; b=ohbZaRPFcphOrIBIt182H+1SZ/apNiA33EXN+HNJDwbZNt+EAj6bNmo7CExDiHF0NH VassJhxO9rcx+4JFGZ3awZVAsPNpzO5XVZ1/KLPjncsLPjZLgcfHJQpnaFV1IERmbYC/ +Z4UBKKC5V+fAPhdHyD70XUTuGnM5hUBRN7e7y70gmfRxcjiuC/KI4QXbo8B4U7KELFL JNWqlhtl2VxudfcxTYfob9Juuc85F677MrPfi3tnid7hoduH5gI2Doib8clgSs0j/pos /iHteOpP86dl9RrhDoJtcivgDv4bhEP16yEcbxQgdLI3st0taOqn9HewLNYaZSkUTbyR ZktA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=omK34qDx; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id js7-20020a17090797c700b007adbeb3798asi16797085ejc.482.2022.11.02.12.08.52; Wed, 02 Nov 2022 12:09:17 -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=omK34qDx; 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 S231234AbiKBSUS (ORCPT + 98 others); Wed, 2 Nov 2022 14:20:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45804 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231431AbiKBSUN (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 3DB9B2F388; Wed, 2 Nov 2022 11:20:09 -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 EC23566028BD; Wed, 2 Nov 2022 18:20:05 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1667413207; bh=73yq3hSmCgnnBnC9+ZUyzTnv19Mj0CWcIsrmUiNrmxI=; h=From:To:Cc:Subject:Date:From; b=omK34qDxLzEuDlGtMXDGhcAOcY4mxHxqYYS4VJQp20qGEOIofJX3PmEhQrJXS6RHt 39fe/AbQJxKAqXZ5KKlg0k2gP/D8pbZGTl18E4kHjW8sgEB7KyxV5F/NifoYyI38q7 gooAraSdx3SvF0rz3tpLFwGOLuMPcERWAJwZTI8C3m7cDuFfa0uBSwupvNbd6+etB8 /fuf9ZEXDZJDRknvb7egxXCZ+R56vncD21qZh1ad1nHwQEGPICo018iLqy/CUMuvSF 6j1KQfr2dKLFmOarx6lC4Hs+V5HFf0VDMCPQxmM0+/G9KxGg7Wo27Hy1iumSxnEUlk 0WSHSrkT3SLig== From: =?UTF-8?q?N=C3=ADcolas=20F=2E=20R=2E=20A=2E=20Prado?= To: Mark Brown , Bjorn Andersson Cc: kernel@collabora.com, AngeloGioacchino Del Regno , Chen-Yu Tsai , =?UTF-8?q?N=C3=ADcolas=20F=2E=20R=2E=20A=2E=20Prado?= , Andy Gross , Derek Fang , Jaroslav Kysela , Konrad Dybcio , Krzysztof Kozlowski , Liam Girdwood , Oder Chiou , Rob Herring , Takashi Iwai , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/8] Adjust usage of rt5682(s) power supply properties Date: Wed, 2 Nov 2022 14:19:54 -0400 Message-Id: <20221102182002.255282-1-nfraprado@collabora.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 This series sets straight the usage of power supply properties for the rt5682 and rt5682s audio codecs. These properties were already being used by sc7180-trogdor.dtsi (and derived DTs like sc7180-trogdor-kingoftown.dtsi). We start by documenting the power supplies that are already in use and then add few others that were missing to the bindings. Then we update the drivers to also support the new supplies. Finally we update the trogdor DTs so they have the newly added but required supplies and remove a superfluous one that was causing warnings. v1: https://lore.kernel.org/all/20221028205540.3197304-1-nfraprado@collabora.com Changes in v2: - Made new supply names uppercase to be consistent with the existing ones NĂ­colas F. R. A. Prado (8): ASoC: dt-bindings: realtek,rt5682s: Add AVDD and MICVDD supplies ASoC: dt-bindings: realtek,rt5682s: Add DBVDD and LDO1-IN supplies ASoC: dt-bindings: rt5682: Add AVDD, MICVDD and VBAT supplies ASoC: dt-bindings: rt5682: Add DBVDD and LDO1-IN supplies ASoC: rt5682s: Support DBVDD and LDO1-IN supplies ASoC: rt5682: Support DBVDD and LDO1-IN supplies arm64: dts: qcom: sc7180-trogdor: Add missing supplies for rt5682 arm64: dts: qcom: sc7180-trogdor: Remove VBAT supply from rt5682s .../bindings/sound/realtek,rt5682s.yaml | 23 +++++++++++++++++++ .../devicetree/bindings/sound/rt5682.txt | 20 ++++++++++++++++ .../dts/qcom/sc7180-trogdor-kingoftown.dtsi | 1 + ...0-trogdor-wormdingler-rev1-boe-rt5682s.dts | 1 + ...0-trogdor-wormdingler-rev1-inx-rt5682s.dts | 1 + arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi | 2 ++ sound/soc/codecs/rt5682.c | 2 ++ sound/soc/codecs/rt5682.h | 2 +- sound/soc/codecs/rt5682s.c | 22 ++++++++++++++++++ sound/soc/codecs/rt5682s.h | 2 ++ 10 files changed, 75 insertions(+), 1 deletion(-) -- 2.38.1