From patchwork Wed Nov 6 00:46:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kiseok Jo X-Patchwork-Id: 841080 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 185A8D40D08 for ; Wed, 6 Nov 2024 00:48:05 +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 29E5D10BE; Wed, 6 Nov 2024 01:47:53 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 29E5D10BE DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1730854083; bh=WFMDWfOt0EMb/3fsmlfMaqhE5vv9WE6sXUzqAMfZ3zc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=KLEpXH9uea/Zq362+tPv0ktOAvzfy5QDoVt+hfTKGei4hlNla1myunZy8NRxnRhMA 2zG6kfHpbFNFUkw2GmaO6zHY5Oz/MB2BO0ILDeYIyEyicsNqILrERjyrqW881B/6ES q4vFW83MaoZtM00e02nMzBw4Xj3MowUB64i0oMOU= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 97B1EF805D3; Wed, 6 Nov 2024 01:47:16 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id ACD70F805E5; Wed, 6 Nov 2024 01:47:16 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 2CD6FF8013D; Wed, 6 Nov 2024 01:47:08 +0100 (CET) Received: from PUWP216CU001.outbound.protection.outlook.com (mail-koreasouthazlp170100001.outbound.protection.outlook.com [IPv6:2a01:111:f403:c410::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 3FDCFF800C8 for ; Wed, 6 Nov 2024 01:47:05 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 3FDCFF800C8 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=AUuApikSLeTpRzypyapYWCfXluv4DKwnXauZuYCztUMo+M47Bc5sC0gvwK+oGVOYjXlbNCYPrOu2ipnhhG9cWJBm9wMi0KOZLrWlmKyq6noPpJ8yKfsVChHPqkRE4oogLQNEiIRMPgvHlasROp3WhJEETyEz6ioYVdgb+4kgpgGN3Zy2EymRIozUhYhFQdixQSMPMwyDl1zlCo3fJMOXHJqQntPFB5G1D10gkKLuGEXIYH35xZjTbpkWtzXXpTkWqnpVE12frZZrhUSWpSxL+tHJCN2YNunaC3KHr1O+XBf3SOMuekynN02B8i417EmYyfJhm7QVaO2id44dWkp7zQ== 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=o8nA7sqPIkQh/pTeKZrft/rO8oquEEI0lZrzPLU278M=; b=AtEP+2SFoR8qoJ+OQcl+2bV4jAaVZD0pQ9lV5ulx1vDYuPNaOdlNfgHCoTc+P9jmYZgw2GUIVdJiHLKWordowxQZ88AgtmiBr8KW7fHiUOfGs7orqhAl5j/MKmCFhF/7vpvwk6VXL/kAeP3A2qvGhK7UYkIJNA63LcZio+TcqsQPYK8WbAAjnp6SFFsk4E00yR7pNPHLD0eK1qqCeUt5nf6kEzxlhNRUPiGPpdbJhnfl9xJG5cXSwIRwd93ur5Kv9swxaOa/XoyLk3GQyjWthqTj3xZrBQFS/mD1FhZThSaCspKNyIQbhUtUz1F84+TeTOAmZXLgITOSfoIYCDbs1w== 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 SE2P216MB1932.KORP216.PROD.OUTLOOK.COM (2603:1096:101:fa::15) 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:47:00 +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:47:00 +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 v4 1/2] This adds the schema binding for the Iron Device SMA1307 Amp Date: Wed, 6 Nov 2024 09:46:20 +0900 Message-Id: <20241106004621.7069-2-kiseok.jo@irondevice.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20241106004621.7069-1-kiseok.jo@irondevice.com> References: <20241106004621.7069-1-kiseok.jo@irondevice.com> X-ClientProxiedBy: SL2P216CA0139.KORP216.PROD.OUTLOOK.COM (2603:1096:101:1::18) To SL2P216MB2337.KORP216.PROD.OUTLOOK.COM (2603:1096:101:14c::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SL2P216MB2337:EE_|SE2P216MB1932:EE_ X-MS-Office365-Filtering-Correlation-Id: 177a9034-0758-4ca9-44d6-08dcfdfc85f1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|1800799024|366016|376014|7416014|52116014|38350700014; X-Microsoft-Antispam-Message-Info: ENZNeC0d3M9YUZuWpaoC5+CfBQKUABFVjG1ykQf+SmMiXUUjVcZx2It7Rpll2mgMQNsMXuejU5Pi7Tz3w8rmhuGatqZ2cbnaROxRTPn/6EryQopaSpVf1AOPci5lEH2QPxyWSJJJebtkct1w8mh/Sy1ukfpbUWUgoRQo5By0kB11HXBP04dS4n1ZL5CwIy6p+MVvT043FLcmr+wPp1LsMdGBtRAMv8meFnDxWbWsNHf6cGGxA0FK1b4DrQfRPkWTHt82dsooaWiiEOuOOaVcpgFVsI+GSJybOB9oyxoKF8ISoTjRZhqvtsH7+4XXPaRtJ1JJVaWtK+hXuRyhyNoD0cMeRCeXrrO+IAKLFZskOJvgeuzShXIWAd2iWP3rcaIG3QD05tRMU08sWhR+CZjOrPhGDX0cpE/mvZ1dBxVbfIilJgTuwRa078GbJbMjXi4NQTC2/tgmXfWYY3leymo+q78kERTB6/4U9eCKMWuosflfTGPDVo9v7TUf5mS7WNCHffA+JEZGXF4dB296DwV47MgiTBnzUjsfM0j4LAgnSTw06PzjfeICdHibqdxmdJ2VnxuFFBJsCrvxv5NlorCB7kozJ7SQM8JJNj6vfruecYExNNN7NfkII+nNqvSq94QkbaN2Sluw/PzmX8Y976Lp6O94kH/w4S1jBsz2YFnwefUWoChKLmhwVJNz/wv25BqCSXJf2/3QEovuk+zGe9OyHT+MOiSa5IdcLJeSkt3v/07Or6m5ckLGMqaq65TaRp9s6kZt+QnxSbZzFse/WSSH/y/m8EXIPLwCmJxs0RRuAqdSyExV6mT6DYhWsasWrHOkicpBhrIbPPrcrewxmrzLCJW/taorGKPldBTJOpPvXvwvr8uIN0QwLesf5FGnqvNBFtUEY6hJXe1amwOuJznzuW1E6eZxzdFD6NPzx5Qh/50j5Ltnc02FzHaCj666M9W/WfrDJ9IGOksx+xCLfzQss3fbYsdliCj9XdYs5qaPztFTRZ5AcR/P+wGZuHLKabzhmMtoA1Jp5jAFHSfICp0sIJcS59a1gfH2tbmZEAx/qHdIz9q8pLBq0WgXBMad9Gf5zYDfDfukBaL5RQyfhKt/gmdjtyVa04VuClgTVNM/HC013WMaMNP9/XzafMJqhdeTtO8jdfBJJGOtlSe/DS7TcEjHhK6KkVTrxiwC4gVI7Od7+lFV3DND/7o/TocPATbuRXFYhciMx1p4GNVqlRZN/YRe+PxjmZOw0V8+GsDYjLEdIUN2ZiBCr59F1c/xnJaV38WgRbydjEbACSYwQrHF6BmJ9IBtBttMVWQiIQPDFotbNsiW4DjR3XxjmTOpwUnE 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)(1800799024)(366016)(376014)(7416014)(52116014)(38350700014); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Ur2lZGe7gbbGFTNX8h0CnhzmaQhQB/F2Gd4JtptgxgPk0XellArpvbbzL1d3NWLk5SJm86u5O/z30PnHEFU8uvdiB67L6MQavK1elxUEPBlgVwFCy1XgcwZcwpxw9n1/azuKxgUMA/g6Az/gKeuqWMcMN1YOcDuAd6TWSAUQsKizkFrXvH+71kWoxYYbwk0we6PJMJk3/B9cuqgsfLCxerVDItXVDW7dF97iZirB7xt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KLEXfJRvhz8UHDBke+qjNEpJbsDp8VrTjwSGWaM9BNTYWttHaQaW5dFd2qbRrVLCQVhdfw2mm6jV98Zikt+ImBzVDLtTc9NFie4/tkSNx0jlWpylFO9FnmPNAqm9WL/pVaamRVii3Ol3UJr+m/YKClJVRyzAi74citK6EUSPLUV8VaVccksghc1AMY0fS7VI+HvKrtLgTAVrGOhGfTKZlzIBg5Y2wJ4yuOQ4OU1vbARGcqnNVtBURIGEc1y1HouD2lfg3lNO6mBtMCCE3NJxjurgxDDaI4hgO X-OriginatorOrg: irondevice.com X-MS-Exchange-CrossTenant-Network-Message-Id: 177a9034-0758-4ca9-44d6-08dcfdfc85f1 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:47:00.1579 (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: LRA+CSMdp4nLb9xwf2nDjp7iEJ8xJo2AKW5B0nVUxwIn1ewbN9IW3ChNeB5MN4Vh8xGVxM9iN1oH+wHBoNTQW1uGPtnbbhSqHjFL7tNCugY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SE2P216MB1932 Message-ID-Hash: 2DAN6VFA3VVKZOLWDC45GHZYITRGZTOV X-Message-ID-Hash: 2DAN6VFA3VVKZOLWDC45GHZYITRGZTOV 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: Signed-off-by: Kiseok Jo --- v3 -> v4 - Modify to fit the character-per-line format v2 -> v3 - Remove ABI documents due to the removal of sysfs in the driver v1 -> v2 - Add ABI documents for sysfs - Remove the interrupt property as it is no longer used .../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>; + }; + };