From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6BEC033D6C7; Tue, 12 May 2026 05:21:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778563300; cv=none; b=fgXDWHQVCGWQ7k+RePPQNwWf8ST6cbPJJpKGXp05SeKZEamfhppWziIVhMSdrVawBNySLAIvt5GA9Om1wLtdXa3ZP/WNTX9pX7EncSPRUHd0+YhopHoAzRM7Vkai1OyXdFwm/LGYlTrZpkmLWVJ49F5jxlETSzjrdh9b1ufKDgw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778563300; c=relaxed/simple; bh=D3ikDb5iz89iLJ6uZVHjbY5rTXXDcPWKbnxCOlfwCxY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Qc9QKCWWq/flQOEmEvs1oIZi85dKhA59aJlsoGGBr15c+4O4Bzxlfn+RWKGe94OLR4jK49/ulvc6ittcFm1cmkUMDoVa6InqCpY61CoNm+2CbhVRiBU3twk/GCUnlcb/f2Gt5HaToZIQV7YzhdmFy44ugZKrIE9P8Znm9XdNi9Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=tCz+zz1H; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="tCz+zz1H" Received: by smtp.kernel.org (Postfix) with ESMTPS id 389F6C32786; Tue, 12 May 2026 05:21:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1778563300; bh=D3ikDb5iz89iLJ6uZVHjbY5rTXXDcPWKbnxCOlfwCxY=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=tCz+zz1HjQsTJEFiYXRKogdCaF7JPWdg+UtxOHvL4T2D6RHR8vPymfzVn/5DpQ0XP HEqXz3BfagtNQyv0YOtvAvsii4DvEVyrl/G1gWRasjIh4ihbwyHRv3ygcqATQFl8/H QXqsooE/arZhsxEwMIstdTrkqxSEEcnm3pJN5ELwa/wWSIzCanIn0WXqPiGNnsuKFz E479nIF65kJY7ZD7KqPuBliT0H5cf7kg1m8F+psFBG6Wz3ZngjlK0v52P0ksR0WhUn JePZGE8xqRvxDTaW/nx4ybdlFxwsgYyMA7G3iOdLPiGgVU69AikT9lY2Bm9N4ej6dF YNBy89M8mLUjA== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2B9DBCD4F21; Tue, 12 May 2026 05:21:40 +0000 (UTC) From: Roman Vivchar via B4 Relay Date: Tue, 12 May 2026 08:18:22 +0300 Subject: [PATCH v2 08/16] mfd: mt6397-core: add mt6323 AUXADC support Precedence: bulk X-Mailing-List: linux-pm@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: <20260512-mt6323-v2-8-3efcba579e88@protonmail.com> References: <20260512-mt6323-v2-0-3efcba579e88@protonmail.com> In-Reply-To: <20260512-mt6323-v2-0-3efcba579e88@protonmail.com> To: Jonathan Cameron , David Lechner , =?utf-8?q?Nuno_S=C3=A1?= , Andy Shevchenko , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Sen Chu , Sean Wang , Macpaul Lin , Lee Jones , Roman Vivchar , Srinivas Kandagatla , "Rafael J. Wysocki" , Daniel Lezcano , Zhang Rui , Lukasz Luba Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-pm@vger.kernel.org, Ben Grisdale X-Mailer: b4 0.15.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1778563297; l=903; i=rva333@protonmail.com; s=20260510; h=from:subject:message-id; bh=AtpQuSBNMLgpeH1t4ADFZid08i2lKNvKchWt3/88KCc=; b=CuuD+NcafOOWOnzD4gAzv4G+oQMeaNEqepGujqJAyjg0Fp7F4zUaoi+IKcpL2KxTTSA2Sdbsj pHiclbcM/m9B6YhYoPuAL8FrVBvXxn4HLVAZ0IW2g6YWP2X/XvD3/rI X-Developer-Key: i=rva333@protonmail.com; a=ed25519; pk=zww/nWjBGoQ4POXCG0BV6fx2iuXK6jx77rsKPA5YK5Y= X-Endpoint-Received: by B4 Relay for rva333@protonmail.com/20260510 with auth_id=777 X-Original-From: Roman Vivchar Reply-To: rva333@protonmail.com From: Roman Vivchar The mt6323 PMIC includes an AUXADC. Register the AUXADC in the mt6323 devices array to allow the corresponding driver to probe using compatible string. Tested-by: Ben Grisdale # Amazon Echo Dot (2nd Generation) Signed-off-by: Roman Vivchar --- 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 3e58d0764c7e..013b0857fb54 100644 --- a/drivers/mfd/mt6397-core.c +++ b/drivers/mfd/mt6397-core.c @@ -125,6 +125,9 @@ static const struct resource mt6323_pwrc_resources[] = { static const struct mfd_cell mt6323_devs[] = { { + .name = "mt6323-auxadc", + .of_compatible = "mediatek,mt6323-auxadc", + }, { .name = "mt6323-rtc", .num_resources = ARRAY_SIZE(mt6323_rtc_resources), .resources = mt6323_rtc_resources, -- 2.54.0