From patchwork Tue Apr 9 10:13:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13622296 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 8212DCD129A for ; Tue, 9 Apr 2024 11:17:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :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=WVU2/DSuSz+IcV0ltk19EByeIB62RJ8NPL/jPqfyyIc=; b=g4PXBlSzztv+n7 ZUvC/pdBnUxbFmvNcQyjS/QLk4HPzvsioTojRwEweE1NwO6dZZpinZl2zsmYZ43+Wf5e/ALO174gv udtg1CTYIsIy4I/Yx9PZymaiWRz4so40VHk2mNEsivCRNhXKqFBAohjHKm4JE9OMV4TfZV5k/+pAb zQXQElCtmRxx1AeMEQ5WeeQfWOFpGFqP0QCWYiUdDeL82Hc7MUc93/0o9MC02SYvwGcFHnxOV3E+F bTVm0OYyxSKlqA6Yy/+ZfwJzu5ZELrsR/jpYws1j/zi+OzQRy20Q1IYGjnLLgLnEoSIabLa76BRo0 D+ll21Ay99xtkFlQj58g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1ru9TK-00000001cHQ-2T4d; Tue, 09 Apr 2024 11:17:02 +0000 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1ru8U9-00000001NU1-2dNh for linux-arm-kernel@lists.infradead.org; Tue, 09 Apr 2024 10:13:51 +0000 Received: by mail-wr1-x42c.google.com with SMTP id ffacd0b85a97d-343cfa6faf0so3989484f8f.0 for ; Tue, 09 Apr 2024 03:13:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1712657625; x=1713262425; 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=Y0Ft7gJMIMDuyFaMl73MCWCL0VnoY8SMUukXDjxNKP4=; b=SYFwrAg9rs7gsTRAMxXYrUD9+hQrscYFOGgdWMSK0AEr9P0QFbGUWWmu5duO1dj2IW 43su84PidRCLuXyTqxwVU9aOe5Hka9mbI7bdSBRWQATxyR2jD4lXR4VyrcAXpXtqv7ib lTahsFuqiRFUKShxZ48xkxDbhOwmc4ueLQv1Te4xPF6nH9Cqk5tqb57uyusHT3FWPC1x 0KxhUtLWU9TZc9IuYOsK5dYWUD+j0QvJYwUm9nZulWY57X5Panmy0UaYlkPEicJOPaEs WNXATzBcDT5OtbhOEgHaegbGXcfxSlzfP/vTOK5f5/UGK1fPGKzWRXsxeZpAPUN64QtI UENA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712657625; x=1713262425; 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=Y0Ft7gJMIMDuyFaMl73MCWCL0VnoY8SMUukXDjxNKP4=; b=IuCEEwjaX3w4bLKGN6tgQMpLWuc6r8U94neD2a5bhmy2S4Lyy5YKMIjG44JmcD5Ntn wcWEBuCFk9VXfxZ0r4LQZN96SaJ1h6/wDHlaVcEvLdHncXxjxWUeJOm46PFLtWZt3fxW rP2u5lqcIp/XbUOJoptrkFTVxa9Si3ZQKxxfVZEnCe17iIs36fbSJN8N+nO1IPnY17rg d/JPNU6wWNQwSYO0tvFqNOlDs2RvaTDFAuXZ2ZkxC7JWJsLo/4PHmDJ+1sLbFCQtmNOt czWXCVgk2bJH4i0uPVtuktOGGyRHGWa8On+TVR/i/ZYMz/pX8CG/bQc5+b3ZpeWN4VSq G47A== X-Forwarded-Encrypted: i=1; AJvYcCUjVefTUuzAfJcXKt4WQEFWRI1K4nHASlwGQRWlxkRjqmLCU5UWmRRhtyKUSCUbFDygw5vZiJA9veOjPL8yPGWLVwG0G5zvg9zb1/TiVoFuwJhi8ZY= X-Gm-Message-State: AOJu0YzbbKhti9ZOBDWFix69tC5FAWc0NkWijqObazAauavN3jsWbkDS LV1zytsylPT/iVaEf3Unp7Y0A366S3LNqhXty/xfEltWsce3GidAQ3Y+JKj9YgI= X-Google-Smtp-Source: AGHT+IGK4AiPdoPdK/Nj8GgRRQnhRywKu0i7mdq9xkLbTZkIIeBqZ5HZnSAGrmuyoOY8FKcwZklQHQ== X-Received: by 2002:adf:f390:0:b0:343:5cca:f7c7 with SMTP id m16-20020adff390000000b003435ccaf7c7mr9025258wro.41.1712657625053; Tue, 09 Apr 2024 03:13:45 -0700 (PDT) Received: from [127.0.1.1] ([93.5.22.158]) by smtp.googlemail.com with ESMTPSA id r7-20020a05600c458700b00416b035c2d8sm1124149wmo.3.2024.04.09.03.13.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 03:13:44 -0700 (PDT) From: Alexandre Mergnat Date: Tue, 09 Apr 2024 12:13:24 +0200 Subject: [PATCH v2 03/18] dt-bindings: mfd: mediatek: Add codec property for MT6357 PMIC MIME-Version: 1.0 Message-Id: <20240226-audio-i350-v2-3-3043d483de0d@baylibre.com> References: <20240226-audio-i350-v2-0-3043d483de0d@baylibre.com> In-Reply-To: <20240226-audio-i350-v2-0-3043d483de0d@baylibre.com> To: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Lee Jones , Flora Fu , Jaroslav Kysela , Takashi Iwai , Sumit Semwal , =?utf-8?q?Christian_K=C3=B6nig?= , Catalin Marinas , Will Deacon , Rob Herring 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, linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org, Alexandre Mergnat X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=911; i=amergnat@baylibre.com; h=from:subject:message-id; bh=m2WMimLT+3s6slBofqVAvaqLkWzrgGp85vJbqpzM2J8=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBmFRTTqCdhPMIFZWlG+RUcAbHEDXlIAWarybBpGWPD AT/xwJeJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZhUU0wAKCRArRkmdfjHURQ0FD/ 421AUS7r15gqz0cDoSJUWf/NwqPKzmknIY7/gc2AzW6uV9A8lGiL5egEUbMbau1KaWDGym8HEA9db7 bt7tplgEVwqLq6K5RR/JF9K6zebQp0T15i8ijlHrf51CJS35ez4zXxUOr+PLROVdryvRQLvplLazH9 q7L7vJVYUTpedo+SJR/hMzHe9KJUk4dvZQeVWKEfwyLX0RBdXBXoTV4EfPr+6/XUvKdgC01ksee6ji bPWeUyBm8uUbEOT2wL88gbnACMBIsw8tWU6SY1HcDQopSUJ2pHhavISuUd6Lc4zw6gAo/tapvBqCRz Yfqy6/i2AR1JTEcEH3SszNFHYUNr3ygXClDnMaUUk6amncjDV3vrHzYOnX93+niYjEIteSh3e5Ht/N SOk0kI+N7lj7gwOzVskKLRyUcLdZK7EN2KWfk5rxFDLzl+tX4Iea/7wtMwCw2F7RCOaDnXQtod/Vlr NymwDc0vagUQE4BuHF3eQMFr88QYoVkBre/JUc3T2taGZ0Tc7UHAWDJkYktyTSORMuluCCZjljK9o0 ClLwJMrSiPYIqf8wzBU3uTNoPM8z4CaHZC5e2UDUjfdLkzw8pvxwFuj6I0yLU+CUtuBBvj06SNDt0Q h7H9SK62oWBZy/PWQdW5/h4z1d06KaN7RgGcNsKWBrqyFCUwYRTSPS7KJEDw== X-Developer-Key: i=amergnat@baylibre.com; a=openpgp; fpr=231B5ED7F3EAAA700E60FE8B2B46499D7E31D445 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240409_031349_788507_8B934C41 X-CRM114-Status: GOOD ( 12.09 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add the audio codec sub-device. This sub-device is used to set required and optional voltage properties between the codec and the board. Signed-off-by: Alexandre Mergnat --- Documentation/devicetree/bindings/mfd/mediatek,mt6357.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/mediatek,mt6357.yaml b/Documentation/devicetree/bindings/mfd/mediatek,mt6357.yaml index 37423c2e0fdf..7c6a4a587b5f 100644 --- a/Documentation/devicetree/bindings/mfd/mediatek,mt6357.yaml +++ b/Documentation/devicetree/bindings/mfd/mediatek,mt6357.yaml @@ -37,6 +37,11 @@ properties: "#interrupt-cells": const: 2 + codec: + type: object + $ref: /schemas/sound/mt6357.yaml + unevaluatedProperties: false + regulators: type: object $ref: /schemas/regulator/mediatek,mt6357-regulator.yaml