From patchwork Wed Nov 6 00:57:59 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: 2007223 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=147.75.199.223; helo=ny.mirrors.kernel.org; envelope-from=devicetree+bounces-119249-incoming-dt=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org [147.75.199.223]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Xjmzh6W0sz1xxf for ; Wed, 6 Nov 2024 11:58:40 +1100 (AEDT) Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id C73EB1C22582 for ; Wed, 6 Nov 2024 00:58:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 31D2612B17C; Wed, 6 Nov 2024 00:58:24 +0000 (UTC) X-Original-To: devicetree@vger.kernel.org Received: from SLXP216CU001.outbound.protection.outlook.com (mail-koreacentralazon11021111.outbound.protection.outlook.com [40.107.42.111]) (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 5D4CA126C10; Wed, 6 Nov 2024 00:58:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.42.111 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730854704; cv=fail; b=Nii3y9vViMkgOaTu7ejmwjjPOqwQ3+sqFt2kbVrk69JfysQnRFkqE46jhwZX2l2zEYB/kybV4+rvflbL45wfB87qlvgOkJOCwm1wwVQ14koA1qtcDDIcQPeBE0WZhijoZcN8LTid10+aSVYksKHHRAN6nMdjyzp4klpLWDD3zvA= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730854704; c=relaxed/simple; bh=sZPujshf6OOKp/2EfMp+4KCbFvOanXdHwGHkhz/ug44=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=aP5bc3DZtn4LnfmF30Aa2oY2SFwkwCltWGYkUbpPqWV3MU3cbZKbtDksI35dkXpVAKvj7vKfYJV3ajNlbeIBG7+31Nc8uRy7XbMoxC9vnPSSYukE9oEv8EbQOeZyEylayYsDeRMrtz7TgneIJgMiZCvqLJn5GMnHurGsz8dJk1U= 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.42.111 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=dL+Rrp1eUb7VbyFE/85qkAVV6dR1UrN0uQ1mzg1j2G8wyohbpcgXUQSoX3jmlh7RUsbl+MMwC3+2pTB0Dv61FH5XSmEOR881Vsbw8sF3fb4587xb6sRNw5ggXVzaBlE8dC4oG43qjCTPFc6zjbd/JrygIpGBfEVGmweTttIHkd1TpKQNJi7dYcdjv1H20xyobepunQdvEuzI5rzLFzo0ZCPVLH6xhYzr/gxrjz83EiS9qAWGladrRCMhq2EGcySlZUQNaUez5NLuh76mifP16JD6QBN6a18EjJoSTDp0aWKDdKEOuxQs8l4ILRhLOZ5E0e4fj2TkxPjCXsCK29eeWg== 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=ya/KN9LtJA+zqNLwsdZkIpFd+Xl0O9WRcaegL7vNjeY=; b=r6pEjoAbWUY3Z3ul2yKZSULLOxWYRO0xmd67h3mFmn4bu3khAHhGIjeFAvP2fcy11x1GVBrq0XWkaoI0EGfBX4PDecjspJBnQJFp3weS6sGAzV/4fnakJYLkmSccj4R4iZ7YNPxkBm8YM3Wa5Wf8xHVaB4JZ0xNZvLG8pn82CQtUPWTcEbdsg44bj7or1gMIbfhHgzCrbCuqqBbBjneAAK+XYauguk0AjlnbWh/TxrHzND2ytu6dnDURMjIHkJmSUPxM+PjehsaRmZKS8E611OYOjtPIpbpXdp5xfPt1s8GOUUmUsd++nF9ttjLmMX82si33LQd7zhgv5rSkkjbJLQ== 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 SL2P216MB2112.KORP216.PROD.OUTLOOK.COM (2603:1096:101:154::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 00:58:18 +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.8114.031; Wed, 6 Nov 2024 00:58:18 +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 1/2] ASoC: dt-bindings: irondevice,sma1307: Add initial DT Date: Wed, 6 Nov 2024 09:57:59 +0900 Message-Id: <20241106005800.7520-2-kiseok.jo@irondevice.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20241106005800.7520-1-kiseok.jo@irondevice.com> References: <20241106005800.7520-1-kiseok.jo@irondevice.com> X-ClientProxiedBy: SL2P216CA0086.KORP216.PROD.OUTLOOK.COM (2603:1096:101:2::19) To SL2P216MB2337.KORP216.PROD.OUTLOOK.COM (2603:1096:101:14c::11) Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SL2P216MB2337:EE_|SL2P216MB2112:EE_ X-MS-Office365-Filtering-Correlation-Id: f7a79153-e706-4a37-9a82-08dcfdfe1a57 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|7416014|52116014|366016|1800799024|38350700014; X-Microsoft-Antispam-Message-Info: JDyGNafRt0xOSIWoOZoY/ehe7iwdMBZJMucLHb0qFXEyp2QhFlcldCUgfSmWicT2kFYDxqUhj7vJHUgagPqOfCsOBmQgS999Gf+/aGl/IBFH/1ocqDBG3qQxaCNH16nbZ07CK8fDlNvpShBe80Vgr1NAsQHwDMfQ5+EvHQBsX7WgKbOIbfRQFbQHxLV2ZcxOsW5QuihrYJjnLLcgsj9NM7w87iRz2W2A3CHsuvad3HCjwjp+fHMpb+5BJBXakVTWpDDIa/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7NWv3UjnD 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)(376014)(7416014)(52116014)(366016)(1800799024)(38350700014);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: dLGaHqVWlfStGd5Fm5aYD81a7Ez0Stf9xp7XB3fCfjZon5N/MORlZUFe1xvwDrMl7Pwe7Ry6AW7DDWCnetK7lBdge/eoiGLXK8yVkvbt/je2YfxC36EbaTsLDbhCOq3rWZbjxdnW0q+flBvqn1tCGjM3BxVdagB1FqURYDRvA89gk5Qcxp4da8QW3HUe4rz967p9GY4iSa8zD9HLrNDocMufzQmg7yO8xlPqe9L0NNVA4fGRRAixPGorZeXhZ9CzaD8IKkv6UQ2mWFnC0Iz1k1GQAD6EAswegaHbI08r+lk/dM+2d31JWf+gUc+J1uolCtAgWu45tS/Vm+oVAu5XfxxUsmq7mbjFN1jLkNtSeQAknPCV2iFodL/zzMYMzaVrwII/7IceIUt1bmiKiWGomQ7fskWeX8tQ6EzUtVFThFsESMKu9ah3yOsmGiu2WGZdxz4pKnAROWC1iFCN3zy1oVm4p/IuBLLilR9TmKJ/CJOI9kpiHbQY6s8ZNN38vHE080vFUpXKMtdUOZLkFjHlTkxWt9bX97ZfS/3Tn9kPHPPSNF13soz4zl7yiN8McF6jhNjyMK4y5t07+vcBjQmPLSl/lc+GR9B7/EFs5ekNUFDbTcrmXPVQbbKJs+TnfbDJACGjIhRWsRs/WwdGvU7tuHQ4TjmfAFX8JSlhfCM2FD3GK5Lk9Q8YdFivAWB8AZ5vEqPzrFUt6YGu6qJ9f+COqo5x9NyUXG91srph999CaQ/tAOsZyZCi5gqTcDu9cYizxag0oDW9rwDHE21Msq7LadQ/upkFl90J7dlCXvPgBQXr9Vhi/ufVH+4x2NwaJfjARFPqEGr+x3zeMGH2XFw1H0oBlE0v/zLMSZc+wx+JY2Y9uInudg61wRwKD1+hF3E+EwSmzLeS+nqvpkvWLLStPKVQsXPEXOTOrsCxmPUhZii9kx7W8HOibFgKJUfcRf/Z7m326EbaaubRWVGtxD+QFVEOSTZTfDSn6gGS2MmSM924a6cQnffcpIty92EwUIeZB0SXSD8r0J8pYHTqtCUesylEYVkNrhedb5wkttQPwqLCzmR+XCJsQhqsaDFN6kNfJrMGFUexKOWHousD0ptBx3Y+C6youA55VqqaeK2kAFmvTbEkOUmdq+nv26syiDmGFkYnzjAtxqSf2xr8OK8TrUwW5ze7AyRb0R/35nwwtk72GgolVV13Y/XqcdRROvHnkhmk/iL6hyovhgOtI+kMdoqizlEiC2YDsgkuMmIADaCiENpqAlX7sHfALKd6ENqolHib8O4YiQzSLlPTXSWFlQVfzWRlYNcy9yDyc89rgwZ6zN02S/acxtD8j7GHSTLEeFLgPn5FoWxTM+RXTZIO9qtIiFWHRzXxOO3KQUM0RZZLEI723I18HJSORzj+oDKt49iWWA8fbt0+UfW1m1cHC9b8Nd880sG142jTIXHYqJk9GU6P8o/Ec2/nTVxgY6vGS0eg0ka7c/MaN8V4PLci9yLZ/QCqAm7hI5HyZJB1OiMvzIUFzGtD0iYJWhPWp5j+zFuNW8PIz1nAidvx+tW1fAWI0FJ/0szx63JWzbziumw8BwQ8cbxiXSr5EwaDKY4e X-OriginatorOrg: irondevice.com X-MS-Exchange-CrossTenant-Network-Message-Id: f7a79153-e706-4a37-9a82-08dcfdfe1a57 X-MS-Exchange-CrossTenant-AuthSource: SL2P216MB2337.KORP216.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Nov 2024 00:58:18.6164 (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: 8NBqgXimsXlVKjusocrNYvaK9rdLYOHAxm3BgdfHekfAVxRXCyLGr6wr62jqbPB6p0bjt07o8J9Z0zuoFb6TtxfeZ+1Z0HFwlJazGnLwGwo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SL2P216MB2112 This adds the schema binding for the Iron Device SMA1307 Amp Signed-off-by: Kiseok Jo Reviewed-by: Krzysztof Kozlowski --- .../bindings/sound/irondevice,sma1307.yaml | 53 +++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/irondevice,sma1307.yaml diff --git a/Documentation/devicetree/bindings/sound/irondevice,sma1307.yaml b/Documentation/devicetree/bindings/sound/irondevice,sma1307.yaml new file mode 100644 index 000000000..1e2a038d0 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/irondevice,sma1307.yaml @@ -0,0 +1,53 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/irondevice,sma1307.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Iron Device SMA1307 Audio Amplifier + +maintainers: + - Kiseok Jo + +description: + SMA1307 boosted digital speaker amplifier with feedback-loop. + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + enum: + - irondevice,sma1307a + - irondevice,sma1307aq + description: + If a 'q' is added, it indicated the product is AEC-Q100 + qualified for automotive applications. SMA1307A supports + both WLCSP and QFN packages. However, SMA1307AQ only + supports the QFN package. + + reg: + maxItems: 1 + + '#sound-dai-cells': + const: 1 + +required: + - compatible + - reg + - '#sound-dai-cells' + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + amplifier@1e { + compatible = "irondevice,sma1307a"; + reg = <0x1e>; + #sound-dai-cells = <1>; + }; + };