Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp1880285lqe; Tue, 9 Apr 2024 03:19:37 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXjYhJTh2SCxmS6Vcn8kAZUlHEla8/kYF/bJrU42ea2WTQq4zhDVrLbJ/5xwx8RWiv7A+uLSfAJpOFj87bgwu+OSw+m3jn7rr+pkvFJsg== X-Google-Smtp-Source: AGHT+IEoxTsLC5VVZdGm8QPWVBjekaPJsb9SycyTvGGRUtdX6Cq7hAGUWf86vFWO9IV0LxXk8rc8 X-Received: by 2002:a05:620a:24cf:b0:78d:61dd:5e58 with SMTP id m15-20020a05620a24cf00b0078d61dd5e58mr8347314qkn.60.1712657976832; Tue, 09 Apr 2024 03:19:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712657976; cv=pass; d=google.com; s=arc-20160816; b=gcWbn1oC+2ukizQ1qZ3Qg1lq6EFKxU3o4N6F7itMg1filIJHOLaNo64nnRrDm9Jfs7 OarvU5K7+izTYHuAQ/UANOZwOav0435D1A6Oqx0at8uYU4iq6iVfhYP64/wqAzfjlltg ucITsxrET+cnOMgD61RWPYvNQq8RaEGJwEOWlkTtZ98MOk1rUQRwA4Z+FJNCfWVBM/HF RPfaAfbDPePEbsWik+49TZ+c34bs7raM044lVydrHYK9dVL3sqptFPazpnu+5nIMLPG0 4tN2dWxkbjiNK2uL+7GoHguRh4oqBNuCIGlaVfDQXu5tDaiEEuTamd9uZlErT0D0BFZ/ yMTg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=mZUgXZ3l9DX2S4a80uAdGLWMlbvZfcEw87Whhx0PSEo=; fh=pLYY6yFzy1mDtnPiWvzvdTjP7NH8+qKevLC5OGockyo=; b=He5cMqan/ni3wzlI1sz3g9u0+JpWEAv1dFCtHLXEN58hiIAzcoVIHW8KtTFGZodu3H c+AR2zQ+2wewQkFPpZMrTThnOPi2ohViEMv50pyCb0W000cEaWFgAlovhQ0wBZOyvT5A vKHECzSaqHZeMY55wNf8Q4DfnMBUlZ1lHcOlt+Kz52xgbFiams4zRXsj9X2bxE7WmcYE 99Z4uhdmSrSg0A8xhs8i8KjlqC+Oh8UDw8XAVRVAwN+4AZBb0rA+6IVvpuLxeu4HkvrH AIopl+i65QhU+Jf28RfX9gCtWZua+Cis+mqMAzJXO8liSqniNry491PvEkigaTvKiZiD vbvQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=tAQJ5tco; arc=pass (i=1 spf=pass spfdomain=baylibre.com dkim=pass dkdomain=baylibre-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-136656-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-136656-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id bn11-20020a05620a2acb00b00789e981c0cfsi9891129qkb.120.2024.04.09.03.19.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 03:19:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-136656-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=tAQJ5tco; arc=pass (i=1 spf=pass spfdomain=baylibre.com dkim=pass dkdomain=baylibre-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-136656-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-136656-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 7F2201C20D78 for ; Tue, 9 Apr 2024 10:19:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 40407131BA0; Tue, 9 Apr 2024 10:14:12 +0000 (UTC) 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="tAQJ5tco" Received: from mail-lj1-f173.google.com (mail-lj1-f173.google.com [209.85.208.173]) (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 B69C1130A72 for ; Tue, 9 Apr 2024 10:14:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712657650; cv=none; b=d8QxwY8cg+5rVx5D1Z3BPOFV460nRNCAvMJtN0mAoBaVQMx5s50pAwu1sKn5YSM4BrF/2ry5i4qzpVlEdlCX+zrokwAI3gK8PL/V3RJruYusRAH3Fy0CdlA2Fk6yWn4aAnadyMpJDaq8R5gaor9T2l/PLfPj5sMKG+BBj50ac8Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712657650; c=relaxed/simple; bh=9JiWubCt7cv90b13bkV2NJN74YeswiFHCbXLjZUbZs4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=kge1SYu6K0/7GJW0dHc7YJ0mDWY2RMRJCxRgOV+T8cLshtO4kEx58/i9H7NMk4WdRTvQdbQtcND3od7iA5xT3eAOw28Lb3GnQ+b5tT4f6H0mrz+gOCXtkRCGsHQu4EoPzV7wvtZru4FQ5kmg3i/WnEybr37SJLKc+9I26epA/YQ= 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=tAQJ5tco; arc=none smtp.client-ip=209.85.208.173 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 Received: by mail-lj1-f173.google.com with SMTP id 38308e7fff4ca-2d8863d8a6eso36196961fa.3 for ; Tue, 09 Apr 2024 03:14:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1712657645; x=1713262445; 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=mZUgXZ3l9DX2S4a80uAdGLWMlbvZfcEw87Whhx0PSEo=; b=tAQJ5tcoaZj3B5tjzydVxUds1xavQqE4da6DBFXgjuhIv2GXWOoPp0McA8rNUsRKeu 7vyX4yFUeK/TuVu5FhmWTmpkeDBYCd7zPZa8a+NDNGSNIInlSwNj25JiWXHCMti4zMcc V9lhVHfA24HrVrWSA3MhuRH4XqxU6+NUW1n20weC+/UgCxRTaHSShIo6SP3N9tQgkVPi qrtK9O7MXHhzGTLHW1So21f3tJdoukjPVzHtia35Rv5ZtNNDESrSS+6OaSqWdxXuSR7G YaXiRxpOKmmYWDlTgOJ1GItW0PDB7IkH8AqsE9rPg9aX/XWx/rvsNa8+AP0eoBF2oHvu VLnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712657645; x=1713262445; 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=mZUgXZ3l9DX2S4a80uAdGLWMlbvZfcEw87Whhx0PSEo=; b=YW8gojT1Nt+YZ3WifLIVHWURO4+JSNmosAUzZ7+cXvh50/a9p7DH6fC/ufsyYi5VH7 ttNq61KM793gJ76mIOWAmR+d5Pkd4Em4BAOPdx2UmWpL5otitm5d42txvGDqa58iJ6rx broyYR/lw7G5R2IZAk64Py2SpEfvfKmYZPAmOJrc0mWaS4IdjEBiTDnJbFLRhWv5ot4I TBw9powKeA6B5cl9l5ddOe9zC5EAgb9LZ1X/aMx+I3Jv2vUCBc+heNl37iKNNoNVVIf4 V3aQdMC4FK+MRCpCbQBGVD/y/KAdHP0UX18MB5WffoiJEWJ+uWCEqCaUzZ8suyF6ghVa 2N/g== X-Forwarded-Encrypted: i=1; AJvYcCUpXa3k8/BujtOB0yhJ0jV4VVcqSXajvPjK7ShAPewDFmV25Yhg26tLescrvMVOzPbvbfs1BiOZa2XZHbOWmAwNquFgdME11ceu7PMR X-Gm-Message-State: AOJu0Yx7vjt+ApblBK0wB4nFlHWavBr1ZVH576rzNzvB4SVMAfWrCCHb gucVoymYiD2P+58jgWkCcUmWvzBVI6yyP29M2Rrj50a7GIlRa/RXkbYHt/HyVlxC3sWgITIfdP1 bM+8= X-Received: by 2002:a2e:9891:0:b0:2d8:6e0b:8166 with SMTP id b17-20020a2e9891000000b002d86e0b8166mr7274355ljj.53.1712657645405; Tue, 09 Apr 2024 03:14:05 -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.14.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 03:14:05 -0700 (PDT) From: Alexandre Mergnat Date: Tue, 09 Apr 2024 12:13:37 +0200 Subject: [PATCH v2 16/18] arm64: dts: mediatek: add mt6357 audio codec support Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240226-audio-i350-v2-16-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=927; i=amergnat@baylibre.com; h=from:subject:message-id; bh=9JiWubCt7cv90b13bkV2NJN74YeswiFHCbXLjZUbZs4=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBmFRTTG2fTNzUli3ntNCZsXBAHw4VMKqQOmZ8HnVyz 451K1leJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZhUU0wAKCRArRkmdfjHURXv8D/ 4swIhESlxC/0lqHODwrAjRgviVRfhgvqxo+Th3OJ5EqCuB6mgn07DpwhYr39z6xFPQuZ8ACs5cVxq8 0kiFqDuyuSy2SoPq1Q4Edcn/UxpUJsta1MghQ9tIrj90OMjJs2xIMXVhvOzwSz+DDwafKaTy+stV4T uxaKBpicLjp+mXYe4rF+wTkPCmsUJmEktncgNswuJ8o3WhLCNOTkv86LVKKLglyOPqocDKf5eOcwjX RjJZ6r7ctGH3SZp7eAbkR6vNdpW4uRh8UD9XREPqie93DW6HeSA+Ck87bNhY+wuDGbyKthzZiRp1J5 hTlQ3TzYYgCl5muwUARI/jKr7PEefR9ebBfioTXeEqlAQKhIXyuA0qJxjCZUBW1ldstdI423VgezL9 Uof0r7nHT1zTFI/Usd2NnJfZkqSgzQmRkmsVo+RAJ1zonBtJMghqJmLh4XwVB9YLvwqvSP4XMs6Qrt T1cPlTkMDyN344xkkYaEognTPRD8TnDrWyI4jXM8MUTypzDfM51S+kIjpUtPwcek4LD/22YjWZ87Wb esb5AjAp7WqMQ8c+BmYo906y9L6zAbCjk64FX61FpkTvl2aQksD8BSgYMVtEf8fad+82F/WpIGsSng 7hxh43JcVhRMdEzpBrHIN5rEwic+qjEkWM+Y4gXlZELArf7DKwXVkjVXq+6A== X-Developer-Key: i=amergnat@baylibre.com; a=openpgp; fpr=231B5ED7F3EAAA700E60FE8B2B46499D7E31D445 Add audio codec support of MT6357 PMIC. Update the file header. Signed-off-by: Alexandre Mergnat --- arch/arm64/boot/dts/mediatek/mt6357.dtsi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/mediatek/mt6357.dtsi b/arch/arm64/boot/dts/mediatek/mt6357.dtsi index 3330a03c2f74..ade410851524 100644 --- a/arch/arm64/boot/dts/mediatek/mt6357.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt6357.dtsi @@ -1,7 +1,7 @@ // SPDX-License-Identifier: (GPL-2.0 OR MIT) /* * Copyright (c) 2020 MediaTek Inc. - * Copyright (c) 2023 BayLibre Inc. + * Copyright (c) 2024 BayLibre Inc. */ #include @@ -10,6 +10,9 @@ &pwrap { mt6357_pmic: pmic { compatible = "mediatek,mt6357"; + mt6357_codec: codec { + }; + regulators { mt6357_vproc_reg: buck-vproc { regulator-name = "vproc"; -- 2.25.1