From patchwork Mon Feb 26 14:01:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 206652 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp2097761dyb; Mon, 26 Feb 2024 06:07:28 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCU8oH20ZrXwxfL8m93rPzkMetwZ4obkC2ajSBvFxvoZJuNViplGby9SsFdqU4dvoVDiYK1WCDg4MDJqVEGlSS/khxmpqw== X-Google-Smtp-Source: AGHT+IHVAURcHfpO7tJN2J2dl/el3GFIgMHOluijvkJmlHdhTFEtOKbOWkVlKMsuf+oYhWkLCZ9N X-Received: by 2002:a17:906:ae93:b0:a43:4876:983f with SMTP id md19-20020a170906ae9300b00a434876983fmr1851270ejb.3.1708956448270; Mon, 26 Feb 2024 06:07:28 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708956448; cv=pass; d=google.com; s=arc-20160816; b=cwmIMkXvnIznVCPVFm/UiVA5GvE7TT1BLznN7wLPtLJZKS/GcUnTidiC5WF/sjcrDM nvkMs9yBsP13YXvLx+ug6k9y3xWgL9bk45V8FQgyPuiWftlXKGMxfhJeTJcZI9VIhaOE Mq+5gQe1ys4Okl20gUKov5Eo2u7RctdbGVWlZ270wPKX6u7/NwCfULwwScPk5NuiFgwG h757DT1ew6qFQtg4C4umlgYhepoG4DkalKz94gmVojuZtwNZO6j79huUx6N+Oe4TCCCO hn/FZvAkJtTXuGxQVSMGO+ucUCTWcAONF5RU26EYJnWrubBbrzMY+B073txCUaIXW57K 4zGw== 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-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81567-ouuuleilei=gmail.com@vger.kernel.org" Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id l13-20020a1709060e0d00b00a3f84ea82edsi2195644eji.519.2024.02.26.06.07.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 06:07:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-81567-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; 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-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81567-ouuuleilei=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 am.mirrors.kernel.org (Postfix) with ESMTPS id 53DF31F270AD for ; Mon, 26 Feb 2024 14:07:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 679F912FB18; Mon, 26 Feb 2024 14:02:36 +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 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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791970716540188574 X-GMAIL-MSGID: 1791970716540188574 From: Fabien Parent Add MT6357 codec entry in the MFD driver. Signed-off-by: Fabien Parent Signed-off-by: Alexandre Mergnat Reviewed-by: AngeloGioacchino Del Regno --- 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),