Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1327262rbb; Mon, 26 Feb 2024 06:08:52 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCV6h7KgFXV4rX1cpnxeFaW1P28tJgUusUxv0WmwP9xnWWDrG5Pk/BdRelB/id0pjh+46Xi6k5Q0g2E6gkHTZDEaewA05fjnI/dkO0fvHA== X-Google-Smtp-Source: AGHT+IGB90AQ9vH408axhguYwqIZ8+OoEK3U9wyq1DRM0ZKKwH/6Y+QwVopedd21RP6IlEuwAng9 X-Received: by 2002:aa7:9d0d:0:b0:6e5:a51:2049 with SMTP id k13-20020aa79d0d000000b006e50a512049mr3394794pfp.17.1708956532652; Mon, 26 Feb 2024 06:08:52 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708956532; cv=pass; d=google.com; s=arc-20160816; b=vk+O5s+z8SQrd4veLBZ7A6mJofoIHhOFOhkHK3NDqrI5/blmRyDadk1j6Liq/Za5Ec PCy0X5vSUrDhtbK5AJfyQSJNlnc+vwaI8YttYUF9p9wfKfE255ktgtP5DAtdRW14yMOu jikKsSVRHhNs0xurUgf0fF6sbTGyg1sriA1cRhHYx4jRCJveqtq44LthHFVcZ08EXv2L ZeNmWeIz2AxxwIt2gal5gzHVE9RWrNAF4IRPsYOuANQumkUwB8qzN1YDTVyU7ZRvzlCH AvI4xTscnswMN/98iijt8GRvRcxSgDBsA51oC46gZVMha/qvHpAql+XIQuDZCoy5uZZz CgDA== 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=SzteyAfQmYgd04c3xIbcEszPYVc0e3vP5LLdlStO4ro=; fh=GsUv9LdKsu7yqsFpe23/evANhyaq0E/H618EjPcjrvM=; b=q04KUgzcVfu7GcZ75+JwaXq1w/ovjEhU27kAScni7pp+teNTtt3sMAAEposFK20eN/ X4/yKaEWHX70wPMnwEhGjJpqnDLq4ezrvMhFxbdbEgtEr0MveLJ4g57A1D8MupSIICrq l3tNBGD2KP09gy0D83JL2tL/mrPtB0TmM1Hh/aUp2wZnAUpB7OSHhNa2UuUcg31sI6nr Bt4uQic8081cWyLaHPcUNe3W7ToLTenNy9awQ6dsxgqW1ZV3Y8khuw0fNjORyOlVNhwu 1yjkeStUqFF02MdXbGjFhoPa5tm6DFkA0yZEI1MW5ZXIhf/+vzT5ElG9kcYha9dHP6sy l+XQ==; 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=gxD++Meo; 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-81567-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81567-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id z6-20020a636506000000b005df459686f7si3738654pgb.446.2024.02.26.06.08.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 06:08:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-81567-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=gxD++Meo; 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-81567-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81567-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 1AB9028D49D for ; Mon, 26 Feb 2024 14:05:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CD56112EBD3; Mon, 26 Feb 2024 14:02:31 +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="gxD++Meo" Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) (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 D3FBB12D740 for ; Mon, 26 Feb 2024 14:02:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708956149; cv=none; b=IWQCZBQGnAgg/TfhLu/2xXUZl7BVLVGiybjT4XSaGNhFHmWeABWvu7F9prhCx/M1gjoJ7APmIPEJ1VK718+KGRSKBRLrOcM90QV4A30dBYa/ThUz3A8/Zj9nSGhIJ6YF9lxEjrZql6yjW0ZXFkFOOUWcZxHgQ19R/t/oH6ko0+U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708956149; c=relaxed/simple; bh=qrZwwuTRTZwtV/ywWqyLXe4Q7uOXoLUUQrclwWnFp7Q=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=sGGweA3jRo0ZigL+FoL/R9LnoUcrLxMLgqOCwhXvQ1w4chyAv9Sa1sQcMMH3PktJ6xU5uCMUr0OYrbcEK+JEfhmrDqaPokDTrRKq2aKowecYwv9rv/qadArcdk5PLnAAIKAGKe6uDNfKKdwmajarXGp18gtTCf1dY4Ji8my77fI= 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=gxD++Meo; arc=none smtp.client-ip=209.85.128.50 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-wm1-f50.google.com with SMTP id 5b1f17b1804b1-412a45f4766so7434635e9.3 for ; Mon, 26 Feb 2024 06:02:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1708956145; x=1709560945; 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=SzteyAfQmYgd04c3xIbcEszPYVc0e3vP5LLdlStO4ro=; b=gxD++Meo7HHhvvwPN0W705yOEoGKYWwu7sTZoeBCtezbiiCVJdXF9r4n+J1xvJ8wp/ FuQGVZRUM1x+9qPcdoLS5ySMuU2tjTbu1R8ttuZE9sc/BkH8NvZc5ZwWX5pgyPvRBW31 VVLj9A5Iphwxfam+cl81Q6ZafhWwjVzvSqSkFZmqnauVaA1IaRTajMQfcJuC67yaiDhS BvjGksWDORHr5ufLO32FlDlRnsY64xJEEgswtJIYUENe0M06THPJvWaPAcddOBYvLybK HtcFV6n7BRK7joASzjR1zohiaUqWhb2e8D8ZNjTsg9yiTRqsfo4Pjk3sPrJSUOcj14E5 2xFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708956145; x=1709560945; 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=SzteyAfQmYgd04c3xIbcEszPYVc0e3vP5LLdlStO4ro=; b=msed/0Bc5SFJk4QBuL89zkKJXNLIHYD4Q3+kP0Lugek6OaSuryLvtStzlqd21Kkfmj qXtZ1dUfu5Iv9CBvSHK6Y3Z3CmhFfW4gZmUHfG78LMBUUMHcJiUmDqaPQoKIEtjcNuK8 sUfbESrlLAgly+sEQk7DzAYdDJaa4fzs/OhVjGOh3ZvLV8h2Oug8QHUA7pihTwioCia7 e5EhYP7ESiiisSTB8J4+lXigbEQzjEnrFyb7rsnMl2juTi5utA/NPEC0BqWCta6wu5QM jvYXwTI2b5jm+Bh8ITog5hQ/r31lm8J5Bt8VmaFugYrbu0CYhwUVZrjA50QTtrnhe+vu ZT1g== X-Forwarded-Encrypted: i=1; AJvYcCUy0FMDXGdrTp+aE9MAw/j8CCrSxIjgIw6ODnmvYsejYB5y9YGvykGxp8yJ4coi166Zrj6knZguO7un2jwAd/I74f695VVfzRh/5kZ1 X-Gm-Message-State: AOJu0Yy43cGJP1K4pgV5avGT7zOFI8/qXPMsatgQa1gvLX9t/lc2u1IC 0KgQdRAvyaWyBpo3BR+1JBtmCNxpKjViQ4i+mHL6GWuWMaFuBaHlL8jwC4w5sSI= X-Received: by 2002:a05:600c:a001:b0:412:a47d:1fb2 with SMTP id jg1-20020a05600ca00100b00412a47d1fb2mr2070382wmb.19.1708956145474; Mon, 26 Feb 2024 06:02:25 -0800 (PST) Received: from [127.0.1.1] ([93.5.22.158]) by smtp.googlemail.com with ESMTPSA id d33-20020a05600c4c2100b004129f87a2c6sm2838475wmp.1.2024.02.26.06.02.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 06:02:25 -0800 (PST) From: amergnat@baylibre.com Date: Mon, 26 Feb 2024 15:01:51 +0100 Subject: [PATCH 13/18] mfd: mt6397-core: register mt6357 sound codec 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-v1-13-4fa1cea1667f@baylibre.com> References: <20240226-audio-i350-v1-0-4fa1cea1667f@baylibre.com> In-Reply-To: <20240226-audio-i350-v1-0-4fa1cea1667f@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 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 , Fabien Parent X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=803; i=amergnat@baylibre.com; h=from:subject:message-id; bh=Z2yJ/oBlNczeCIJzQKH6oIlg8xoLP0FDW9ftHO97UdY=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBl3JncCWphAeGutpqeyL4/OPzJoTjMSUOe7sBai3g6 KqqPwIGJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZdyZ3AAKCRArRkmdfjHURT3eD/ oDk2BfGI180002+laCNdSwG+8z26O11oUe+X/vcITvLRl8uMowpsX2Oia6rHtaeJPd49fFMgyUOtDs 0uSjOeVUMe45iYIOiO+dGqIn59SpKw13K0I31SEsg8661CYSTrUJkpKX3DsLbcDAu6wkg/t7BY3TPT ELDPQZlEUPun5D8HIIiNND00hiLwznLngaPPr9ju83cpvSrmsKngPH5uUEDFQ8aRL8jB6E2ue+5ePA tN/9r+yw/ID3Z42bTGjN1DumsEKB7hEqM3+dn82SOwsYK9e3G16spC7a2f3xwUkbNEDVAtkOT+N+9j e3loRcMxyTqSh1PWd3ByYdW9aV98q0rIcvxlkJNINdHhglQgWgGRNQJTXHUfyj4eEAbYLSlX27tPnv X3LJQ7qBhetlZcd/OR4YUcgWxF2L7AXwytkKKpv74Cv1kfNvrUNZG3TVO7C/DJzItl9yJqbTRdNkSV Vnlb+Zjcl75QjgM5OsgAZ0rdR5fvOEEmXEEJrthVt7qTY/0ozZVmricnmd4Dktxjg41iHqFF/7E4WZ FscF9yqDi1c0990MlHE/WcHu0TBepjrpd6XHKE+1l8D3fetAhFuGgNrD7RKBWgUb/E55GPU1bVl4rZ Lijf6U8oITrWDehsCRAyvjTtqEximqHMFOv0UsiSeSUKtNkIyoy7FmYMhdZQ== X-Developer-Key: i=amergnat@baylibre.com; a=openpgp; fpr=231B5ED7F3EAAA700E60FE8B2B46499D7E31D445 From: Fabien Parent Add MT6357 codec entry in the MFD driver. Signed-off-by: Fabien Parent Signed-off-by: Alexandre Mergnat --- drivers/mfd/mt6397-core.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mfd/mt6397-core.c b/drivers/mfd/mt6397-core.c index 4449dde05021..4fd4a2da5ad7 100644 --- a/drivers/mfd/mt6397-core.c +++ b/drivers/mfd/mt6397-core.c @@ -141,6 +141,9 @@ static const struct mfd_cell mt6357_devs[] = { .num_resources = ARRAY_SIZE(mt6357_rtc_resources), .resources = mt6357_rtc_resources, .of_compatible = "mediatek,mt6357-rtc", + }, { + .name = "mt6357-sound", + .of_compatible = "mediatek,mt6357-sound" }, { .name = "mtk-pmic-keys", .num_resources = ARRAY_SIZE(mt6357_keys_resources), -- 2.25.1