From patchwork Tue Sep 3 05:44:34 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: 13788062 Received: from SEVP216CU002.outbound.protection.outlook.com (mail-koreacentralazon11022113.outbound.protection.outlook.com [40.107.43.113]) (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 3604D1CEAB2; Tue, 3 Sep 2024 05:44:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.43.113 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725342299; cv=fail; b=YNwoQrM82b+e8Xp/ThpFkivgRy2/1+CfOeUHxG+EKqXOMfRuYUDWAu7a2KgHFGo9qYBSmdEphg15G0WkO5poSc/qZQg8Ga1eIuJmufgRO++tyVqvSQLoe9D8w5QiVPdd/Nt08GesNDvtaqfU4v6T0Vv/tvJVNH2aTFlgA8G/4HI= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725342299; c=relaxed/simple; bh=641dztNgJ/r4mDuDgj/U69IllRQdoP8QIyzkMV33b1I=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=lZ8eVBzOQZslURMuOrr2oUK9om7uX/EAwBIiQs2VXX+3Zd8ZIOflwzujGpr0Ks4sgQM9zTsaTWPIvpYZgnK9bgTHrWoV1OcOgghmg8PUUQAIQki0bQl8zPStKSIAkuawOODSFBKW1VFEDAYvHm8bekW1ZyqEeBfseDmUE//x+bo= 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.113 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=lqfSe5RY1gWlpW848Kof//AWkQf5INr1Q1XZEE580uqq1yt14QYb9iCxl9Baww3vVo+8kN1uDHOCXgGe95XiDDh3s7gls+RZ+RbbrvqiRht+PFajBSui/QflxtwUzHJ4rOHLX4eA05biJ80ZhQsGhsllx/6yYfZJ9w0PkCz6wyYXs5V4QAJ6Dve1qBYjdeAkXuUAsEVPScm+naCnO073lFZuL4ZycqbN2M+mlTakWCakVUFaDG6WEWuBstNUXThSEW17QG3yr+1IAlyYOIf4T1kIahbxS9RZbYterxvsIL8XWHalRuhue4Y+xgf+PqD5IXoNSP4lUNhbTbhaFEAghg== 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=ZxQMdi5tqW8awP2NOlmAdeUdJU+ymAw0xV3f4lqGGBQ=; b=VFsHuMpzn6w0a5S9sdSkIqlRAOHFdzP+bOMGe6wweYB4k9z5kAMTHkKaydpDaSNGRcbCaWQPd3Jjbn/gddrDdDN4asJ+EdqcZpNMAuehN2RilYaYVN8/QeXcgxTDvSVu+HW0j/AL1OzC8AVqeVyEB8iS1p/ASxs09iLZ7R/AhHkbNrI4OQJcxtT/xvYYlNWcGKEQ/i0PAjDXcAjj/GGByZJKW2kAa5SgKqqmexE19IhuUXXHG09iWdrMcRic8chjNLoyXarN5kQnc6KgzRY6UHKe+80a5RxTMpggNwgEsfI/AHIT5kuKiZdg/93lDFYOqx+F2G4L0b/BXuRBDoFNNQ== 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 SE1P216MB1543.KORP216.PROD.OUTLOOK.COM (2603:1096:101:29::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.25; Tue, 3 Sep 2024 05:44:54 +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.7918.024; Tue, 3 Sep 2024 05:44:54 +0000 From: Kiseok Jo To: Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, devicetree@vger.kernel.org, application@irondevice.com, Kiseok Jo Subject: [PATCH v2 2/3] ASoC: dt-bindings: irondevice,sma1307: Add initial DT binding Date: Tue, 3 Sep 2024 14:44:34 +0900 Message-Id: <20240903054435.2659-3-kiseok.jo@irondevice.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240903054435.2659-1-kiseok.jo@irondevice.com> References: <20240903054435.2659-1-kiseok.jo@irondevice.com> X-ClientProxiedBy: SE2P216CA0056.KORP216.PROD.OUTLOOK.COM (2603:1096:101:115::7) 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_|SE1P216MB1543:EE_ X-MS-Office365-Filtering-Correlation-Id: 4685b217-5dcf-4210-dd01-08dccbdb891e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|376014|52116014|1800799024|366016|38350700014; X-Microsoft-Antispam-Message-Info: H/41ahi7IjCXlGkFkmJrLsOhTL3FUH71RZ6AGLOMA0m8HBjIJZ8l2FfHmYVbS/g3cFjGKShquvqqDPjnmSLIiRFcovL9ub3I6ApNwPFncKRTpjcRZufD63WJSx32Dyv74LW9JuUW/pedetBerYodCLyNNSh+Qw+cHPd9FHmFrpX6Ub6if8aWV6HL0fUTsr0fdtE19saHRoxfXK7LbY1uglN1mZd8X1M7f2xBICLKxoINt9Qu4A2UMyDnKm2fNmlKquTCV+4Xw7aaH+beT/hWSlVf/y0QmJGpqXsylDLmQ0pH0cfK1LaMYZPbv7EKLHFXZ5JG1RkHSEAsuLp0aU9o59W0iTM+galkMqmQp5rguB7wJbo2AOQK7FztHv0J4YR1uA2Tl9OYrLt0kGBv3guGjp7rEzZS8EtN6XCNEO2JtfnMjwIzQB1mAXlMUbK0p7GLGyQ9RbmFw3k35bAtU9IIHQliwkGfRrPU+evGz2ERsDdmXrm4aa+h63cemCFWCHDSHTgP2z20+IKYa6fDLFfRfr+LJYuNmDERJfO7P0lQSjX4qy4iLlrbnm7KB58XPMheEUdgokX7ED3vIqaAwi60WWO2vM+1a9f1VYySjl7fwDGvvKXizuwql0+pbrNIA22NSSeo316Dv04qy+hXRotsOtiLO8bhAo06u8If/HvPVpzR92mn7w+sSgrLyR1AUF9HlOU/Vsjr9ebV4oEuMgcFLavajtYvDAlRLZ8hZIY9KKN8I3fEmoDXh71HXwE2k2vk5+/z3oAq549gsZT3iSIpfzXhF2RKyIpLfxK6UzYOyWY05XnIglAq6O754YRsDprgMprhxcJ2pQBGXq0ZdBV//PecA0wGUhaKlx5VVcVKSKq27RSjS3OA8J8cuZGHBcQ6A22uLcPjoEKdaZQwlj4CuQnGwVoNOf1/41il99ehOxLvPDabdGocj2RdBnPFM7hNTgWgRoZStmchzRfMRoHTgHsZdapiDxOMZrv11pTsM0ps8kk4ToWSqLCw1OSNPdZuZtwBKljzrKhmu3Nb+ylkYFKuXrwFWCQUrGjZfDL5YLgzZo4u7NyqLMNMdOJdgei2cuvFfSiOhRkOSKILAjm9McQRLu252ZlO0AMA+05YzsjgasDF2oVgfcUaTq0GDAL/P5wqtT7YC5NGuMMjH+qjgsf2XJJL5mTjPge85erqn74mPDY0Q4KYISozQ222xQ83l29/SxY4hv70Vj3Z6zsN/A3+uatcPuTnzoWyGJC1jQganxMQoxxJEtXRWjpcHvQw0LTaepk6tc+Cqe52a0zBYaXUG5yMwirGV1RvLVHj2dHJ5J+QssgFW9F/Ye17AcoM17r1AZwEpOrcLzLF2qlWiw== 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)(7416014)(376014)(52116014)(1800799024)(366016)(38350700014);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: wdQ3a+XPHNoCk/qnLUCZlV5BckLkKgYQf6HrtxJC5WWDFZcWUeUdCrHbCcXhpp0M1hZIyi7DUZ4HHRl4jdjcyoENbXyyrmrT9q1oUx1DyeMFB9HdhOMdS4gY9WFn6D/tIxAFMYUyl0IrHEoZ4Oose9geBgHdRM3uGM1FfNZmsSsPhj3dEZEGHpuKDrSieUaw31fybGAan/v6SqY3qgXjZA5cG+hFfWQcfmqIxiibLojYAO9uAhMkJYXNKca73ifU1But+tDvYMkAbHt8GSE2vXC/I7srltyKvXFI7anfxOdb/N/TPf8jP3a4vy4zzOUXA1v6PIYvtrNftLVZBuE0BcehIzGWkf7ad1uC/q5uS27cuLBOs+H6B5CDInGNlGDh9LL/afeXb9yEECXRmhmMMaiN2DTXd9ZZtPeig2LiXpvnDMDdTBt1W6j9IFGFIL7WhXzwDjqGqFg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gmVatM42WNszOHHQaT3DlhURjeE5eB7yCi074veQdn+zQng4xEBr6NhFMx6YZAHxwwX7Ac4 X-OriginatorOrg: irondevice.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4685b217-5dcf-4210-dd01-08dccbdb891e X-MS-Exchange-CrossTenant-AuthSource: SL2P216MB2337.KORP216.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Sep 2024 05:44:53.9939 (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: 4XrPDRPnxYMscwk6aDr/A2t2uKqQRDDDKs+X1Pm17gJF3iX1p5In7BCg2NafuqPtZTdeNqHlweGxec5/K7CpKg+TA9WLCRaGK3YJnFpR+jA= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SE1P216MB1543 Signed-off-by: Kiseok Jo --- .../bindings/sound/irondevice,sma1307.yaml | 54 +++++++++++++++++++ 1 file changed, 54 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..0bb4ee664 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/irondevice,sma1307.yaml @@ -0,0 +1,54 @@ +# 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>; + }; + };