Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp935377lqs; Fri, 14 Jun 2024 09:39:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXOEuPiR6ETC7016NGIgbbAIE82PkNdET7Wdq/0FG2jClrZyYBI/OS/LMNUlV1VZ8p51Z1DSrk4SJikmZSza2KjjYgrS0RTxGq1lf3VrQ== X-Google-Smtp-Source: AGHT+IHIXFRCg5WTVBFg50wd7YivulrOOhlUDUYF4968UDYwOrtGVy4ZRIXuVJ71LXXmIdIz92K1 X-Received: by 2002:a17:90b:1048:b0:2c4:af6a:a8f1 with SMTP id 98e67ed59e1d1-2c4db44ba91mr3646580a91.23.1718383186062; Fri, 14 Jun 2024 09:39:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718383186; cv=pass; d=google.com; s=arc-20160816; b=cvyBFdgSD7nkLtyb3jgzskghY1Y2oTD3x9/KwOFPSmIlwgChLmdjQEXKVcrhcQ/7KZ CkltFEuq3yo6UBu++i0ZAtvMAgHJcRqMrVSkx8NVqxYYzXa5jq1lQZf8VuBZUSmTeDEk D5YDEEvdjhXzDzoprCtPzFCp8xpmH3e2kyKwVXR44q+/bz94LacTsP5biI4CYm2w99zG mawcaOt9Y78v9+pbeBEE3/WwTQoNVjYSxmmuD7zOzcWCFA5DPx+MQOg3oZxjvkVTmeBS gr7SOhp9srWhzPgundMYjC2g5rmiYMEJFdr7IfC4I34h20OmxEyXAktWKSWNhpQ9xDKM H4jQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=N9oBeI9t2GnUOwDqqWhnLz6JoWWhocuIEEtazuodx7Q=; fh=ZTKluG0xgTPwCFIzQbzOVqpiEXlrlqaJpocd6fRtbOM=; b=u1KmH+tkOkaE4hsZpa9anXuA50bBGBkrZqkmVSFufJ7YFFC5zhruyXSCyrByavh+JN TfYopLe2ZGqgt5KYWNn4kERxEYIXepDhGABDXRj3kTysrff6yD/3iUpwHduUxCStp0oq wKVmquZrerZXy5NeLkqWdeKcf8C/uF0qXeowM9VSn5ncou5uKniqgppdG9f6SO7MFc2R rIhw+RpiVBua+s5/G/58fP9H4wwRiJ9UzuO4r4QVOohMtUktqWrDzl0vUzQ2YqmaPxka Pj6GtXjFxj0caGNX8SmiBUAu3HrNl3lfStm9PTHDoxoT/ejDaTU0LtVGD1p4LbyBUXYe qzUQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@timesys-com.20230601.gappssmtp.com header.s=20230601 header.b=WSqCHJAW; arc=pass (i=1 spf=pass spfdomain=timesys.com dkim=pass dkdomain=timesys-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-215270-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-215270-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2c4c470eb3fsi3933209a91.125.2024.06.14.09.39.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jun 2024 09:39:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-215270-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@timesys-com.20230601.gappssmtp.com header.s=20230601 header.b=WSqCHJAW; arc=pass (i=1 spf=pass spfdomain=timesys.com dkim=pass dkdomain=timesys-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-215270-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-215270-linux.lists.archive=gmail.com@vger.kernel.org" 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 367BF280FCB for ; Fri, 14 Jun 2024 16:36:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DA90218130E; Fri, 14 Jun 2024 16:35:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=timesys-com.20230601.gappssmtp.com header.i=@timesys-com.20230601.gappssmtp.com header.b="WSqCHJAW" Received: from mail-ed1-f47.google.com (mail-ed1-f47.google.com [209.85.208.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 22DE1181B91 for ; Fri, 14 Jun 2024 16:35:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718382942; cv=none; b=d0gjz4X55QuplXNANFuveE/w/G4rY4M/+yfqnVdn8o409bDxRXbbV9VfimjEiQRVVPCh7orDGB5RlWf+xtTeI5ukQe5GlrtBDVsVk1NHQZUcnGDimqIA/TXqYLF3a4BDvX3aSBHm4taNTniQ1h1bazak1FhvslwHHw3/qAuREc4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718382942; c=relaxed/simple; bh=FCvdQ9Mqq/5f6omtz21uDArlMjNyLNbyl+OdqwEiar8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Wu5TK0ITckjcVMdRPsvfCPapF8A6QhbVN/WbaSgr0d0VfFqRrfDNVnnP9J07hY2KaVLCq/5Djg+kLnFV9NoynfM+ucTu1d01HNJxmHFTsNYzLN0BfgTUuv5tJeSasu3ntJ4QVYOjlqLM5lLZXdnOFiQVIc7TVsPTQS8I1EZHiRk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=timesys.com; spf=pass smtp.mailfrom=timesys.com; dkim=pass (2048-bit key) header.d=timesys-com.20230601.gappssmtp.com header.i=@timesys-com.20230601.gappssmtp.com header.b=WSqCHJAW; arc=none smtp.client-ip=209.85.208.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=timesys.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=timesys.com Received: by mail-ed1-f47.google.com with SMTP id 4fb4d7f45d1cf-57a31d63b6bso3187140a12.0 for ; Fri, 14 Jun 2024 09:35:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=timesys-com.20230601.gappssmtp.com; s=20230601; t=1718382938; x=1718987738; darn=vger.kernel.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=N9oBeI9t2GnUOwDqqWhnLz6JoWWhocuIEEtazuodx7Q=; b=WSqCHJAWO8AIw/hLPWbSYzkpURWwtw6STvyWS55Jm0enNz1hSShRZohiR5joBac7aM AMsndD0nl+tCjrtKsnG1KswOmuzvzXqKBOKFLR/Fkv9L2E9e//u0P2iz7fr8G3QmYoow J8SqU/x89Rr9y9nOQH3uMF4wcAHoMHB3G5kGVaXFFH5Yf3tPmXuQFPAIfTkaW/KDgF+Q iHpcVJH3tDfTJnaLIc8sHTsh2UaH61tJ0rlYGnF+ykFd0croDI+2A1jogcQohUVCqDnD P4DXMvt1nh/9cpBNYHp3ZapnrXU80yTrvnasy3hTYdJ6j3fjueUFhxl9YNirFTZkdZbV faFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718382938; x=1718987738; 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=N9oBeI9t2GnUOwDqqWhnLz6JoWWhocuIEEtazuodx7Q=; b=POwOjz0+f3KMqK/Bnamqh9ts0dUEw//8KvPdvu6Uge+FZsIn5hTT05BScf5QeC33s5 EMKUJpckVKpCt1yMMIIj5z88wO3quHpxQtCh6QnJRzvJmVKW3bblJ+utPos24EobiQ9P ayolpBDpYxkb3c/+phYpzDA8/r2gS80ppY4W2yCrmYK/7AR7L5hriS63aMvRZQoYZagd rojE/ZiowCOTfVpIP43PVpAq5sjGUzSMsQq2FOReD6CZLWCJD/XJxJ+w48WuuxKVIJ0D 5+QVFHwzNMV4UiS9ZGPWNfPypMl2o1vSLfWZbnq3IuNnSZ12ArFNyE/oE8IKHcTrQglA xXtw== X-Forwarded-Encrypted: i=1; AJvYcCUh80soI68lDfJQQXiWy22YrKIUnjy9WI/yuNvMTa19eHihOWlA8m2VdfnDKYBKK3mWCBC6Xb3YUchEg+A1GoPvgZp+llVGJUf6rSxJ X-Gm-Message-State: AOJu0YzIInQXBmiPZd/ObXmKwcOKgXjEQrLxJ49dbnR2D9+p1Dt0bsS+ YZEqDPOyado3YZTZDYk1Wcvsayz39uBq3mo7RilC7PbA5yk6I4eKDXzwfNR05gDJYTo4Igvum7h EQQQ= X-Received: by 2002:a50:c19a:0:b0:57c:7eb6:440a with SMTP id 4fb4d7f45d1cf-57cbd6497ccmr2425469a12.3.1718382938387; Fri, 14 Jun 2024 09:35:38 -0700 (PDT) Received: from localhost.localdomain ([91.216.213.152]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-57cb72da156sm2462893a12.22.2024.06.14.09.35.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jun 2024 09:35:38 -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 , "J.M.B. Downing" , 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 v3 1/4] ASoC: dt-bindings: lpc32xx: Add lpc32xx i2s DT binding Date: Fri, 14 Jun 2024 18:34:49 +0200 Message-Id: <20240614163500.386747-2-piotr.wojtaszczyk@timesys.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240614163500.386747-1-piotr.wojtaszczyk@timesys.com> References: <20240611094810.27475-1-piotr.wojtaszczyk@timesys.com> <20240614163500.386747-1-piotr.wojtaszczyk@timesys.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add nxp,lpc3220-i2s DT binding documentation. Signed-off-by: Piotr Wojtaszczyk --- Changes for v3: - Added '$ref: dai-common.yaml#' and '#sound-dai-cells' - Dropped all clock-names, references - Dropped status property from the example - Added interrupts property - 'make dt_binding_check' pass Changes for v2: - Added maintainers field - Dropped clock-names - Dropped unused unneded interrupts field .../bindings/sound/nxp,lpc3220-i2s.yaml | 69 +++++++++++++++++++ 1 file changed, 69 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..04a1090f70cc --- /dev/null +++ b/Documentation/devicetree/bindings/sound/nxp,lpc3220-i2s.yaml @@ -0,0 +1,69 @@ +# 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, ASoC DAI. + +maintainers: + - J.M.B. Downing + - Piotr Wojtaszczyk + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + enum: + - nxp,lpc3220-i2s + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + items: + - description: input clock of the peripheral. + + dma-vc-names: + $ref: /schemas/types.yaml#/definitions/string-array + description: | + names of virtual pl08x dma channels for tx and rx + directions in this order. + minItems: 2 + maxItems: 2 + + "#sound-dai-cells": + const: 0 + +required: + - compatible + - reg + - interrupts + - clocks + - dma-vc-names + - '#sound-dai-cells' + +additionalProperties: false + +examples: + - | + #include + #include + + i2s@20094000 { + compatible = "nxp,lpc3220-i2s"; + reg = <0x20094000 0x1000>; + interrupts = <22 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&clk LPC32XX_CLK_I2S0>; + dma-vc-names = "i2s0-tx", "i2s0-rx"; + #sound-dai-cells = <0>; + }; + +... -- 2.25.1