From patchwork Fri Oct 28 20:55:32 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: 850 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp1039068wru; Fri, 28 Oct 2022 13:58:21 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4EbQziGgoPCYHbjttykHctO5k1zFbJrnbOAS20d2Nmp6BRWpSEgZskSp3k7PO2V4fIjKRV X-Received: by 2002:a17:90a:4bca:b0:212:e3df:abfc with SMTP id u10-20020a17090a4bca00b00212e3dfabfcmr1195143pjl.242.1666990701443; Fri, 28 Oct 2022 13:58:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666990701; cv=none; d=google.com; s=arc-20160816; b=xRO7H//zV+r6q4hM7gK/8fYD5uGh1uzzbAsRztV8VnaLY91UEDoZE0gwj2D6NVnPeL sgZQZb4TEBhdfcxZ9THxmuc2V7PVn8cgO2NT099FkfQG/9KBNJoNT3ClpHBiFVLPBTnj 9MbtjqhKVTpIw+5lAjjFEGf6svwyEWFf32Ko9Jc77nVGQaeoEZ4tvMnvi0MoNuC7IaUA PyW3XuSJNilnxZ4a8yJ9XKs/u18p39ziesWQYbBdBojlkk4/nrcEYUymg6fbylvdAw/e ZDwOXclk6z1VjHz8rOhXl//U99sMOfjOh/7htU2uLSaFXIcE33SxUXj4yb3i5Jfi0w5Z T06w== 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=IcQWUzAPZYf8U8+QJTyJHgu0pRcMAWfvCt9GkrOpjgY=; b=vXCkf87jnnsyE2NDGCReL25lGwBfCMQj/F3tzUS2Mgw84FwaOgytAPa+qYfEMzQjXN 76lJXH5pFbPryKHaZwrVElBK2swh/Bc7SSWf81d57j/mYyk/FSrGJD5gh7BEEph/jFtA Lt8h07yVqxE5pvhlR/ltMmqPAOlgDssMOkD/SeSKk19ztVDeslKg2hDovrpUNHvTmDEF S5LzhzLYdpzWSHbaroJkKWLhXgNrOHJpDeqnSSP1oMU9Tglo69ZpXGOnGTbNBAxwmyrF TTYCIPqmJvRqltehQ+s+s/gQt5ShpWOny+Hhgizj3CoTiUngiqpo53VyyztOIBwt9dt+ hW2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=C7RFbtoq; 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 kk11-20020a17090b4a0b00b002008d0b0838si7227750pjb.178.2022.10.28.13.58.07; Fri, 28 Oct 2022 13:58:21 -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=C7RFbtoq; 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 S229968AbiJ1Uzw (ORCPT + 99 others); Fri, 28 Oct 2022 16:55:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35458 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229940AbiJ1Uzv (ORCPT ); Fri, 28 Oct 2022 16:55:51 -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 C48B51D2F7D; Fri, 28 Oct 2022 13:55:48 -0700 (PDT) Received: from notapiano.myfiosgateway.com (zone.collabora.co.uk [167.235.23.81]) (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 16028660293F; Fri, 28 Oct 2022 21:55:43 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1666990546; bh=iSgsGlmn8UzFPy/Bi6ux9UCWV6sTSj4Y28v6dJJ/BVc=; h=From:To:Cc:Subject:Date:From; b=C7RFbtoqRooAQPAssjew96nxn7HNdspClPWlfGz2SoJULrIu+2lIB88QzX1GXDBDB r3d2Xc6a+cgIi/tjSsOWCktvM+Gn9YtBDgfw2s3rcZ/1CVY36Qy8Fi4wtEOUT47F+k rv2k0L3tNocOPg1YGL4Zb78aPqZ0bgwEeHDqOtzGIwsGsdt48H1S4SNHhy+9Kw7wU5 +0lUBCGkmZB1p1RfAMcFyX0ivCe9f1zrhq35POGZt1hsihLcWPfaRoX0fRlmAT301i HTbHjNqoZy7ClBn3KbsHkJC9YZno0YKHdw0t2W6oHdgHINF69vlj/G7OgtvcRRIdJM 2jmXm+sO9ge1A== From: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= To: Mark Brown , Bjorn Andersson Cc: kernel@collabora.com, AngeloGioacchino Del Regno , =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= , 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 0/8] Adjust usage of rt5682(s) power supply properties Date: Fri, 28 Oct 2022 16:55:32 -0400 Message-Id: <20221028205540.3197304-1-nfraprado@collabora.com> X-Mailer: git-send-email 2.38.1 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?1747966441369285092?= X-GMAIL-MSGID: =?utf-8?q?1747966441369285092?= 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. 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(-)