From patchwork Wed Nov 6 23:31:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ki-Seok Jo X-Patchwork-Id: 13865630 Received: from SEVP216CU002.outbound.protection.outlook.com (mail-koreacentralazon11022141.outbound.protection.outlook.com [40.107.43.141]) (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 401A4168BD; Wed, 6 Nov 2024 23:31:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.43.141 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730935922; cv=fail; b=frHzm537fAXlMsnqH0d5pCk7he5fEhVWqFOG/w7iOIcl6K9Grj/F66BlBOPSQJwEird0qBFmN7armiAqPfZi1V1mDIvtJ/ocPMe8A+YgyrLusokao6LCXWNvAncHC3T9Tj/4hRTYCgsh9fEreOFdHwOUnACTBN3m9Y70gM16Kig= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730935922; c=relaxed/simple; bh=XWRbryqSgfMo81szwgk91HGUrrb+ZPB0GxVRluyDt3o=; h=From:To:Cc:Subject:Date:Message-Id:Content-Type:MIME-Version; b=B6iT37IK/eDD1X3nqA4C0UwUFJnLAX6JhfCvGMoiAX8jqfpHciqLKFr1ZifASbrL2ux9QCbo/Uc4EJhQx6gUnO0uG85bvdOPAS95FINmX+0YsAU/0HjrcylZ0/lb8dgi8JSIgO0gc1WZ/uivMCMuvk3m6nh1jsHOm1/tm2qYow4= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=irondevice.com; spf=pass smtp.mailfrom=irondevice.com; arc=fail smtp.client-ip=40.107.43.141 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=irondevice.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=irondevice.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=c/6v00LzAVJ90sGi8cQ3uhFrvxFD4SgFz8rWPJNLjkfbUXqiLXPFowbhtajLdqznXC48HX65j4TK7h6Dg3Cwt1FQY5R3zTBkaXPQHhhkN8erovDp6BYa6afP43Rr/m4xXZNvN85W7Z12fkMrFMa/RNkqR/wdNN8UNxN1Z82GiE0MJeLAFOWjvqipkjxuh2gzNZorIHRqQpw6syj914decycfmNTtYhkcS1/tZO6BQJbtP787HAhwRSHZBR6vICoJ0B1HpxacmAimT28OmUnbAavv8La6ZMQNQxDIuBoyXuA+AgQVwAy2q1m3eV6jjjRPviIVTOfnxqipj88M+T3WYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=jYEwDQfDeqxNQsw9TYrhNPFt6WUhugmsNScw2SaSfEI=; b=dPgvb+UoCGR2nsFnJGo6/aBrBH6dLzMzfFkA7BrlVszjwB1UXDDq8I8jAUKUHYqEXyOQDZTS5KYEPin2smpHUP0+Ol6BRsx7SJWHi90aBYI7T1qzSA9B+gwBGu9s7Anvoy8uVoxsfG/2bSXaH9S8GS+7xItPXjUPpKqgd9qvdA6bKbLY1Iq6ELGSE5oxGJ6T8WfB8VjHxbd8CJkmcZ8aioMyEk9dFOOAsNNpgjUX6Xu37wkwkgYBW+1ZUdIfLY5Os6ryM6AiRXRxSRVZVYZMzCN+AHA9pYjE7ZSGtyoc77a9gZ+V3wARptaRbjila83QdglhutGolcbhgOdjnhkVMQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=irondevice.com; dmarc=pass action=none header.from=irondevice.com; dkim=pass header.d=irondevice.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=irondevice.com; Received: from SL2P216MB2337.KORP216.PROD.OUTLOOK.COM (2603:1096:101:14c::11) by PS2P216MB1362.KORP216.PROD.OUTLOOK.COM (2603:1096:301:98::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8137.19; Wed, 6 Nov 2024 23:31:57 +0000 Received: from SL2P216MB2337.KORP216.PROD.OUTLOOK.COM ([fe80::7e8d:9550:c46b:2756]) by SL2P216MB2337.KORP216.PROD.OUTLOOK.COM ([fe80::7e8d:9550:c46b:2756%4]) with mapi id 15.20.8137.019; Wed, 6 Nov 2024 23:31:57 +0000 From: Kiseok Jo To: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jaroslav Kysela Cc: alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Kiseok Jo Subject: [PATCH RESEND v4 0/2] Add a driver for the Iron Device SMA1307 Amp Date: Thu, 7 Nov 2024 08:31:42 +0900 Message-Id: <20241106233144.9283-1-kiseok.jo@irondevice.com> X-Mailer: git-send-email 2.39.2 X-ClientProxiedBy: SL2P216CA0217.KORP216.PROD.OUTLOOK.COM (2603:1096:101:18::22) To SL2P216MB2337.KORP216.PROD.OUTLOOK.COM (2603:1096:101:14c::11) Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SL2P216MB2337:EE_|PS2P216MB1362:EE_ X-MS-Office365-Filtering-Correlation-Id: de063c3a-8eae-4773-d4df-08dcfebb347e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|376014|7416014|366016|52116014|38350700014; X-Microsoft-Ant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zDa4pm2u24QJRgWRfSeOvkWJdqSHMGTVH3aUQN6MTxQ9Bh9eSFooiHJ8CwLVVOZGtmcELjZiBmlPs66xRO2mZlfG7GW87tQ6KkhMDlMGGE16U7I+TdDsgdN9jq7U6B5c0cN58rBi7lQgvqHGNoCNZG/ilhZWR54KapJRABmoba5SeeXAgO6AF/lxgOtYOfQY2bzh//sSYlaolblm2drtrEhe/D/oXLGN3iXffGcYKw5t9M+R9jEDE+qCPaOJgoChWSEKFXiYFahPxlJ++TugjSCb0L5/3OJDYUR1P78nQK8NoCfYql3w+32RQTwCM= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SL2P216MB2337.KORP216.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(376014)(7416014)(366016)(52116014)(38350700014);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Q26w3Z7Qj6AVeirrQTwjhDOXp5D0yH5TJgO49YjtQTtIUA05uehd2qu7P0RbgT4rwUf0N6QUdOiO8ENd1lMjp7pITqy3mSVgikH35SkztxU6cbmR+oc4bZsVms8vrm7zipB78FX61dOxtMNghFRL+1LuK/yIKHd29OAqphR5SqDKudKWQLLEQei1G9rJ3gg0xMVQpV2Iy3LVaGHzWjhswYeXyX2SvarGiYqwyFedOwYKgJfVnAgAoB8JZjoJ9MZH9ctDp72hZdonve0CU484k4RzEJdisXd1xcY5poftDpE7w8ust3VoMQeAQHcqQ+gDNVywJzvK12YeK6X47ekeWs+xKscK6DllqcCJ9PaZSBQq12rgWiEIXl38Yu+3d98DVxfv+zp9YxMrCXWmlUYVPPXHINbJlkNtJCXKYcd2EHZhgC0Nii5tWtawVvSJ//OBZfoW7RpI0uAD7DkVc+M8OoJCSzhy62fRHpm3U3XxyKdIGVbJgncB7RS0dOj/gIqTcN+us6YrWwB2aMjR25TwA+qYot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-OriginatorOrg: irondevice.com X-MS-Exchange-CrossTenant-Network-Message-Id: de063c3a-8eae-4773-d4df-08dcfebb347e X-MS-Exchange-CrossTenant-AuthSource: SL2P216MB2337.KORP216.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Nov 2024 23:31:57.4481 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: b4849faa-3337-494e-a76a-cb25a3b3d7d1 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: PtghImNNz/ICqBIqVT41ExFlEOYuTkEwj92Wl/AvSmsk6fq2SGu+83uFoJwo6wV31qBcqxnQwkiYibBGYW4ESK0h1+OusNAMoI1LDJH62c4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PS2P216MB1362 This adds basic audio support for the Iron Device SMA1307 amplifier Kiseok Jo (2): ASoC: dt-bindings: irondevice,sma1307: Add initial DT ASoC: sma1307: Add driver for Iron Device SMA1307 .../bindings/sound/irondevice,sma1307.yaml | 53 + sound/soc/codecs/Kconfig | 10 + sound/soc/codecs/Makefile | 2 + sound/soc/codecs/sma1307.c | 2052 +++++++++++++++++ sound/soc/codecs/sma1307.h | 444 ++++ 5 files changed, 2561 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/irondevice,sma1307.yaml create mode 100644 sound/soc/codecs/sma1307.c create mode 100644 sound/soc/codecs/sma1307.h