From patchwork Tue Aug 13 02:54:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kiseok Jo X-Patchwork-Id: 818875 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3373EC3DA7F for ; Tue, 13 Aug 2024 02:58:40 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id C475820C0; Tue, 13 Aug 2024 04:58:27 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz C475820C0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1723517917; bh=yCOs2KaaRykcL/CK0RN55OzOutyIS5p0YAfllU9lbtk=; h=From:To:Cc:Subject:Date:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=Jg8U+7ZxUpMB/Jrd1fQ5QTovmezL9+2NEJ4bd1Rm2vPnGi0jDKBoRUHWs0mMrDj/D 84+zCdxzVVi0PqYOyTDuBq+pqfV7tW7krbrCBuU7P8usCjMQ/UhqSVuiKQOsbrQBJo PXK/A5OJ3gGnjr8UehVWFQ/lT1o0mzuBUn33bta0= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 54228F805C0; Tue, 13 Aug 2024 04:58:17 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 33143F805B3; Tue, 13 Aug 2024 04:58:15 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 5BFA3F8016E; Tue, 13 Aug 2024 04:54:59 +0200 (CEST) Received: from PUWP216CU001.outbound.protection.outlook.com (mail-koreasouthazlp170100001.outbound.protection.outlook.com [IPv6:2a01:111:f403:c410::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id E8D2CF8016E for ; Tue, 13 Aug 2024 04:54:53 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz E8D2CF8016E ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=A1w5nFk5jOOYJctcu+6Xmat7aa3FaBz5DbDiSohNKsAnF2JjbF2zQAQpu1XclUjvkR/kajlLxo2E6UXxofPneof5uQmr0EP0A7rAEjdrlC2dI4SaP+G9FMWjrQF3ElQo/pK+Mimv1DgZ1kgNxgJW0VBtY36dm029EzJYDUWyxXeyOIjXYPJUOBxTXwAsVT9lCW8RVc8pXNWmITk5c4kC2jJu2HohQtCYs0pZ03U4GalOs9rLVvq9QoDHKRMpBrsmM5RSn9WhRTFJ8IhBfjhzRwWiWvb5FOrUlIAS/i8ju6hY8JrDWunKHghdrehJnDdVXsY1/dieaODK1l3Q1j36ag== 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=inUeV3B672KU0SnIRDdRdaHXCpUk//YiyaNsaD/pkGc=; b=hczxkHUpcl21YfIiGEZXT7rff5OGetN6qZ44m52ZiNWWl7tsMMg/2cnXWKfF8AyToztsP1ZkUe1TuAT9BhDd1O/sxCQHv5lAvpEo8aj5oTLElVDLL/F/N+dnBfJpvyaHpH4jaokt0xkEC6rvPUYJS1I2IkuIuKn/ffnYKSZlnHyJu/5qTgD1WZA4AquClkV5ec4ENYXK1djBHcetvf7q0tYsh2ZQz+LZFJQWDeER4f80JrQJ20fHMK4b+/GlKjKrn3oZYlNgmRL19Re765obbRWR344VK0TpJDa1ELyFyyuvAOJJK3Mrqyo5aKe9EVFH0rp2OMm+djPwOV0cwHl/zw== 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 SE1P216MB2218.KORP216.PROD.OUTLOOK.COM (2603:1096:101:15f::7) 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 02:54:47 +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 02:54:47 +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 11:54:34 +0900 Message-Id: <20240813025436.52410-1-kiseok.jo@irondevice.com> X-Mailer: git-send-email 2.39.2 X-ClientProxiedBy: SE2P216CA0024.KORP216.PROD.OUTLOOK.COM (2603:1096:101:114::14) To SL2P216MB2337.KORP216.PROD.OUTLOOK.COM (2603:1096:101:14c::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SL2P216MB2337:EE_|SE1P216MB2218:EE_ X-MS-Office365-Filtering-Correlation-Id: 56db999e-2dd3-4aa2-38c4-08dcbb434ad2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|366016|1800799024|376014|52116014|38350700014; X-Microsoft-Antispam-Message-Info: h3Hr8/aMCeTEeFs2X34F7w7MzVQiw2+N+HdBewjfX701lFNrT8Vgs1/LytK5nGpUJk/cjPp5s1k0ZD+bdHyhFxWSGHlpNvB7tcfin0gFs8vTkQS8xgbD/3YQorYKQytkKGepcStmkz/FsXPszuW5ZndO9dUlpYwi331Z+NsH8BeGLhMQFMLmMPlm5TD5QWzDj5xKDg8zzSd6DwZlYyIuGLfxdzjPHjmAFxl6mRYT3TGeQTmJQVAzB/hSqLGyo2FfgRT/cOKiyXWSQImtukDGWRxO4kLsbxKigzaamWus8ZPY9EZZcvS/bISzRRtqOUtGI3Z8+8JeaMM1yhUwivnpvJG955fnRC08lPobQyLjtF7F+GUYCu/zdGDFz5PSPztRyNhhp3Hpt19MA7ustkEvV4F1xZO4dbYwcefQ3evnlD3Yfqp9aJ28XkXO2IsiZd4ApRLC/PfG9CYtMnQKxtKryzWjPU3ulyhL2LmTA3CbfimJmAdPOXLpkqstTXiKyvPoEmSY+05J3jgOaKYCywAKqblAXYy8WgImjDpYf0fSRsiI7ri1boiS5Wi6MGVXftr/pYlcMlvPvkAc93kduyHI0XuYuRoJEaFk3gv/J61q+whi1rbXdBWrZEMRsf5kxxJgTmkXonnjfafo6L/nx1hhody8VnCiMkSi4Rb9Lrv9OBWGBfxkNwDSZSM3effTX/Qp5OCwLJxoV/NkDrQfjWIFRrJvxhRFffBu/gd5wMR7ItVlEBNAzQAllwNBW2l+/NyQyjFEIbm7oAVlMI6gwVTeAO5YGNToy8BpTiL8rGnK1OzT+1p0Kv7z13UAqRV7LQMGLOdqEJpI9G3CcM3akJDeni502vYf9YBHGDIJmiKgnU4UnNKEQ0aSXa7Cg78EgCVbDnBlZhoWkenKXP6oB+Hw31q9rVMUF9Xq7FWePuSTulefTbCJHRaQ06BGbsuBzt30Up1VQ26S2mAqKZookFfE9rMUsWNl4itAJxAYTizFxvK+sMDvAGrbhmcCM1J22ud/BsyQXAtniUV9wCAFc0teERPIJWeM/fYVy80ZZBEDR3isHHp3jaGP09egLl1IPrTio/7RgpSad0NknHvHhGHjqJTS5adDHo3wzCGaT7DLqS0xIX46K5oMLH9wNuwHILuKRTylQrjIlroEKcYIyUAhdlVlhouXYFi0idpnp7GG4tKsb5qEei3x2iVAckrbmtRGPFXJrRhcaLmmLsVrveaTdVZif13X9YrnIQOSEw/Ch3GFdzpNB5qSqT6jzLpUb+fmeTCXqHXcbRI0Cek/iuQl4uwe1ZKOuVWaRbHgKeG9B9Xhiq2CrqDQzOqlMv79juoV7amEYpOHGtkzvnVRc/c/cggBoj+gARsMKjJlcD6FbvfpWnHCmJ0z/r+LEwgT4LZrLzqzgwOl1nYf+LDQbGoMzQ== 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)(366016)(1800799024)(376014)(52116014)(38350700014); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: rwoHmJkRGSM5TzYacT4/iQYlOh//x9Tc2/N5SA0YSjoZ/OdCV2STiEP8B7zzjENcQy4J64DmOBVDjqDgtVWjXRDR/8MHYN053ID74sOgirxGX0kYSyVdB2zAG7C8qEVtsv/MfqAglwlKnR1U2t0367WvtTmLm771xKvCBk1XxEEds4KKqZtOdRURcr5tmp6QYFY8IA7FyxJX4DMqb7dk+ZDQ8wV+F8ONAMSdjwbftZVscPOjk4SJoOkUZe842lvo3igZOmmpbfCIyvNQ6jgXoUWiexC8cClGz5eHxafHAPP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8NiAmqmjNzxCRDBZPhiIXkzR5ucEW2x5fwrLtKGF4cdyDKMT2qSiqePdLW+n0Ki9JfH1Ltef5P2PHR2spNi44p20hkmEvNfJJr5eAzK3bnN5Jn9dQ69I+yWrf1vxOlXrMLh53ruTG47H+uZfc4PkYCUZeN2zUtPzDaOk9pBk4XE7UtBPTg67oFB8NanNyaXPt86ONdgVmb7hWj+8t+IhxQ+E9J1n X-OriginatorOrg: irondevice.com X-MS-Exchange-CrossTenant-Network-Message-Id: 56db999e-2dd3-4aa2-38c4-08dcbb434ad2 X-MS-Exchange-CrossTenant-AuthSource: SL2P216MB2337.KORP216.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Aug 2024 02:54:47.3221 (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: CHl/wzzo01D0be/EDkVMPCCgT1bUUApNYSL3kY3Sgf8ezIOxksyAazO3+RUtbjj5B4lY9wXzYFM6Of7Tg9KcuhAAo6/mVkgFMn7LurA1+A8= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SE1P216MB2218 Message-ID-Hash: FVI2VMH2BTSAEZ7T3QUX2NPVZ72R7JNX X-Message-ID-Hash: FVI2VMH2BTSAEZ7T3QUX2NPVZ72R7JNX X-MailFrom: kiseok.jo@irondevice.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: 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 | 66 + 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, 3162 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