From mboxrd@z Thu Jan 1 00:00:00 1970 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 1D434C64ED6 for ; Sun, 26 Feb 2023 19:37:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229616AbjBZTh1 (ORCPT ); Sun, 26 Feb 2023 14:37:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39382 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229566AbjBZTh0 (ORCPT ); Sun, 26 Feb 2023 14:37:26 -0500 Received: from mail-il1-f172.google.com (mail-il1-f172.google.com [209.85.166.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1BFDEFF38; Sun, 26 Feb 2023 11:37:25 -0800 (PST) Received: by mail-il1-f172.google.com with SMTP id y14so846645ilv.4; Sun, 26 Feb 2023 11:37:25 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=D3V59Duu+LbDPEXLSvxwD8zXDN4WNV1rPfnVcbUHV3c=; b=L7w2OBxM3jkOEchUPTNJwAQ2sD7knA6ngCnWSf6+I+uuJtrJ3eg1v4Bo/9HRT7TcWS r/jXAPUnBMZ+yt4wPfirDi5rJmCD0ZBiBVvcbkXJJeA5UMAgJjvoX7aYd85Ykz44wfch nI2SDag9rYXvJGVTC8/jzM2Poyi8xWitDP0/7yK/LBTIVdJP/ECpZ1g/vPcMItGRT4oH doDyLaBKrCE6TzG+T8+6llp/b+HbbCYC7tWb+TQaPXYkSn23ni9tzI+Xiw/rLHqW1i/i 2CzdqpC02Ubm9MOAhZ7nK5JV6IYrAoqwt+mpDnZB7osSseJ5zCVwfnRCmdnmI9vZrI0z iD2w== X-Gm-Message-State: AO0yUKXz3e6xTDUs1ZsIAdqK/okrLfG3cs96zEiSszlXXglFMmdr/aTT 9L7vNuYzwXt6k+oI6Zpj9A== X-Google-Smtp-Source: AK7set+KoXSKhOB26nmgSluPEXmxlGByv3xNe7fWRYkpWFMQ2u8gY2CzrKkoNN1kyeL1Zb+et5t4lQ== X-Received: by 2002:a05:6e02:1d87:b0:316:b0b2:c2f2 with SMTP id h7-20020a056e021d8700b00316b0b2c2f2mr22248461ila.3.1677440244320; Sun, 26 Feb 2023 11:37:24 -0800 (PST) Received: from robh_at_kernel.org ([2605:ef80:8069:8ddf:ff6b:c94c:94fd:4442]) by smtp.gmail.com with ESMTPSA id f21-20020a056638023500b003eb8ea0da2csm1326227jaq.154.2023.02.26.11.37.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Feb 2023 11:37:24 -0800 (PST) Received: (nullmailer pid 190082 invoked by uid 1000); Sun, 26 Feb 2023 19:37:20 -0000 Date: Sun, 26 Feb 2023 13:37:20 -0600 From: Rob Herring To: Svyatoslav Ryhel Cc: Krzysztof Kozlowski , Liam Girdwood , Mark Brown , Thierry Reding , Jonathan Hunter , Greg Kroah-Hartman , Jaroslav Kysela , Takashi Iwai , Maxim Schwalm , Dmitry Osipenko , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, linux-tegra@vger.kernel.org, linux-staging@lists.linux.dev Subject: Re: [PATCH v1 03/10] dt-bindings: sound: nvidia,tegra-audio: add RT5631 CODEC Message-ID: <20230226193720.GA187553-robh@kernel.org> References: <20230221183211.21964-1-clamor95@gmail.com> <20230221183211.21964-4-clamor95@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230221183211.21964-4-clamor95@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org On Tue, Feb 21, 2023 at 08:32:04PM +0200, Svyatoslav Ryhel wrote: > From: David Heidelberg > > Add dt-binding for RT5631 CODEC. > > Signed-off-by: David Heidelberg Your S-o-b is needed here as well. > --- > .../sound/nvidia,tegra-audio-rt5631.yaml | 88 +++++++++++++++++++ > 1 file changed, 88 insertions(+) > create mode 100644 Documentation/devicetree/bindings/sound/nvidia,tegra-audio-rt5631.yaml > > diff --git a/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-rt5631.yaml b/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-rt5631.yaml > new file mode 100644 > index 000000000000..b347f34c47f2 > --- /dev/null > +++ b/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-rt5631.yaml > @@ -0,0 +1,88 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/sound/nvidia,tegra-audio-rt5631.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: NVIDIA Tegra audio complex with RT5631 CODEC > + > +maintainers: > + - Jon Hunter > + - Thierry Reding > + > +allOf: > + - $ref: nvidia,tegra-audio-common.yaml# > + > +properties: > + compatible: > + items: > + - pattern: '^[a-z0-9]+,tegra-audio-rt5631(-[a-z0-9]+)+$' > + - const: nvidia,tegra-audio-rt5631 > + > + nvidia,audio-routing: > + $ref: /schemas/types.yaml#/definitions/non-unique-string-array > + description: | > + A list of the connections between audio components. > + Each entry is a pair of strings, the first being the connection's sink, > + the second being the connection's source. Valid names for sources and > + sinks are the pins (documented in the binding document), > + and the jacks on the board. > + minItems: 2 > + items: > + enum: > + # Board Connectors > + - "Int Spk" > + - "Headphone Jack" > + - "Mic Jack" > + - "Int Mic" > + > + # CODEC Pins > + - MIC1 > + - MIC2 > + - AXIL > + - AXIR > + - MONOIN_RXN > + - MONOIN_RXP > + - DMIC > + - MIC Bias1 > + - MIC Bias2 > + - MONO_IN > + - AUXO1 > + - AUXO2 > + - SPOL > + - SPOR > + - HPOL > + - HPOR > + - MONO > + > +required: > + - nvidia,i2s-controller > + > +unevaluatedProperties: false > + > +examples: > + - | > + #include > + #include > + sound { > + compatible = "asus,tegra-audio-rt5631-tf700t", > + "nvidia,tegra-audio-rt5631"; > + nvidia,model = "Asus Transformer Infinity TF700T RT5631"; > + > + nvidia,audio-routing = > + "Headphone Jack", "HPOL", > + "Headphone Jack", "HPOR", > + "Int Spk", "SPOL", > + "Int Spk", "SPOR", > + "MIC1", "MIC Bias1", > + "MIC Bias1", "Mic Jack", > + "DMIC", "Int Mic"; > + > + nvidia,i2s-controller = <&tegra_i2s1>; > + nvidia,audio-codec = <&rt5631>; > + > + clocks = <&tegra_car TEGRA30_CLK_PLL_A>, > + <&tegra_car TEGRA30_CLK_PLL_A_OUT0>, > + <&tegra_pmc TEGRA_PMC_CLK_OUT_1>; > + clock-names = "pll_a", "pll_a_out0", "mclk"; > + }; > -- > 2.37.2 >