Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp249323rwi; Wed, 2 Nov 2022 11:27:04 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5cNZdAflFv4vI3YMPGMcMo8mz4bg0reIgv2ZHMXzAk5JihGsyYpnqDSx8Bikl71HGenXWy X-Received: by 2002:a17:907:31c9:b0:740:ef93:2ffd with SMTP id xf9-20020a17090731c900b00740ef932ffdmr24927789ejb.584.1667413624731; Wed, 02 Nov 2022 11:27:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667413624; cv=none; d=google.com; s=arc-20160816; b=n7VbS/BrqTgMvEPTSHv1ZNuOzu7aWEpaFE+d62j6iZDdOilWcM1j8DS3NCkyQwmn4J bBZPEK5R014I3VRdddWP+6efVgBNonDDaCeQhQtI2YcwPfI8zQLuDzfgB++Sq1OCmcTO f9JaOeyeldAgYMUXcyzHv3cJ3Mgl+l+McM3q7UTAFKDJCbJZr5hDoEfsPCqCvqbWj1s2 nCLuw7CouGsyHjE0MPvmx6+Ze64sPtBmjRa4DK+hD3npl5X0A4sVqc5rZlHyM0DhV3JE wBiQw7jx4k/mdnJpcO15yAEootrt7qJg27d9Ilt8NHzVH/kePh3inkPZSM06TB3wrN24 +mhg== 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 Return-Path: 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.26.29; Wed, 02 Nov 2022 11:27:04 -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 + 98 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?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?= , 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 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 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>; }; }; -- 2.38.1