From patchwork Tue Jun 11 09:47:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Piotr Wojtaszczyk X-Patchwork-Id: 13693368 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 1CD3EC27C5E for ; Tue, 11 Jun 2024 09:49:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=k5lT+iOkSfc1z7zUiAiMA6QzZKNYEY2U+p8R/XNbXmk=; b=xpKkw1ngUUy3SU UKtFIGJa+RBFZAk4B2wGsn4ZEYnn5u89GiCz2scKhTz+kelvP0WbhOUR6h/aMIZ0sC8HZUs8CAmNV m4UfqWV3xQOy4Kb83OL24SLSQTw8S/+uRhfVMig4NA3ajZTrpO57zLRT+u5vvu+KHgUJfix4s/LF6 YSOVd5DP4Y0OHpOiclPVHVx5BqCBMU7rZBf3SJRDAqKIHj4dYlgo6Ox8PPT39wukHfAeIEsvtWtVX vDyzienw8Jr35o3vPOn8Dm1C6luqAbECwbsXQMPNjIPBK0+yYNNRwoOhOoQb52TF5vA/ceSAm+D6j rjmsfp+30Cc9YrTdcuZQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sGy7W-00000008LNf-2tdr; Tue, 11 Jun 2024 09:48:50 +0000 Received: from mail-ed1-x533.google.com ([2a00:1450:4864:20::533]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sGy7T-00000008LMk-2loA for linux-arm-kernel@lists.infradead.org; Tue, 11 Jun 2024 09:48:49 +0000 Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-57c7440876bso1074006a12.0 for ; Tue, 11 Jun 2024 02:48:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=timesys-com.20230601.gappssmtp.com; s=20230601; t=1718099325; x=1718704125; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=3URf1bqoxt6RvPsq+unfHOhtdPyrUcD08+rrLeED5Co=; b=lmDoHuj44RyGHzck1YjfGRNvQmKMSkgrvmXl92uWwaNLheQmXOHbH9hlMOL5ttaoC6 exmq9RbYwK4IRW+5UwrJo6HrtiAsOQsY0GjIOljmYj7CMPwKJT+37i+2NnKOAo6KMzBX zGaetRGFgVHW2mZA37463GkPxKBCCxi2UU+WzpBAiqZezlAorjbszsaNd7hUFxMCKBRK MucG1dnWQQZTqRNXfbenpI1hiTLn9o5zGSW6sk1AZhNNrlRzInMSjfKojl0uJxZ4KDkD Ecz775lPMuOHzdERKBrkm6BjY6s1Y3vAy5Gfvh6HF0v3u8bHMEsP9a8LYkEqvPtVOiFG 02jQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718099325; x=1718704125; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3URf1bqoxt6RvPsq+unfHOhtdPyrUcD08+rrLeED5Co=; b=fLSqiZJPd8t2VHYdZxlIlveDC44AuDhoXRF0XAUmuDi9Fzga83LPlJssodpsSJcruu hgXigJIvwGY3xu7Dekzi6VQtcwtHq+iV0ykfJrNMlhWmFwO5Axm9v695MAd/Ex2Q2Udw CnxCMOkHHk5D+HsNu7tvFaobRjvNYSy17RFHLKp1mLnhXjdqS/UL/gSdBuf2sZJPTXKu DqneEXU+afOBZDW5PKP/sflVXq1ZBb7ni+8vDJFhBDKNPqSwnTSaUL6fNvlJpolVfhJG zUa1OcJdmRLWK8+AD/AZlBridWcVlA6dtBV++66sCZJlSuBvBSM+V3WxFUejSEbbl+5m jhkQ== X-Forwarded-Encrypted: i=1; AJvYcCVuSizAHjMLKi4HoID/px6igfA3JmzDcip+M9lUpU/LCwVUHKYECNmqh18uvZ+DULyz+ver43485ecewapd3YKkKerzgegbmgwSpUqLUD13mCy2LMs= X-Gm-Message-State: AOJu0Yw2POsdvLtHcfE+G1aFqfoWu4BtlfQbBFBUI6JaMJe0nbmU0Oto rVkWc9kF0NInIrp5hpX9XXEO7fQaaMeiPRi2CPSuCaCemklr8DpLBq9L/h1kbNo= X-Google-Smtp-Source: AGHT+IF14ZNnXOfobI/WB8lXVND+Ohqa5JoXFDW/TfmN1pVZr0QdPr6CGSC0zuZrHL1qY/x7lEYXOA== X-Received: by 2002:a50:d712:0:b0:579:e6ff:c61f with SMTP id 4fb4d7f45d1cf-57c508fd7f6mr11085689a12.25.1718099325105; Tue, 11 Jun 2024 02:48:45 -0700 (PDT) Received: from localhost.localdomain ([91.216.213.152]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-57aae2340f6sm9059647a12.90.2024.06.11.02.48.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 02:48:44 -0700 (PDT) From: Piotr Wojtaszczyk To: Cc: Piotr Wojtaszczyk , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vladimir Zapolskiy , Russell King , Jaroslav Kysela , Takashi Iwai , Arnd Bergmann , Chancel Liu , Michael Ellerman , linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, alsa-devel@alsa-project.org, linuxppc-dev@lists.ozlabs.org Subject: [Patch v2 2/2] ASoC: dt-bindings: lpc32xx: Add lpc32xx i2s DT binding Date: Tue, 11 Jun 2024 11:47:52 +0200 Message-Id: <20240611094810.27475-2-piotr.wojtaszczyk@timesys.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240611094810.27475-1-piotr.wojtaszczyk@timesys.com> References: <[PATCH] ASoC: fsl: Add i2s and pcm drivers for LPC32xx CPUs> <20240611094810.27475-1-piotr.wojtaszczyk@timesys.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240611_024847_822112_0D261FE9 X-CRM114-Status: GOOD ( 14.17 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add nxp,lpc3220-i2s DT binding documentation. Signed-off-by: Piotr Wojtaszczyk --- Changes for v2: - Added maintainers field - Dropped clock-names - Dropped unused unneded interrupts field .../bindings/sound/nxp,lpc3220-i2s.yaml | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/nxp,lpc3220-i2s.yaml diff --git a/Documentation/devicetree/bindings/sound/nxp,lpc3220-i2s.yaml b/Documentation/devicetree/bindings/sound/nxp,lpc3220-i2s.yaml new file mode 100644 index 000000000000..66e48d8a5a1b --- /dev/null +++ b/Documentation/devicetree/bindings/sound/nxp,lpc3220-i2s.yaml @@ -0,0 +1,47 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/nxp,lpc3220-i2s.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP LPC32XX I2S Controller + +description: + The I2S controller in LPC32XX SoCs to interface codecs and other audo devices. + +maintainers: + - Piotr Wojtaszczyk + +properties: + compatible: + enum: + - nxp,lpc3220-i2s + + reg: + maxItems: 1 + + clocks: + items: + - description: input clock of the peripheral. + +required: + - compatible + - reg + - clocks + - clock-names + +additionalProperties: false + +examples: + - | + #include + + i2s0: i2s@20094000 { + compatible = "nxp,lpc3220-i2s"; + reg = <0x20094000 0x1000>; + clocks = <&clk LPC32XX_CLK_I2S0>; + clock-names = "i2s_clk"; + status = "disabled"; + }; + +...