From patchwork Tue Apr 9 13:42:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13622599 Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6A576131E51 for ; Tue, 9 Apr 2024 13:42:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712670142; cv=none; b=oBPHNJO6xfMoUzec2q1WByKvs0lXqRloqYSHF05todIzJe5xkMPbvWXhpUvsUk5RZdkb+vEz6P6uIKOiSZWse6Z1dwQDeui3JVnbMrUnrNIpPok6X8G0e8ZUiKUF90yEdkQr1gTrpZbFrDZ23q8JV3wasiJw6bFoO67RFtV7WsM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712670142; c=relaxed/simple; bh=m2WMimLT+3s6slBofqVAvaqLkWzrgGp85vJbqpzM2J8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=PjZ4gayruwFtlkV3wj3P+CHsL6GW4s0jomsWt7BqJf/QHnrvGbA6fkzWVT8FAN63bQVoXpFn12ElEFsJoe4o5kAB1xFxdVmonxIH+i9N7LZS55AQNI7ZwZUPwgdirxEMq/zjrseR02GbIvzNdlk97lE8SU+RmypkEQHIh2MicUQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b=gZyjsjm6; arc=none smtp.client-ip=209.85.221.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b="gZyjsjm6" Received: by mail-wr1-f44.google.com with SMTP id ffacd0b85a97d-343e70dd405so3648488f8f.3 for ; Tue, 09 Apr 2024 06:42:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1712670139; x=1713274939; darn=vger.kernel.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=gZyjsjm6TwLSrKTWCJoBu53utFGAxNk42Utf7NMUbQ0go7KyHMWo9LkswHdsF2RqkV RBbXhiAaiZk/m5e99/kIPRR6GM7R4NCq5MJsoup4hFKfvN3eGPS25uBxpGmPgnZ/vI1V 3Ygz0jzSneUxcopb3+5kUu+5SDTi1kZ6h9K8/Fms/C467LEA9WbODu3hga121sqeLUp0 w+4y3PH9qikHqDwSUOay96QM/6IeYg7/pnHRyzRC54rhEWJNT5+LlSOvJN5p9SMpbejR 4nC1Oo1g3l1SCdq7D1TD7gihlHnerbvbkAleJMM3TIcURTBs4CRg0cQN5CHGUCW2f+GX vtdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712670139; x=1713274939; 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=XVsMSFkWusOXlSKjev6XfXL1a3iNvO7pgzeDMubXS/xNWlYdqHEuUDw/AZ9myNEDfJ VejvA5aBFsNrJ6trLBwHnXLGqluQW/sl4gVyd/hmMoTkF51+v3sRwq2z43QT9fSBYheB OR18bZLC8WLRlffeUNlr8ozciBt2aiIf7TFdPR2XQ+bIdFsVX8dkPa7uYcNfoFQwom5k Ka/tOO4DdL8pYQoQcLw2TxB62TPDrrXiMZB1UxPlmSMA4jV4bSjyrWjuElkObOfePAeM A+zECF1fs5t2ePgVWOsPGtpbYzVofsGqjnf+0agg7c7nR4kYRtnpGro529lp6zJEhfK8 Mx5w== X-Gm-Message-State: AOJu0Yyh4nVDkPCPg/9a3jIaMI0tBewe9LUZ0u59mC20UNNkP1L3TcKq SSEWGe1FGlt4F67O5oJJs7ZkwTymh6cXVR93fNtbb6wlllKU859YXKLr4PRKMzU= X-Google-Smtp-Source: AGHT+IEO0wu4NhRlj59yyEV3/AmudxVPjh9KDi9m6m9X4AWTWkIq0osDU5hnpCv1QD3F0qnVyktM/g== X-Received: by 2002:adf:f9cc:0:b0:343:7653:ad14 with SMTP id w12-20020adff9cc000000b003437653ad14mr10377159wrr.30.1712670138963; Tue, 09 Apr 2024 06:42:18 -0700 (PDT) Received: from [127.0.1.1] ([93.5.22.158]) by smtp.googlemail.com with ESMTPSA id j11-20020adff54b000000b003433bf6651dsm10753579wrp.75.2024.04.09.06.42.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 06:42:11 -0700 (PDT) From: Alexandre Mergnat Date: Tue, 09 Apr 2024 15:42:02 +0200 Subject: [PATCH v3 04/18] dt-bindings: mfd: mediatek: Add codec property for MT6357 PMIC Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240226-audio-i350-v3-4-16bb2c974c55@baylibre.com> References: <20240226-audio-i350-v3-0-16bb2c974c55@baylibre.com> In-Reply-To: <20240226-audio-i350-v3-0-16bb2c974c55@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+MdRFAcsmYgBmFUWsRoFsr/DA4OKUp6SCQXm0l4J9aRtbh8NLZQ8P JwTHbUuJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZhVFrAAKCRArRkmdfjHURUZvD/ 9L7gHOb1wNabYP63KJqzi8jizhVvuiuiQPEK7NZvxd0C+wEsOeuTHX+nF/MU9Qk5SOGCdoDILbVkyV 4sblV6X1GDcBf2s2btcFIy8kOPJjSimOkcZn+ZYQsMPb6BpIup9mqH/F+gpjYZrvO10y2JVZcUb+iY iY5X7ialXOkPq1Psb76YIbdWNdDmyPgMLX60Jmi92DsdYPPordwZc5ml8/9c8rU37ewaz5GZSqv/ip 4TTbrVMtWICYnQwgWRoyHlvLPFRYsxVA0dvkGbxwe11XtbVDYTml02QQ8yQOIzMmoEULYbAZTi7ELH UQfSW3e0kY+bZ/CoEYdKyWK6xHRP4Dic4Hjsj7EPcqh+LlydBoS+ukyjMpjB7qIn6O9Z57aYe37Lki R470tUPlZ6vtTMXaoAruJ0maHXUYk1K+QBMoV7sQkjst/VBoIAKaVZo4QAXurGxilT5VgUQBI/xeSp KUKC8GPJnaFwhR1c33hM2N14+7kWxQK0ZF9/23TrbmamSFzS8SUK1tYDMc23f2uy78M2OIbxyq6VIM AmbD8c7JeDXYfnj8+LP5d32wzMc5Ve9D+n4DDglS773s3Cnw/7a3h3aiRcUxc3V/qGjiGwimgfn5r1 iMGWksRTViZID1Tl4JLT7t+kohfXrKPal994r21FwQbGJh28dkUA/Lnp4S3Q== X-Developer-Key: i=amergnat@baylibre.com; a=openpgp; fpr=231B5ED7F3EAAA700E60FE8B2B46499D7E31D445 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