From patchwork Wed Sep 21 04:44:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kiseok Jo X-Patchwork-Id: 607972 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 23CD7C6FA82 for ; Wed, 21 Sep 2022 04:45:45 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 3F413204; Wed, 21 Sep 2022 06:44:53 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 3F413204 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1663735543; bh=f2UHmuNVErCtDLkqW3Y5GWipQpVL70rFdIvRxho7LN4=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=frVOInsP4/QmmR9wO+mt+JVOGJ2viiCht8n9+YQG4aBItzn8uxnOSIkiabLzH1NSO 4fiiS3PDvX5aH7QniWGDHprvLeLBPZbiveWiAV1QBtrbZYdRGXuPsY2INNT4Q1qpUV wKXAoZCMUh8CazVRKEcSyjcx4ltpIINzLBCgUx1o= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id C3C9FF80256; Wed, 21 Sep 2022 06:44:52 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 1FE58F80425; Wed, 21 Sep 2022 06:44:51 +0200 (CEST) Received: from KOR01-PS2-obe.outbound.protection.outlook.com (mail-ps2kor01on2055.outbound.protection.outlook.com [40.107.128.55]) (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 81D30F800C9 for ; Wed, 21 Sep 2022 06:44:45 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 81D30F800C9 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EQevUDI/l/qiYeWqpk8EJysgdPg6m8gyImRur/WepHnEStvRSCrG0klSYex0XF6kkzfqT4qozlXcizGjVNkc+hhO8GQVfLBmfxuoGwM4dl03Mdt69xbgbJLkwrp9bBpB5RYLzlUpvwiFd61xojuFDrea/yBt/kvJxwyZCFMaowbfBc3fOolbyssxcKrzIe1ndu1qOxB2yEknMMhUWDps3GDb3YXi8TSh6YnmeijEjg1aaUbwCjYZs9H42HfcujkUY45oT5k3aW0ogU8g93hKAz9yNlXHxMuwa3WfW4lNxDZpYMzhUHy/5RF52iCNaiXYKRtpqMwbfSB0Fk6gK+fUsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=1NJC+afmHQRvz5u3nqosAaJIZAqVb1tcIWCy3B72B7I=; b=GVpI0YSAoSQk/ljBIjVIpdOYb7JD3De8YTf7dMv9Q6zeLsDIj1ma14bOen7TPA5eNcgeB2/ctG4c6+NVWkzYJZcRIDatlYbFvbR7yuuAfKRnrCC0Q3319yzPFZ0dKlklosftMGWRIXjg7I/+SVTtaabAVcklRN/ZpNMm6Xe//XUhyxPKkiOsVQdf/j4AyRDgrNN2NYYx5Wk26NkVVuNlNaLvw3ehRMQhqUIHzXFtR0kY0bZIDpwO5DQSSS/WovX3JttjY3QRqPRi2uIgVx2K+J9ne085DnGUW90fQS3KigYm+UHYxYvWV9yj/OHdBTsTSgwcfBlrqNBIZt8hkNIj2Q== 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 SLXP216MB0077.KORP216.PROD.OUTLOOK.COM (2603:1096:100:7::23) by SL2P216MB1564.KORP216.PROD.OUTLOOK.COM (2603:1096:101:32::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5654.16; Wed, 21 Sep 2022 04:44:39 +0000 Received: from SLXP216MB0077.KORP216.PROD.OUTLOOK.COM ([fe80::c0c8:be70:d34b:6dd]) by SLXP216MB0077.KORP216.PROD.OUTLOOK.COM ([fe80::c0c8:be70:d34b:6dd%5]) with mapi id 15.20.5632.023; Wed, 21 Sep 2022 04:44:39 +0000 From: Kiseok Jo To: Gyuhwa Park , Mark Brown Subject: [PATCH 0/2] ASoC: Add a driver for the Iron Device SMA1303 Amp Date: Wed, 21 Sep 2022 13:44:03 +0900 Message-Id: <20220921044405.4441-1-kiseok.jo@irondevice.com> X-Mailer: git-send-email 2.30.2 X-ClientProxiedBy: SL2PR04CA0023.apcprd04.prod.outlook.com (2603:1096:100:2d::35) To SLXP216MB0077.KORP216.PROD.OUTLOOK.COM (2603:1096:100:7::23) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SLXP216MB0077:EE_|SL2P216MB1564:EE_ X-MS-Office365-Filtering-Correlation-Id: 1578998c-6bf2-4ce6-ceeb-08da9b8bfd9f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: RkJ8AYtyRdTcKMSgbZA40vwSlYgezC5oY85rnJLPXjWoCjdbuVux5BJY89IVfR64EFPVCyF9pP9oM8+sQ0igeezJpy2EYh7AF3Dq7H5K4jiY5cILHsWoW/sVqCaW3V5DxACPm086/bI5aet/AaH3CbpvAb900CIJpxxbmZ3yrLr1tYh1wC7ABLMyry/j8bPU4DQOM6DcUcoHyc2IvC8P4NFVxtM2/OBtFfxnfjZNgGVhwY9OBYDF0TDtC2wL411DN9nC62Dv87yJ1qk9PbdyvofXKxDCD5t5JN0dSKhi1pOTbe75l7NUwL7aRlEgNHjEKLr+QwyM7AfhhsNnh9m7PRyyMemOaHX89LOnAvivIvlnGAlOJsgDig5AY5RQd9ZqIWmnv9bIlQVLCeNo+yHf91r5oRE9JbL4wtxX6kF0JQ9WuifvUw/fU1hle/YlbvnsPoG1q9BenAS5RxwdxfYQQOq2TM+6QMkxGxkt044IROilZyHuCxMxK9pa/7Z87wvT2uCY1LIQcADwhuXSnVBbgx09uVKiu8FKHgMrf0U5RE6WJUWZokQUNCB2T4F+/lcs05Aan33Drv8rTYQXnHxWgvg9yw/hIhn+VtX5Vtz2jMnLT9zQxxP0zjGE/OoLgbzW0WgsbXZ7DQBxKvILAxXzbbrIpIw3H6/GlEUhBSNge1RfMwOV8+VG9v5mlm2xxGsGtvU//8P2UGVva5e7nOaZu5beGafaogEbfxFIMWq8AMDjfDJugC/OFHKz2OLNr58o X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SLXP216MB0077.KORP216.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230022)(39830400003)(366004)(396003)(136003)(346002)(376002)(451199015)(2616005)(186003)(52116002)(2906002)(36756003)(41300700001)(1076003)(6666004)(107886003)(4744005)(86362001)(44832011)(38100700002)(38350700002)(8676002)(316002)(110136005)(6506007)(6512007)(26005)(4326008)(5660300002)(8936002)(6486002)(66946007)(478600001)(66476007)(66556008); DIR:OUT; SFP:1101;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Xjybt1di3J17OsxIDyvcpI5RwbPZgpLNmhORx7E/5Q/MA6hlq4bFcFSwScJDnldgZxJTWhf4b6OZ1S8/QGDRvJTeq5UQzf9WTuPRkPWbxtyXOSag+XTtXG3Z8L3EWww2Uu1dD18ypbLpVBfLOketYLPJh6tBanJEIktQZ1Hp87BH72oHpyrrkc4RHnah93O4hdvh3Es7Hodc4EdziqaCOujMXGPZVDFl+kdgwkUQxNicgYQCBMcEUDVZbeIYoTtEijfsVysQ4zERN5hrMCKmXEJO+zQxhLzqO8WfLb+MdEsjPhLj6Q9WsXDtXiE8d29lCi3fSvfxSa3mOuUQ2hT+xXTTX2quQ3nY4aIjQi3W/PfuPIKMHt6v9/u4wLdvE95MGfpT/PNu9ceJHgu3r5asDjxK1St2YmdcKpgXT7ZSyONkKQRldhYXSHU9uVMcGzA7zsxILLku/VsWuk54gb3cimuo1HSv22pH912p1SXHnJBNxlh0f6WZh190E1oRDLE8ntU/uxLqM+c9DxUQuh6mrbBXZWH755F1t2tSRAz8NcSlUQvbZWh/ugQuF9Kk39M2ERuxW7 X-OriginatorOrg: irondevice.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1578998c-6bf2-4ce6-ceeb-08da9b8bfd9f X-MS-Exchange-CrossTenant-AuthSource: SLXP216MB0077.KORP216.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Sep 2022 04:44:39.3120 (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: Ka8CjGW4sxwJ+b5wo0L6DnSDMzT23m4m5U4Q4JKztkkkJGfGRGkKl4Z+q4HRG9EOsuGj7aX5VpYQkDUK+eIQVbX0N4Ty994TrOBmAfpf0s4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SL2P216MB1564 Cc: alsa-devel@alsa-project.org, application@irondevice.com, Kiseok Jo X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" This adds basic audio support for the Iron Device SMA1303 amplifier. Kiseok Jo (2): ASoC: sma1303: Add driver for Iron Device SMA1303 Amp ASoC: dt-bindings: sma1303: Iron Device SMA1303 Amp .../bindings/sound/irondevice,sma1303.yaml | 40 + .../devicetree/bindings/vendor-prefixes.yaml | 2 + sound/soc/codecs/Kconfig | 7 + sound/soc/codecs/Makefile | 2 + sound/soc/codecs/sma1303.c | 2119 +++++++++++++++++ sound/soc/codecs/sma1303.h | 609 +++++ 6 files changed, 2779 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/irondevice,sma1303.yaml create mode 100644 sound/soc/codecs/sma1303.c create mode 100644 sound/soc/codecs/sma1303.h