From patchwork Mon May 8 11:30:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pawe=C5=82_Anikiel?= X-Patchwork-Id: 680027 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 000A9C7EE22 for ; Mon, 8 May 2023 11:32:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235888AbjEHLcD (ORCPT ); Mon, 8 May 2023 07:32:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50682 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235844AbjEHLbl (ORCPT ); Mon, 8 May 2023 07:31:41 -0400 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C3CE53EDA7 for ; Mon, 8 May 2023 04:30:59 -0700 (PDT) Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-4f00d41df22so28208182e87.1 for ; Mon, 08 May 2023 04:30:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf.com; s=google; t=1683545458; x=1686137458; 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=SCcpa8mh8EUPdc5cCKwnMcMZnzZb8Ven1VF00UODHfU=; b=qUCA3KSpK0KLofEQAl1J4VbNkFSBblrbel7Qyuby6GRPvaAdm4jfsLW4bnPm6lbW1e qcx4KopofnzhxwdlRp5SgOvrsC8bSrQikYwDCe8CB0VzaaV29H3evCR07OyELOjjd9hv 4ABDXIq9k+NnJkSnIvGCTxqEkC3J2ijAsap0a326g4cBJErQiTFHDh1HyeEJrrF0aQyV so4WxN+vdwxfLVQ0zsQ/oAPw6hl8Xp6RSbAhruzbWScKKnzz8m7iuYWDzcUiK2HoQxYM dfPCaLnF77CwiboVDj2zI3wlkFslCIvwTwL3Z9dta+vjQS4I0jKVO0i/fTAS+KT0Ztz0 GLuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683545458; x=1686137458; 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=SCcpa8mh8EUPdc5cCKwnMcMZnzZb8Ven1VF00UODHfU=; b=GkeO7Wi47ib5JVFOZFkqBrhx7CxxPPQp9rsXn0KVuq3n+Bs5ZTDgTLm0g1OhGVrNoS 1Aox1V5463OxbdJthoH139wEnnVYEm3ECZrDsbNQ6WPHR6lTe54aSbMFD9lFOFlpLzli GaHfGNHQAVFOuyJln7OIMXoJsj179EZxya8XBk1pgTTDhQea3RHr8cNyXgI1urccj89r kevMHDFiSiOGKSZzciju0TNL76qhZI70ZmMTLEo0BqgFkoAILG5XWIL8jTtTOzmaPXb1 L6tX/WE9JsFS0LczbbiwLEe0b5GEaMvvziHp2iaEySehwdW2QA6k4zDOGMUWEoiZTxoj DV3w== X-Gm-Message-State: AC+VfDwigXGRlwwE6nV4tD4QqfQbGBAngpRYYjlBW4Q3nURi9/41hFBc znDZTHfCb3M4Qa2Otg8PP0RiDA== X-Google-Smtp-Source: ACHHUZ4EEcaGcUaK7vu//980DZoWeqhAaPt+zAj10ov/qO3SBtQsFVya9VsjeLlvmcsuL40m+iZZXQ== X-Received: by 2002:a2e:b5d4:0:b0:2a9:45fb:6331 with SMTP id g20-20020a2eb5d4000000b002a945fb6331mr2698032ljn.6.1683545457872; Mon, 08 May 2023 04:30:57 -0700 (PDT) Received: from panikiel.office.semihalf.net ([83.142.187.84]) by smtp.gmail.com with ESMTPSA id k8-20020a2e2408000000b002a8b9353338sm1144406ljk.117.2023.05.08.04.30.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 May 2023 04:30:57 -0700 (PDT) From: =?utf-8?q?Pawe=C5=82_Anikiel?= To: alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, lgirdwood@gmail.com, broonie@kernel.org Cc: perex@perex.cz, tiwai@suse.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, dinguyen@kernel.org, lars@metafoo.de, nuno.sa@analog.com, upstream@semihalf.com, amstan@chromium.org, =?utf-8?q?P?= =?utf-8?q?awe=C5=82_Anikiel?= Subject: [PATCH v2 3/7] ASoC: dt-bindings: Add Google Chameleon v3 i2s device Date: Mon, 8 May 2023 13:30:33 +0200 Message-ID: <20230508113037.137627-4-pan@semihalf.com> X-Mailer: git-send-email 2.40.1.521.gf1e218fcd8-goog In-Reply-To: <20230508113037.137627-1-pan@semihalf.com> References: <20230508113037.137627-1-pan@semihalf.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add binding for google,chv3-i2s device. Signed-off-by: Paweł Anikiel --- .../bindings/sound/google,chv3-i2s.yaml | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/google,chv3-i2s.yaml diff --git a/Documentation/devicetree/bindings/sound/google,chv3-i2s.yaml b/Documentation/devicetree/bindings/sound/google,chv3-i2s.yaml new file mode 100644 index 000000000000..3ce910f44d39 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/google,chv3-i2s.yaml @@ -0,0 +1,44 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/google,chv3-i2s.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Google Chameleon v3 I2S device + +maintainers: + - Paweł Anikiel + +description: | + I2S device for the Google Chameleon v3. The device handles both RX + and TX using a producer/consumer ring buffer design. + +properties: + compatible: + const: google,chv3-i2s + + reg: + items: + - description: core registers + - description: irq registers + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + +additionalProperties: false + +examples: + - | + #include + + i2s@c0060300 { + compatible = "google,chv3-i2s"; + reg = <0xc0060300 0x100>, + <0xc0060f00 0x10>; + interrupts = ; + };