From patchwork Tue Aug 13 05:26:07 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: 13761328 Received: from SEVP216CU002.outbound.protection.outlook.com (mail-koreacentralazon11022115.outbound.protection.outlook.com [40.107.43.115]) (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 7E395339AC; Tue, 13 Aug 2024 05:26:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.43.115 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723526783; cv=fail; b=ElL2I40MBEGg/9XopB7AcQZvUJIdd9aAuLwkUUPgd7/DvCGupEyiQCw0RJxEpQ6HvCGe2mc077NNR8xiIK9ueDG/mw/JJWTn9cLLbZWafB0xYB46hKH1F904+ld8J5HXY1rO48sszs/ETa6QksGY8Qij8s5tXLZoi0HP3VevNkg= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723526783; c=relaxed/simple; bh=B3mG+kfjakc5UBBFZFl28yCRzGqVGuXiJuw460PvYAA=; h=From:To:Cc:Subject:Date:Message-Id:Content-Type:MIME-Version; b=JODYlD+RPmjjM1NYc4XMxnvfdrb3CR1ew7e/NQO2Rad1CdDXDyAwuSGi1llcvRHDlbzbk7WNfD3GpgbPVGmQuTP8ziKiiBFJyP6mqc22wqmEPUnIdBV52TtnV49FZLu18CM9Efj5wVhjk3yI8kaCEkK0V7DD1mt3QYxpoF1ZTtk= 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.115 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=vyrXvb2l+E+ZhMs5mokN3wiJe05PSYZqKZg8xRGFQlX4tyH+fxLHefxfm8ZWkSGTgIItZjMNJq+nrgKtsMYmjdMzAKVnIw7bvV5E9hoM+w2sABr0Rq6lIeEwIw9gpVzhVJfNSjTJek9xh+7FeZECo5Iuez3drm1LHTjDk/lZreBDOsPNY2IY498Cnf0DYK8gXLXXOJzALmnMfjVr8Z4twsq1J7q8344F7Kfqi2Vg4uMWHHM7jvNiOGDSRp4jsaiQkaRKRe5Tf/ASqlV4PtqTtHCJP5O8cuRJnWuYIXaTJGdAEqA+BUupWNOaGnho1VPmn/rhVckfAZboI3ofs8EU5A== 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=hniFXpeXFM8f/yDu2tCjvFtUja1kcLrRI9rmqjXpJTk=; b=jjD2i3urNPTDPRrH96UUuMLU4zrR/68eDCWy18bxWHp1EZuXpVIKfm2eINYnbmiUsJ62pzLZ2xzIFJdcA35hoBKa+uObO/huqgfnuXKRLV6CG/m1D7HolSrdf+I+T7TimPZCGfalLd7jr88LNQ8aRSHf0Xe0EFd/jZZ7Lbwwzn7ExC+Xdt7RE6ye/NwFZwf18drLl2EYHfod3YNY6e2kRsrwjLJ43eCSShWilCOylcipl2TGEJqUTfeEk+2Nw08uOGsqO/uk0BExle9SlgYUQhenXAsVektluEEXXfSflNrlx6PYCo7ZEWjX7C2+I0T3XOVTXjjTptyMhj0S7Li3wA== 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 PU4P216MB2027.KORP216.PROD.OUTLOOK.COM (2603:1096:301:130::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7849.22; Tue, 13 Aug 2024 05:26:17 +0000 Received: from SL2P216MB2337.KORP216.PROD.OUTLOOK.COM ([fe80::7e8d:9550:c46b:2756]) by SL2P216MB2337.KORP216.PROD.OUTLOOK.COM ([fe80::7e8d:9550:c46b:2756%3]) with mapi id 15.20.7849.021; Tue, 13 Aug 2024 05:26:17 +0000 From: Kiseok Jo To: Kiseok Jo , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai Cc: alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 0/2] Add a driver for the Iron Device SMA1307 Amp Date: Tue, 13 Aug 2024 14:26:07 +0900 Message-Id: <20240813052609.56527-1-kiseok.jo@irondevice.com> X-Mailer: git-send-email 2.39.2 X-ClientProxiedBy: SL2P216CA0078.KORP216.PROD.OUTLOOK.COM (2603:1096:101:2::11) 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_|PU4P216MB2027:EE_ X-MS-Office365-Filtering-Correlation-Id: 9d4b6ad6-083c-4b59-e20a-08dcbb5874da X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|52116014|376014|1800799024|366016|38350700014; X-Microsoft-Antispam-Message-Info: +vxA+zBrSoguUKXvd8dhu8tTQ+Ug0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oZN3Eu9swOaUGeRoYVFzEiqP0/PVdBoGcnZ5z3tmXO8iTlYJ3Ond9GEnlD/SK4V9QbnWPSg/k/pzqqTnsq2Ya0y4RODX+7KGv5FEGPT35fMg8RsHSF2FfH6+CdjDxBs+T7U6rRBAYQD7j9E40+OWwnrTSQnzT/5VxcLpDKG0knpjqvOCT/NMQrrTh6uKbHXXIKnyg6l/vuAcRE32HhJgy/HvTR0fpFIPgkcrSaM1dS2VWmgv/3meNbMtxNlBgUtFubRe84KmRJtoZaNFrig+LNy8KxLFK7U8X+ktTe+1W29M6c5ey0qjVPI/keenSg== 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)(52116014)(376014)(1800799024)(366016)(38350700014);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: yBjGNjXW0Jg7829FxbQtOR+NogfIQMGS5HZU+jBapYSD92sxD3+e46WIv5kglyTF0YNEcSGIRa0QVaU484P7MVVUSr3OaFw5vRHIqXc6FzG6H4sA5wqVs87bKC0xJ2urP1lW8DFYcaTqqT5FjPbmA17n0Ok6hlYNTCKn4aZFh962lpzHHDdFbtARuMuooIw1ZzBmzODdlLH+PfJfWVRW1UYnrKyNJa2ikixHISt9USHA4v61vMU/JYYB3OMv8YcW8i+UrbIsDXmxTQSqv68eqwKOtaZBRVJDyBzvlmXO1V2W63vBpSE5cTzeYv71GfOgOTgkm6+JPLPnTqLU63QmgOlU1jJp1XfT/VBJTX0ZEJZL/GMJNr4f/1kF8RSY4WNZz5ZSjpu++3qlTYQEC6YoHI23eNR8e46SGLQ2kndpdYvxTPx1dT4DAofj0DMHb74rurXmTt3v2lYF4/lnOGQKk6Ky2x0kk7rTVp4bKsZLFzf9lVLUTTl6JX2mXeltSObesoKYOOzokp20Ik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4NLYl7ZW X-OriginatorOrg: irondevice.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9d4b6ad6-083c-4b59-e20a-08dcbb5874da X-MS-Exchange-CrossTenant-AuthSource: SL2P216MB2337.KORP216.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Aug 2024 05:26:17.3036 (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: EJm08jXzZF6ZVfx3pktOyMk3hzk0q+Gh7zsl8+YzZBy/pYcArWSvTbtETTJn8KRMNN23HCluxeRfCrf/8X1oMNtvCNhNs6V65uXQIRRnnjs= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PU4P216MB2027 This adds basic audio support for the Iron Device SMA1307 amplifier Kiseok Jo (2): ASoC: sma1307: Add driver for Iron Device SMA1307 ASoC: sma1307: Add bindings for Iron Device SMA1307 amplifier .../bindings/sound/irondevice,sma1307.yaml | 67 + sound/soc/codecs/Kconfig | 8 + sound/soc/codecs/Makefile | 2 + sound/soc/codecs/sma1307.c | 2630 +++++++++++++++++ sound/soc/codecs/sma1307.h | 456 +++ 5 files changed, 3163 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