From patchwork Mon Jun 17 12:28:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kartik Agarwala X-Patchwork-Id: 13700543 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 54062C27C79 for ; Mon, 17 Jun 2024 12:28:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=/UWyVc4M7eTb5AGiP+8W1B/GV5kGh/LRVFNVuCTnSM0=; b=GDFHc4DpX4zXDEKWjgVv7EGQj5 NvslqG9uUTYIw8fTekAUtXttYJXjelKImtcS9yBP8K/QbDW+7hKCyB45KHYmTwdAsz5AZWZVWivoT QhAjXSeO+dWqE/cIo5iHUdoHPpbZG96G62S06HXZTsHkJl02YN/vEfLjeyVIX7ukBOsVzOjpnpbcu U6NzwOKQ2Y/T/rQcYikCxz6MWhfIysKzSumMiRnHwHgiiLOlehk4abFCuHe5OM2Gqp3izw7r0ic+Q jB2ZMVBbpnt/UwRRKKQN1OZHdnjl63GBrhqL/mncY/FvdEc1Z9IZkJS5swliKn7MFliXVopkr/CUB qw3lQclw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJBTn-0000000Ae8v-07Ko; Mon, 17 Jun 2024 12:28:59 +0000 Received: from mail-pf1-x430.google.com ([2607:f8b0:4864:20::430]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJBTi-0000000Ae6I-2f58; Mon, 17 Jun 2024 12:28:56 +0000 Received: by mail-pf1-x430.google.com with SMTP id d2e1a72fcca58-70601bcfddcso773838b3a.3; Mon, 17 Jun 2024 05:28:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718627333; x=1719232133; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=/UWyVc4M7eTb5AGiP+8W1B/GV5kGh/LRVFNVuCTnSM0=; b=lWm4CrGuc+rtsRdrrle4JWpaAdU1h12MhtEStG7pYEwBe9kIoJZOmOWiA9hmrO9jJW tLvb844BjOZulvdA/X6AFNmhIddWGyLrJgz1ymil9D5KK6FXVuPdJffWDfXIJanz82HZ ByH+RxgKjAM4YdTZZ5WlnxkMmfLJTZwGs2SisvmztJH6esffwpIg3RQHVC1etkSECfzf O9qnaRe1l+RQseQuQn8u7K02qfN8pyjnrmjo+lggPX2ZfqjTt4sp/DRtBCpjijLEzK5k A5ycVE8u+scdZf1yjV/AwVF1Q3yoqCR/Gwic6Jz3SxCe+bepCsjVwl91Hx517fmnuAc0 ATIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718627333; x=1719232133; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/UWyVc4M7eTb5AGiP+8W1B/GV5kGh/LRVFNVuCTnSM0=; b=ExW/6hGcFJP6jDqcAJPzwKfQ18RBORGdkmEvOwPQcMnv+nlsClX5Ab/vCNUYoNXunu jxz3Ox/vfmTwy2Lxwr7H8DWz8797G7E2n/CbGdFqk7uepW4ISdHb57sp3DsZOxMp8sec I1IPt+ZgffbW9Gj5wOhhAxUsxyAT5T6x70btbEK3RcrcmBMA1sOw8lcrVcT0UG+dhbVf WmKXlmwTO7+de/RRfgivmp+ryPyMBLBUl+kbRohbDBm5sTm/iU3aHMW4KdfWQ3nb6+xZ oWhmFR3uHLLpW5h2oYx3U/FyV7Nae56vMnI5xnd2sApQIowP5dzBfzLRxEeIleZ4j+oN NbtQ== X-Forwarded-Encrypted: i=1; AJvYcCWflgNrwtKW4blhiNnNw8THdybFBtsm7afR15wfWZ5OwbBKfDdSLEFJ/C7NgNA3+lr0h07h99dAqliULsBARJ46JBHIh6F9cHCUFmv8toGrWsmAjYIN15oLZTOscOWmfRdnwH2xlMC8JGceRyZoLFQNuGppLfP73ow= X-Gm-Message-State: AOJu0YxEnBcQWAZsZDJmLS+be+dUw0bvoR1W8dY5/YuM/oi+AsFj+oG6 JLkv48bKxpcM3dDPYyLBhRbBNLF5HFB6iJ7L/VarXOCYo9Zjtv4j X-Google-Smtp-Source: AGHT+IFX8izB3mF6o1tiQTdc5a0wzAqibuAMkHHzv5Ut0LqmOs9G8XhTl1gow2d9zNLssWlR5qsHrg== X-Received: by 2002:a05:6a20:6a0e:b0:1b8:9d79:7839 with SMTP id adf61e73a8af0-1bae7effc98mr12104061637.29.1718627333484; Mon, 17 Jun 2024 05:28:53 -0700 (PDT) Received: from localhost ([103.139.191.219]) by smtp.gmail.com with UTF8SMTPSA id d2e1a72fcca58-705cc96ad04sm7270453b3a.64.2024.06.17.05.28.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 17 Jun 2024 05:28:53 -0700 (PDT) From: Kartik Agarwala Date: Mon, 17 Jun 2024 17:58:24 +0530 Subject: [PATCH v2 1/3] ASoC: dt-bindings: mt6358: Convert to dtschema MIME-Version: 1.0 Message-Id: <20240617-mt6358-v2-1-5d9f0e99941e@gmail.com> References: <20240617-mt6358-v2-0-5d9f0e99941e@gmail.com> In-Reply-To: <20240617-mt6358-v2-0-5d9f0e99941e@gmail.com> To: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Lee Jones Cc: linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Kartik Agarwala X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2904; i=agarwala.kartik@gmail.com; h=from:subject:message-id; bh=GviW3vyE7t+vL36TePuj3TAtuG/gJm5Rgr4v+yi5ads=; b=owEBbQKS/ZANAwAKAXiEk+OPlULqAcsmYgBmcCvzb44A13hQbJW0d9knuBiV2aIhmZMQt5B9b Li6sNgX6emJAjMEAAEKAB0WIQSJkbnrkCGnamD0k/R4hJPjj5VC6gUCZnAr8wAKCRB4hJPjj5VC 6h7yEACO+1WuhhLpKGdAP1zmh186r4yNnl3tAWy0/iiH1rmNtLmooqWEB/6c2vr4MKJtQsihXvk y88oe4TCDC+dChZOlTTm2z+HaFg2315xokSnvewkjkctYYoJczspb8htCsgXy5mamSYqpNtTFpt FsM0vVGG/SLz3lVITh6jd+PWHWNnDFCSGvIIc/Kt/AWr86sxOy5RXoPx/FR7FgAxBNcAl1S9yPh 8CfxuHz0IPso5X9PyUrCNpbhFUdquFoVPzsSKQPMk9KvAM1qhXlv5ZYs+E/+x436RFeqXRUvOhO hyAOWEMel7lHOsmP60TVqw7zR86Og6feoJDlBZkc7Q7e484tprwVcHJGABJNnXPZWd9XkoYvGsP 0O2oiZF/wAZFhi17hn4QVL2tZ0xzxjjvlDfR6K+lJhsYT1yBpFYaVV6w4XqKZgbhaGCc0hkJPyL dtS0rQZxMh0TxjQhOMg1cc9FvecFmCMUM2kRpF85QdC9dAxaDForWax7uPIh/loaCg4HI2rOHTe Z5s6t/j7+mX/BaWZy8aPBUfIxc4f2Moqt8MKOv1gTabe28HQcOGIBEWl3o2/VJtIcclNeuJtl1H mSZivqkYIKAKBBYE14TiAvgZmb8BLlb99slcgHvSwu4N9ZoEvaR3Dv1MOYvdlz/Cf7+H8/5m9U1 PNAR/fEp9snz31g== X-Developer-Key: i=agarwala.kartik@gmail.com; a=openpgp; fpr=8991B9EB9021A76A60F493F4788493E38F9542EA X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240617_052854_728790_8F802231 X-CRM114-Status: GOOD ( 13.98 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Convert from txt to dtschema --- .../devicetree/bindings/sound/mediatek,mt6358.yaml | 51 ++++++++++++++++++++++ Documentation/devicetree/bindings/sound/mt6358.txt | 26 ----------- 2 files changed, 51 insertions(+), 26 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/mediatek,mt6358.yaml b/Documentation/devicetree/bindings/sound/mediatek,mt6358.yaml new file mode 100644 index 000000000..336d2d969 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/mediatek,mt6358.yaml @@ -0,0 +1,51 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/mediatek,mt6358.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Mediatek MT6358 Audio Codec + +maintainers: + - Kartik Agarwala + +description: + The communication between MT6358 and SoC is through Mediatek PMIC wrapper. + For more detail, please visit Mediatek PMIC wrapper documentation. + Must be a child node of PMIC wrapper. + +properties: + compatible: + oneOf: + - const: mediatek,mt6358-sound + - const: mediatek,mt6366-sound + - items: + - const: mediatek,mt6366-sound + - const: mediatek,mt6358-sound + + Avdd-supply: + description: power source of AVDD + + mediatek,dmic-mode: + $ref: /schemas/types.yaml#/definitions/uint32 + description: + Indicates how many data pins are used to transmit two channels of PDM + signal. 0 means two wires, 1 means one wire. Default value is 0. + default: 0 + enum: + - 0 + - 1 + +required: + - compatible + - Avdd-supply + +additionalProperties: false + +examples: + - | + audio-codec { + compatible = "mediatek,mt6366-sound"; + Avdd-supply = <&mt6358_vaud28_reg>; + mediatek,dmic-mode = <0>; + }; diff --git a/Documentation/devicetree/bindings/sound/mt6358.txt b/Documentation/devicetree/bindings/sound/mt6358.txt deleted file mode 100644 index fbe9e55c6..000000000 --- a/Documentation/devicetree/bindings/sound/mt6358.txt +++ /dev/null @@ -1,26 +0,0 @@ -Mediatek MT6358 Audio Codec - -The communication between MT6358 and SoC is through Mediatek PMIC wrapper. -For more detail, please visit Mediatek PMIC wrapper documentation. - -Must be a child node of PMIC wrapper. - -Required properties: - -- compatible - "string" - One of: - "mediatek,mt6358-sound" - "mediatek,mt6366-sound" -- Avdd-supply : power source of AVDD - -Optional properties: -- mediatek,dmic-mode : Indicates how many data pins are used to transmit two - channels of PDM signal. 0 means two wires, 1 means one wire. Default - value is 0. - -Example: - -mt6358_snd { - compatible = "mediatek,mt6358-sound"; - Avdd-supply = <&mt6358_vaud28_reg>; - mediatek,dmic-mode = <0>; -}; From patchwork Mon Jun 17 12:28:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kartik Agarwala X-Patchwork-Id: 13700544 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D6B6AC27C79 for ; Mon, 17 Jun 2024 12:29:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=ENjQGXVG6zrSf3b2hbLXRZe8ZGThnN5eIJS2xnyzsB0=; b=YjEXJhF6cmX0Zk063832G77cLA UFSd4UFiTpBq5Sb/36tglYPMkp7pozOwrcY5vEz+6BZ5wfDadg42/AaRx9m+1veGD10rg4y4++CSt avvA2VIZSe1a8VYCnVg6ii4aE3+muejZ9Vhl89jsQbAcNgBTM8OPvEBTVpvubAjLESpGz82R9S/9o s+k6P1UERSzQfr1IdC1DqoFpxsR0PBWucXpZuNgSpYfr9WeeqJ5wPe0WNtmhHMhAZqWp+JOhysuKv GDaA2ZmYgesgFJsbLB/kXLemojOmYeqF3DTcSIzjQpWQGQW5a9aUwUBYp4dYG0YnogcQohrjXuU3a ygxcVM9g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJBTw-0000000AeEQ-1pXy; Mon, 17 Jun 2024 12:29:08 +0000 Received: from mail-pl1-x636.google.com ([2607:f8b0:4864:20::636]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJBTq-0000000AeAa-3Z0g; Mon, 17 Jun 2024 12:29:04 +0000 Received: by mail-pl1-x636.google.com with SMTP id d9443c01a7336-1f6559668e1so35122815ad.3; Mon, 17 Jun 2024 05:29:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718627341; x=1719232141; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=ENjQGXVG6zrSf3b2hbLXRZe8ZGThnN5eIJS2xnyzsB0=; b=GelbVw/KHeQyQ2msE9GXed1fpq7OVCFu8u125/wAjPgrP1GpU/a496E5YcdcuLuOxA 1/q5vhzLbVsQTS0O6ni6IzTaXRiQr3gCfrofqugxCwgUlM56IxNVJ4gVmklWgbT1mTDp 5YImJMrZBLIYEhBKOhtq5/4gFNtB0nDyYRbrDwgIXKDk16g8Nfi1CzhGFn62YMp0w1XZ LUiz7iZZPWGgJNC/KvYP9ugrpCvoBj1b7pUEgaOysOn4ZICP1R2fNTNvYz2sxqGbSakr pG1Rk0cAdlKXEOYwEqgFtWHSk3+B0JSlYCVdAvApRXiBpF2UIunSneZ7vL4ylmndC8Kk TW3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718627341; x=1719232141; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ENjQGXVG6zrSf3b2hbLXRZe8ZGThnN5eIJS2xnyzsB0=; b=ITYi4GsEsk/EkPDnNA02XtBquBNfJDLtcsV7WEwWaL7/k/8vLiuBD8ZyB2ZPAabl5O HBjY6vcu3C7pvtyllrIhFHfOKjCpfzYvdta78pnuy3wySSNh8d7qX4N09agEEwgPKfo6 lxykk/0msATkV8RxTrMy208rC2+dXvInHDiDDYu0kn/xzdk6WqDvcc28CLsoGbDHmSuv HJhCYTP9cDlEQeVelemhub050yKttmq2OpMTZd/4f0PvCvZLwwyHC36rtkjdc0ML4kyu sBIno1yO/4eLNuy+rvCC7q78i8fwU66jk4Ol/FF+zX8ApnsUBNfp5g2quz1O73B6rRZ4 V65A== X-Forwarded-Encrypted: i=1; AJvYcCXELHBRjpQL6b7f2Xk3EZfI0Vzco5Ux4oUhVf5pz1B4OfuoJyht7o9kMM5LNZx1H+xt6YpPbFX7C8OycX++a0FGTp0yt3kzN0RWqhIvyPzsYdGIorYE8WIcXVvtDsGDe2S27owdORaX4S2n6OIuWj0qYD3UZerfTk8= X-Gm-Message-State: AOJu0Ywerj7F3t+8qrSSWqFyfzJ6GTpm72QvdJOjytp+7uLAaYseOmzm umut1AsIMffieDuzYBxjyXiza3PAQfUxF4LclrpYx40WwY8UpJcF X-Google-Smtp-Source: AGHT+IEWH8YEfcqZ8aCC3vP7Rg2A553aHXTV4DlDBjWWBoYM1LboDHCiNYBz/dVm4EElj9SYzXAh3g== X-Received: by 2002:a17:902:da8c:b0:1f6:f521:ff88 with SMTP id d9443c01a7336-1f8626d28aemr106670315ad.23.1718627341562; Mon, 17 Jun 2024 05:29:01 -0700 (PDT) Received: from localhost ([103.139.191.219]) by smtp.gmail.com with UTF8SMTPSA id d9443c01a7336-1f855f5e21bsm76214255ad.307.2024.06.17.05.28.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 17 Jun 2024 05:29:01 -0700 (PDT) From: Kartik Agarwala Date: Mon, 17 Jun 2024 17:58:25 +0530 Subject: [PATCH v2 2/3] arm64: dts: mediatek: Add missing Avdd-supply property for mt6358codec MIME-Version: 1.0 Message-Id: <20240617-mt6358-v2-2-5d9f0e99941e@gmail.com> References: <20240617-mt6358-v2-0-5d9f0e99941e@gmail.com> In-Reply-To: <20240617-mt6358-v2-0-5d9f0e99941e@gmail.com> To: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Lee Jones Cc: linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Kartik Agarwala X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1155; i=agarwala.kartik@gmail.com; h=from:subject:message-id; bh=t6vDfDP0WnUDhtsCtioJQdhwXB9x1/6tdEwfQb8gr7w=; b=owEBbQKS/ZANAwAKAXiEk+OPlULqAcsmYgBmcCvz/vyTIuqPsDiI00NxTqHBkb/5udifcp2ZL wZL5ej26gKJAjMEAAEKAB0WIQSJkbnrkCGnamD0k/R4hJPjj5VC6gUCZnAr8wAKCRB4hJPjj5VC 6gycD/9OEGDj6BiFMD4zkN23OdiwvprN+ma57OcLYu0JEd/8tqvWJE9S9c6imQOB5Cpl1q31bKi MYrtHTMQwDaJXW0toYFEERMcFWRUolnSjhpIMlSpek3CKY4slBJJxOUjHXqh882LMhJ1fXBCDP7 XZSZz7Ffi/jR+7wp9zieGNBUVOygsEa39n61nS89tB3u02RE5IFS+amViuBdO3K7r2ApFcY2VQ2 L9WqKs23VhYzomo+EsUwbJZUzy5kBZe0jAmhv6jE7OGkffLU1l4H0v/w1t6PsVGeQH/kKiQMU2C zl5iXQowjLBDzbwDEgIf7ACVxRggnB5ASROiSewlcAdWSdiRPenPafjAXfvjM9+j3NAAsy/I2ow cwGw6+wbM+7QSgl2jg6a4RIpL3A4dzLkGAAkoRyO4aBfpD32C++SQQMIlEPL+d+RqOCrIOf0tsN FnQh0gSbnxte3XlqjYhKiKIlNTp870JERD9mj2Sa/kOD3tuEVlQZl1LmWLPy2+tYrQI+5n+qTCb HAWccxWELQFFEaSIYTo4YJWyG789X3A7dhd3NTMBcy0dV2bCIPDHITbhvBgtLwi4oADgvU+EQwS dfaN0e9rt4WfCfYmKp5828VwBUf01h9HxeHrN1+ZTeyCsj1uOidhBrqpyXsdVnc/Pod/tXtPeKY V1+khP8cdR2wrSg== X-Developer-Key: i=agarwala.kartik@gmail.com; a=openpgp; fpr=8991B9EB9021A76A60F493F4788493E38F9542EA X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240617_052902_997458_1006489B X-CRM114-Status: UNSURE ( 9.40 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Avdd-supply property is a required property for the mt6358codec. --- arch/arm64/boot/dts/mediatek/mt8183-evb.dts | 4 ++++ arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8183-evb.dts b/arch/arm64/boot/dts/mediatek/mt8183-evb.dts index 681deddff..241dc210d 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-evb.dts +++ b/arch/arm64/boot/dts/mediatek/mt8183-evb.dts @@ -154,6 +154,10 @@ &mt6358_vsram_gpu_reg { regulator-coupled-max-spread = <100000>; }; +&mt6358codec { + Avdd-supply = <&mt6358_vaud28_reg>; +}; + &pio { i2c_pins_0: i2c0 { pins_i2c { diff --git a/arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts b/arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts index 333c516af..b3c988e3c 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts +++ b/arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts @@ -191,6 +191,10 @@ &mt6358_vsram_gpu_reg { regulator-coupled-max-spread = <100000>; }; +&mt6358codec { + Avdd-supply = <&mt6358_vaud28_reg>; +}; + &pio { i2c_pins_0: i2c0 { pins_i2c { From patchwork Mon Jun 17 12:28:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kartik Agarwala X-Patchwork-Id: 13700545 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DC27BC41513 for ; Mon, 17 Jun 2024 12:29:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=GcWOvKjaH9VWKVfBKzGMg6R3MCBCRcDLPHcl7oHFM04=; b=y+O3pe/gyG0H4pA81Fp5lxQNoe EXwEwz/7WwODBBzycfpMbK9kZbXAjJXJX6fUAP+mcwDvfbqbdLAoNRF+ruAj78q55tGAEknlQu5Rk BygNgdVJcTHYFZwziR9mMEO0ZfehHcsmcdTvuzQoXyxp8kgWM3t4Pdy5UV+SXsIP5+8wKh1h+t63m zkJRAnxiXpfjVNaccsArfbl+a6h+7E4mO6Z4LdR56AvkvJaahqrCRwHNxOR6h4smTcEYRu4C72dXb 14wDgxwQHYgZBUB05jaCvjKlTwCzprXE9QrYlbP5WXyeslY+yC2a2+r2gfPUJHvCwNC8lsOQQ6qpB cnqhuGTA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJBU3-0000000AeIe-1T5v; Mon, 17 Jun 2024 12:29:15 +0000 Received: from mail-pf1-x42e.google.com ([2607:f8b0:4864:20::42e]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJBTy-0000000AeFp-2CCe; Mon, 17 Jun 2024 12:29:11 +0000 Received: by mail-pf1-x42e.google.com with SMTP id d2e1a72fcca58-705fff50de2so636336b3a.1; Mon, 17 Jun 2024 05:29:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718627350; x=1719232150; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=GcWOvKjaH9VWKVfBKzGMg6R3MCBCRcDLPHcl7oHFM04=; b=h/QrUYoiPQtL0gnKz4Yun/eiFdcpIUFpiuVByoJGdIszwu1RW5lopsXiczFBsNUDT7 rxDHnwaLnEC7ZipBazkWSO4tOc+p8wmmNR1leqlPIOE2OxLcTLsbPsXe3Vg+gBieGGuU /OHpRc7xCP6oDETAfIzF8bNV7gZMjXuVN0J6/CwcBI4HBxb6pYtmk1MQxnSyIyQqbLaM FFs85aspfyWQmkyxP4kWbdGaAo0wuELOdh0iyJ2BgOiXpEd3MFszICvdNpAlHzfqF6Hb sTRLM/EFULTFkKYMHj2Cu3RPSWAA705P3ZTGnS2TNW2yqc4XINdYzqlIPpEIgilU1AhH LSaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718627350; x=1719232150; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=GcWOvKjaH9VWKVfBKzGMg6R3MCBCRcDLPHcl7oHFM04=; b=hKn3NS1xuCkplzn3UNU8FOOXsONdp9EmLPJo/pJRWg295hsoOWIewrAA0KIKzhL2iN P7ODplGLkIz/ivqxkokH0RSSCJuZCV2KwK/Q+MoMo91g55TCq6BVuDnxWM3u9LJXAyx+ rNqo1yslnM7n4nCshElAFXaXAjc91ffWR1LLE+16wq9jMJPT3TjYQVvlLWnXqCkUYm69 zCoqTB2T0m57XAzMtvxrkH4KifE+DhklfahzuZJ7kmOS31wwUc/HGDyyyIaIaFJV4zZq e3tn6M9/UFVYcA+1rHcx/9X4bCK3QyyFwJ42F65FF0mz93K6CYaFtroIjB36/8v874/I 47FQ== X-Forwarded-Encrypted: i=1; AJvYcCXdnXOpPCZ94tJkV1jGRXkMwat/gTzTyZ5E457bmKh6Jo7jionzbJmi/qIeXm5BpzKs/wfDXF40xsw6YfaaSF8DMHPH8Kukq31zwndO8LavAV7/OGC9kkNTKuzJ9n9HVudNy+0EXOR/dw5YGdb3K8PHFK1OZp4zABI= X-Gm-Message-State: AOJu0YxOXu2oy3IhzpiVcjQ/0USwqRngltgAFczBUYHQWnKQOnEEdiol W3pAddoYmdD+FCDbODbifrWfNX0VFA+gYjBOsBH/EjQmavWvPO/l X-Google-Smtp-Source: AGHT+IHs34JMMxUSWDdC9PVQ+jTFt1dLMIoOHcoE7HAc4QSMWJG3bWQkzm3dwwcsmhdR6Vmh2T9e0g== X-Received: by 2002:a05:6a20:a123:b0:1b6:5b3a:9a4c with SMTP id adf61e73a8af0-1bae7d81c8bmr15214725637.2.1718627349711; Mon, 17 Jun 2024 05:29:09 -0700 (PDT) Received: from localhost ([103.139.191.219]) by smtp.gmail.com with UTF8SMTPSA id d2e1a72fcca58-705ccb3bf1csm7210162b3a.137.2024.06.17.05.29.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 17 Jun 2024 05:29:09 -0700 (PDT) From: Kartik Agarwala Date: Mon, 17 Jun 2024 17:58:26 +0530 Subject: [PATCH v2 3/3] dt-bindings: mfd: mt6397: Add reference for mediatek,mt6358-sound MIME-Version: 1.0 Message-Id: <20240617-mt6358-v2-3-5d9f0e99941e@gmail.com> References: <20240617-mt6358-v2-0-5d9f0e99941e@gmail.com> In-Reply-To: <20240617-mt6358-v2-0-5d9f0e99941e@gmail.com> To: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Lee Jones Cc: linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Kartik Agarwala X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=664; i=agarwala.kartik@gmail.com; h=from:subject:message-id; bh=kTwLRzuHZ4rQxBNiRcGhOk8o7CrdHie54ZwZ+nRp6Ns=; b=owEBbQKS/ZANAwAKAXiEk+OPlULqAcsmYgBmcCvzz6KRHv41QQjOaa6CrJR8ssn/l0qpihn7K 50tAMYY05GJAjMEAAEKAB0WIQSJkbnrkCGnamD0k/R4hJPjj5VC6gUCZnAr8wAKCRB4hJPjj5VC 6liwEACPYyQ52WObSkBjIepDcdHpTXzMZUkawClG3gPNK3TJ/JcAR0YECJfhtzxVM+3n6y7QEi7 EmxJr/o8H1VnbI9Y/zDuDo+6kGRz1noZiy9x5Vm82vs4KunuVsbgz52y+7SosdFW0LsSD8CF45n D/AgUy1kVAtZFS/PpXQOKbMr9VZ+prOJ4mmduw28LgiHc9vQtrwJceotJ5nBskqEQOSACNpVzhE 52Z3QrcM7GP7iUwvici8hBZ6GAEfHzRI2+iSlvayO6d6BbX3r9FHDtlfYjVWVMLEVBJTiYpTpNQ twQNE8aFAm9YdhqbiIcYVohbScUAL667JjiaLpP13gqyztm9lrYGN8C0PWnIJzfgbqE/zgCVDPM c2ibDYHvEElRBDklvQ670w97PWHAOagoIAdVGYP4E712mQfs8awIcBQ9xjzaQGaEj7RHTDdzDPT ERD6zUbVbuS5LraNSliGBn3JuUY5FrqCYJ0Or/lz1xA9hBicUQvwEFoBs4nBVfL9B9plPC+1X44 MnNvv9prYA4/w0+ED+DUQRn78OG6t8Ns824nvFbjOOzdeak6okc/98my9k0e9LrXs20KZw6tYQN By7ClnMVTqO4p5Tx9NqMwAZHiWU+b0Oi8BZAfeyUVoqk7wJev5BH6gpRqKCbyy1UV2zRawt4MNm 30e/T8iXMJKO+uA== X-Developer-Key: i=agarwala.kartik@gmail.com; a=openpgp; fpr=8991B9EB9021A76A60F493F4788493E38F9542EA X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240617_052910_606652_ADC755A1 X-CRM114-Status: UNSURE ( 9.26 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Add reference for mediatek,mt6358-sound --- Documentation/devicetree/bindings/mfd/mt6397.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/mfd/mt6397.txt b/Documentation/devicetree/bindings/mfd/mt6397.txt index 10540aa7a..cf7fcc402 100644 --- a/Documentation/devicetree/bindings/mfd/mt6397.txt +++ b/Documentation/devicetree/bindings/mfd/mt6397.txt @@ -48,6 +48,7 @@ Optional subnodes: - codec Required properties: - compatible: "mediatek,mt6397-codec" or "mediatek,mt6358-sound" + see ../sound/mediatek,mt6358.yaml - clk Required properties: - compatible: "mediatek,mt6397-clk"