From patchwork Tue May 14 11:15:05 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 164128 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp2484131ili; Tue, 14 May 2019 04:15:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqxG8feSMIaKH0KChXu93zh1puPQv7/jiYnbExkKzDfb5A9yfydyUbucf4Qse3AW0hCMzRO4 X-Received: by 2002:a65:66d2:: with SMTP id c18mr37750955pgw.427.1557832531471; Tue, 14 May 2019 04:15:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557832531; cv=none; d=google.com; s=arc-20160816; b=EapEAToEReenkR/nmI4tY192wNNbP2T3Qux2YbBZufCSnZjy5jaxrqEIjsBkYxJ+ey J1kk/lkCF/dK5rSU0rCf62cEiwM0nEF16TF/waxf/RM3SQN4Odx6eyIyCXD0KoFQKsQ3 ynTfUA1Wevq+CxYCzoi9soAXJc88Ygmue8rp1dyiQj+9QS5/DYAW77dBc5tKysEjGgUH QPy1N3tWHzIh3yqsr9hS0xKVSpkCLeguSCyLLNTYUGz6NrJLF6KieO4jheo86i5quF1i WLJ5tyL1WZh0z0APNhTqq6MJ5nU9GQ3+7N7JGVZ3YwSArx8ZPVQ5NqNXHOGDsT6q81uj zkYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=z7vP7ano274I5qllq8uR+bb2yaN49Q2MfmDUFqT17hQ=; b=NR1DXiOwkTmolZqHP41iYZxRq5wyf+3yhE/+uASauIB6Leh0t4CyEMxOGr+B8TbaHT rOIUd6220KgCq8l+EhDefgy6XTOq2Fb9DtyZWTdFvOC1tTSfJpGXPn3az+8DmHOiehGp 3mhXAuZoGQF63CcvQQ1TLaVzVXeNa9lC4SAkwn+pWdqqqybxOJhYrpGbhCK4gpP0lt3s 5q/4y+HLLyc1KyPjaM3uxufctWgXwfLWIlkXh+90/VPsfWR4YWMjYEvdX6WmREcEzxSH get28rPfbte/mpAIJUgKZF92utxhu0Qu32j2L1iCWv5J7Xc8wB5K0TwB52of9DL9DQGx hQ6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=OVd3mubC; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p23si20370536pgj.379.2019.05.14.04.15.27; Tue, 14 May 2019 04:15:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=OVd3mubC; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726548AbfENLP0 (ORCPT + 30 others); Tue, 14 May 2019 07:15:26 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:39659 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726461AbfENLPW (ORCPT ); Tue, 14 May 2019 07:15:22 -0400 Received: by mail-wm1-f68.google.com with SMTP id n25so2369455wmk.4 for ; Tue, 14 May 2019 04:15:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=z7vP7ano274I5qllq8uR+bb2yaN49Q2MfmDUFqT17hQ=; b=OVd3mubCMUTqHvkWZ1yO5YL6jSiUiT0CiIuHO+TVYnWoTSXS3T+ZvIqfBjrfg4+C0i L0IbguyctOYwSwIQvOv3QqGnZPaqyRB11hXneqhEkPSsZ6BwXF41Tor0duUYpBymFnF1 VDdB1fram1a+h23hONf5xImxteD61e4zE9ixjCZyzQz/3QMiWPEAmFqGavKHTBv63t6j fr63qMUzn+hROUR5ACPsRB2mapvHZNNIPsE29eWWPmwVEAHykG762g/bxkK97VMENjb9 5uV/ZhzR2pshQwm4DKJ2Cvc1ShKD1xUH4Kg323TNcnW7viXQ9gyDJeE4NXD2pwk/pLgb sdCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=z7vP7ano274I5qllq8uR+bb2yaN49Q2MfmDUFqT17hQ=; b=Cp+VYTUjO7q7Std5h5eYH4hLySg+cIAcXj07lW26zj2mEjWmmR8GqV+hC/KviiooBk HVFQHjh1ItistQi/niYTX+fTkwRAxLIqG/IVdAE87JmiM2O24XK3/c/26XWeC3YPFjqj dwHq+r+UzKE+o0e4a3ErDDKAJyYjhvMcqqrYzklPHeYHcyo8MeOHnSeFRUU+Kii9idJA fwmwOzm86CUMkltcnkiVlT1Ur0f8XUodTOwuo0M4xdtI3qVqoAQWmR1vHpB9UfgykB/n 1wN7BAxCg+VqvUaGPfxyan++f1PrhJR/T9IIUx5yzpDVUtZOHCjnsyGcPuPwVX/CdYhc uYsw== X-Gm-Message-State: APjAAAUaCUu/xP8meX0XKSZxK+nat+5ZXQmukiqzvsYJyS/cFcgFrkVZ WAm0DjjNfUyESeOwpqYGm9uy+Q== X-Received: by 2002:a7b:cd0e:: with SMTP id f14mr7531000wmj.127.1557832520316; Tue, 14 May 2019 04:15:20 -0700 (PDT) Received: from boomer.local (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.googlemail.com with ESMTPSA id c130sm7289922wmf.47.2019.05.14.04.15.19 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 14 May 2019 04:15:19 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman Cc: Jerome Brunet , devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/8] arm64: dts: meson: g12a: add audio fifos Date: Tue, 14 May 2019 13:15:05 +0200 Message-Id: <20190514111510.23299-4-jbrunet@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190514111510.23299-1-jbrunet@baylibre.com> References: <20190514111510.23299-1-jbrunet@baylibre.com> MIME-Version: 1.0 X-Patchwork-Bot: notify Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the playback and capture memory interfaces of the g12a SoC family. Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 67 +++++++++++++++++++++ 1 file changed, 67 insertions(+) -- 2.20.1 diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi index 2d5bccad4035..299df8131a0c 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi @@ -10,6 +10,7 @@ #include #include #include +#include #include / { @@ -709,6 +710,72 @@ resets = <&reset RESET_AUDIO>; }; + toddr_a: audio-controller@100 { + compatible = "amlogic,g12a-toddr"; + reg = <0x0 0x100 0x0 0x1c>; + #sound-dai-cells = <0>; + sound-name-prefix = "TODDR_A"; + interrupts = ; + clocks = <&clkc_audio AUD_CLKID_TODDR_A>; + resets = <&arb AXG_ARB_TODDR_A>; + status = "disabled"; + }; + + toddr_b: audio-controller@140 { + compatible = "amlogic,g12a-toddr"; + reg = <0x0 0x140 0x0 0x1c>; + #sound-dai-cells = <0>; + sound-name-prefix = "TODDR_B"; + interrupts = ; + clocks = <&clkc_audio AUD_CLKID_TODDR_B>; + resets = <&arb AXG_ARB_TODDR_B>; + status = "disabled"; + }; + + toddr_c: audio-controller@180 { + compatible = "amlogic,g12a-toddr"; + reg = <0x0 0x180 0x0 0x1c>; + #sound-dai-cells = <0>; + sound-name-prefix = "TODDR_C"; + interrupts = ; + clocks = <&clkc_audio AUD_CLKID_TODDR_C>; + resets = <&arb AXG_ARB_TODDR_C>; + status = "disabled"; + }; + + frddr_a: audio-controller@1c0 { + compatible = "amlogic,g12a-frddr"; + reg = <0x0 0x1c0 0x0 0x1c>; + #sound-dai-cells = <0>; + sound-name-prefix = "FRDDR_A"; + interrupts = ; + clocks = <&clkc_audio AUD_CLKID_FRDDR_A>; + resets = <&arb AXG_ARB_FRDDR_A>; + status = "disabled"; + }; + + frddr_b: audio-controller@200 { + compatible = "amlogic,g12a-frddr"; + reg = <0x0 0x200 0x0 0x1c>; + #sound-dai-cells = <0>; + sound-name-prefix = "FRDDR_B"; + interrupts = ; + clocks = <&clkc_audio AUD_CLKID_FRDDR_B>; + resets = <&arb AXG_ARB_FRDDR_B>; + status = "disabled"; + }; + + frddr_c: audio-controller@240 { + compatible = "amlogic,g12a-frddr"; + reg = <0x0 0x240 0x0 0x1c>; + #sound-dai-cells = <0>; + sound-name-prefix = "FRDDR_C"; + interrupts = ; + clocks = <&clkc_audio AUD_CLKID_FRDDR_C>; + resets = <&arb AXG_ARB_FRDDR_C>; + status = "disabled"; + }; + arb: reset-controller@280 { status = "disabled"; compatible = "amlogic,meson-axg-audio-arb"; From patchwork Tue May 14 11:15:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 164132 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp2484401ili; Tue, 14 May 2019 04:15:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqyINcgj9tUdW7x2PiukoSNsl7bHdIFQwxgeh93YBi4/rWHEVwtaDWh5zsS8mb+o8hj/XY6a X-Received: by 2002:a62:d044:: with SMTP id p65mr20362765pfg.37.1557832547529; Tue, 14 May 2019 04:15:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557832547; cv=none; d=google.com; s=arc-20160816; b=F4mw/hXJMlFGLg7JQVtJ9mzAP+6P1XEPWntIdp9FsYNArCrBUsegdzaE1X+W2WvXUc VESoMBulKRCDdVbWXQjOT+nlAyvFl30f0Fk+YENK2m/W7V4YLuxEGEREqBQKnsJah8tr W5kWpMDBLtSuTVh8sPfaJagFwHjnyZiosrAibrGwQfhe/Af3MlQAHUJfDXnW8LFHwKD1 3qWQxrvgSzELDgNsCs5xu/SuGIQ4Wh3IPXoLA3OvSRYiiriMlEYSd8fxSRY/r14iaYr9 pbBobOSWCo42UG+HOMahY6gXAh5m9hW/0JfwNg/8iD/GTb4dFMd73whS3eC91cW0kZ3I qhRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=YJZo7xdgLnuYACbBCeG25YKEl6NK02t0iAnsKq/zkBM=; b=qacQxukPZy3bo4bIUAuLqznxBxLWN0ZedAkK20RbdutCk85kOKdlM7vh3ca0+1VjMW 1aXkEmWUGzXrri4HVgWkxXix/kv0XAzqBr00lUJLtj3h7+wKrS6nxq+UlumjPfyxNzkj j79MQSZJC7spnuqIeanWVGOJ4EdvevbaRp56Sj33Mx3Fnfv1OjDZACqwyOo4++u63Q+z 8UCgcyyxJF3XGpxqccMRBqAyhFgzySKxlI8D76w2ed324KJ7vYPYtS/aFtD4+uFVEa8S M5Lw94FMFjWEjR5OfCY8kt1N8kue1C/uresVser/I294QQRqbWvYJdrhfGMrcP2kPKzM 138w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=1D4cq6X3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p23si20370536pgj.379.2019.05.14.04.15.43; Tue, 14 May 2019 04:15:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=1D4cq6X3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726610AbfENLPa (ORCPT + 30 others); Tue, 14 May 2019 07:15:30 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:39532 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726473AbfENLPZ (ORCPT ); Tue, 14 May 2019 07:15:25 -0400 Received: by mail-wr1-f66.google.com with SMTP id w8so16300630wrl.6 for ; Tue, 14 May 2019 04:15:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=YJZo7xdgLnuYACbBCeG25YKEl6NK02t0iAnsKq/zkBM=; b=1D4cq6X3JpvcwKLuhAfiCWGj79QDMa6R142fbRqbqkecRcrRW+MGVqbR0etyvjpbUR jwdGODTCGh5KJpBxBhlyGdp9a+TAJc700EsiWL5JUVl+Mj4eUbqKbuxdMZ/+6rFRgn6t DBfrYe3RXYIwD1KY3mQCWloIkSFEQri3EfEbGe8bU8hl39+DTU8UqHg3XlahzoLRolU9 4iIYdxNBV6PMYxfa+5Lncr+aeUOjKL/fMIP7aN+kp4t/YIrYP849G9zb2Vxep8b5qmcH 2nsw9V4REzLC+Hooh0gWX1/TNQVNDprNr6e0ohss0J5AxcSyT8i9XQ+bza7X1zFceQ0x xMlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=YJZo7xdgLnuYACbBCeG25YKEl6NK02t0iAnsKq/zkBM=; b=NR4F6MdDaIfwaMLfKsBKcObJxLRF/CQd5HhSSuNHXSiPJpVS7jB1JVuj2tRAw9tEuk 7UsaxgPdnXUSkq10I4wuq2rwXEry8zya2Ou6L9FU/P/j9zAp+ZKrZcxi4YtoMdRtq7w8 dj5MhKDSs+oIM1XosSp/VfOQ5EjAzEBDHXBpQeIBwlRdPO7/6xypc3UzsUr9Ahz3+LRp +0BuXGd9x9RmytDcCMCGBRD3gNc8FlbQLqD/GgPyR1rvFbF7T9Ft4FvqOzL6xgP9MC9Z 1l4OV34eAd5ZIwI6A0hO/R5QSf7wVxb5kHbHESdXFQ6Gs4TH6t62Fa8Wc49iEr0rVwTz hqfQ== X-Gm-Message-State: APjAAAVfC7TrCpIqEJ206Xh6nef2L16C0vcirlUbXL97bxPiIuXz+9Or vgQYzsLm41VB1PXtOm0rgAcXIFxEdok= X-Received: by 2002:adf:fb11:: with SMTP id c17mr3469568wrr.237.1557832521280; Tue, 14 May 2019 04:15:21 -0700 (PDT) Received: from boomer.local (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.googlemail.com with ESMTPSA id c130sm7289922wmf.47.2019.05.14.04.15.20 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 14 May 2019 04:15:20 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman Cc: Jerome Brunet , devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/8] arm64: dts: meson: g12a: add tdm Date: Tue, 14 May 2019 13:15:06 +0200 Message-Id: <20190514111510.23299-5-jbrunet@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190514111510.23299-1-jbrunet@baylibre.com> References: <20190514111510.23299-1-jbrunet@baylibre.com> MIME-Version: 1.0 X-Patchwork-Bot: notify Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the devices and pinctrl definitions for the tdm interfaces of the g12a SoC family. Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 658 ++++++++++++++++++++ 1 file changed, 658 insertions(+) -- 2.20.1 diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi index 299df8131a0c..825e874918c2 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi @@ -20,6 +20,39 @@ #address-cells = <2>; #size-cells = <2>; + tdmif_a: audio-controller-0 { + compatible = "amlogic,axg-tdm-iface"; + #sound-dai-cells = <0>; + sound-name-prefix = "TDM_A"; + clocks = <&clkc_audio AUD_CLKID_MST_A_MCLK>, + <&clkc_audio AUD_CLKID_MST_A_SCLK>, + <&clkc_audio AUD_CLKID_MST_A_LRCLK>; + clock-names = "mclk", "sclk", "lrclk"; + status = "disabled"; + }; + + tdmif_b: audio-controller-1 { + compatible = "amlogic,axg-tdm-iface"; + #sound-dai-cells = <0>; + sound-name-prefix = "TDM_B"; + clocks = <&clkc_audio AUD_CLKID_MST_B_MCLK>, + <&clkc_audio AUD_CLKID_MST_B_SCLK>, + <&clkc_audio AUD_CLKID_MST_B_LRCLK>; + clock-names = "mclk", "sclk", "lrclk"; + status = "disabled"; + }; + + tdmif_c: audio-controller-2 { + compatible = "amlogic,axg-tdm-iface"; + #sound-dai-cells = <0>; + sound-name-prefix = "TDM_C"; + clocks = <&clkc_audio AUD_CLKID_MST_C_MCLK>, + <&clkc_audio AUD_CLKID_MST_C_SCLK>, + <&clkc_audio AUD_CLKID_MST_C_LRCLK>; + clock-names = "mclk", "sclk", "lrclk"; + status = "disabled"; + }; + cpus { #address-cells = <0x2>; #size-cells = <0x0>; @@ -428,6 +461,42 @@ }; }; + mclk0_a_pins: mclk0_a { + mux { + groups = "mclk0_a"; + function = "mclk0"; + bias-disable; + drive-strength-microamp = <3000>; + }; + }; + + mclk1_a_pins: mclk1_a { + mux { + groups = "mclk1_a"; + function = "mclk1"; + bias-disable; + drive-strength-microamp = <3000>; + }; + }; + + mclk1_x_pins: mclk1_x { + mux { + groups = "mclk1_x"; + function = "mclk1"; + bias-disable; + drive-strength-microamp = <3000>; + }; + }; + + mclk1_z_pins: mclk1_z { + mux { + groups = "mclk1_z"; + function = "mclk1"; + bias-disable; + drive-strength-microamp = <3000>; + }; + }; + pwm_a_pins: pwm-a { mux { groups = "pwm_a"; @@ -574,6 +643,399 @@ }; }; + tdm_a_din0_pins: tdm-a-din0 { + mux { + groups = "tdm_a_din0"; + function = "tdm_a"; + bias-disable; + }; + }; + + + tdm_a_din1_pins: tdm-a-din1 { + mux { + groups = "tdm_a_din1"; + function = "tdm_a"; + bias-disable; + }; + }; + + tdm_a_dout0_pins: tdm-a-dout0 { + mux { + groups = "tdm_a_dout0"; + function = "tdm_a"; + bias-disable; + drive-strength-microamp = <3000>; + }; + }; + + tdm_a_dout1_pins: tdm-a-dout1 { + mux { + groups = "tdm_a_dout1"; + function = "tdm_a"; + bias-disable; + drive-strength-microamp = <3000>; + }; + }; + + tdm_a_fs_pins: tdm-a-fs { + mux { + groups = "tdm_a_fs"; + function = "tdm_a"; + bias-disable; + drive-strength-microamp = <3000>; + }; + }; + + tdm_a_sclk_pins: tdm-a-sclk { + mux { + groups = "tdm_a_sclk"; + function = "tdm_a"; + bias-disable; + drive-strength-microamp = <3000>; + }; + }; + + tdm_a_slv_fs_pins: tdm-a-slv-fs { + mux { + groups = "tdm_a_slv_fs"; + function = "tdm_a"; + bias-disable; + }; + }; + + + tdm_a_slv_sclk_pins: tdm-a-slv-sclk { + mux { + groups = "tdm_a_slv_sclk"; + function = "tdm_a"; + bias-disable; + }; + }; + + tdm_b_din0_pins: tdm-b-din0 { + mux { + groups = "tdm_b_din0"; + function = "tdm_b"; + bias-disable; + }; + }; + + tdm_b_din1_pins: tdm-b-din1 { + mux { + groups = "tdm_b_din1"; + function = "tdm_b"; + bias-disable; + }; + }; + + tdm_b_din2_pins: tdm-b-din2 { + mux { + groups = "tdm_b_din2"; + function = "tdm_b"; + bias-disable; + }; + }; + + tdm_b_din3_a_pins: tdm-b-din3-a { + mux { + groups = "tdm_b_din3_a"; + function = "tdm_b"; + bias-disable; + }; + }; + + tdm_b_din3_h_pins: tdm-b-din3-h { + mux { + groups = "tdm_b_din3_h"; + function = "tdm_b"; + bias-disable; + }; + }; + + tdm_b_dout0_pins: tdm-b-dout0 { + mux { + groups = "tdm_b_dout0"; + function = "tdm_b"; + bias-disable; + drive-strength-microamp = <3000>; + }; + }; + + tdm_b_dout1_pins: tdm-b-dout1 { + mux { + groups = "tdm_b_dout1"; + function = "tdm_b"; + bias-disable; + drive-strength-microamp = <3000>; + }; + }; + + tdm_b_dout2_pins: tdm-b-dout2 { + mux { + groups = "tdm_b_dout2"; + function = "tdm_b"; + bias-disable; + drive-strength-microamp = <3000>; + }; + }; + + tdm_b_dout3_a_pins: tdm-b-dout3-a { + mux { + groups = "tdm_b_dout3_a"; + function = "tdm_b"; + bias-disable; + drive-strength-microamp = <3000>; + }; + }; + + tdm_b_dout3_h_pins: tdm-b-dout3-h { + mux { + groups = "tdm_b_dout3_h"; + function = "tdm_b"; + bias-disable; + drive-strength-microamp = <3000>; + }; + }; + + tdm_b_fs_pins: tdm-b-fs { + mux { + groups = "tdm_b_fs"; + function = "tdm_b"; + bias-disable; + drive-strength-microamp = <3000>; + }; + }; + + tdm_b_sclk_pins: tdm-b-sclk { + mux { + groups = "tdm_b_sclk"; + function = "tdm_b"; + bias-disable; + drive-strength-microamp = <3000>; + }; + }; + + tdm_b_slv_fs_pins: tdm-b-slv-fs { + mux { + groups = "tdm_b_slv_fs"; + function = "tdm_b"; + bias-disable; + }; + }; + + tdm_b_slv_sclk_pins: tdm-b-slv-sclk { + mux { + groups = "tdm_b_slv_sclk"; + function = "tdm_b"; + bias-disable; + }; + }; + + tdm_c_din0_a_pins: tdm-c-din0-a { + mux { + groups = "tdm_c_din0_a"; + function = "tdm_c"; + bias-disable; + }; + }; + + tdm_c_din0_z_pins: tdm-c-din0-z { + mux { + groups = "tdm_c_din0_z"; + function = "tdm_c"; + bias-disable; + }; + }; + + tdm_c_din1_a_pins: tdm-c-din1-a { + mux { + groups = "tdm_c_din1_a"; + function = "tdm_c"; + bias-disable; + }; + }; + + tdm_c_din1_z_pins: tdm-c-din1-z { + mux { + groups = "tdm_c_din1_z"; + function = "tdm_c"; + bias-disable; + }; + }; + + tdm_c_din2_a_pins: tdm-c-din2-a { + mux { + groups = "tdm_c_din2_a"; + function = "tdm_c"; + bias-disable; + }; + }; + + tdm_c_din2_z_pins: tdm-c-din2-z { + mux { + groups = "tdm_c_din2_z"; + function = "tdm_c"; + bias-disable; + }; + }; + + tdm_c_din3_a_pins: tdm-c-din3-a { + mux { + groups = "tdm_c_din3_a"; + function = "tdm_c"; + bias-disable; + }; + }; + + tdm_c_din3_z_pins: tdm-c-din3-z { + mux { + groups = "tdm_c_din3_z"; + function = "tdm_c"; + bias-disable; + }; + }; + + tdm_c_dout0_a_pins: tdm-c-dout0-a { + mux { + groups = "tdm_c_dout0_a"; + function = "tdm_c"; + bias-disable; + drive-strength-microamp = <3000>; + }; + }; + + tdm_c_dout0_z_pins: tdm-c-dout0-z { + mux { + groups = "tdm_c_dout0_z"; + function = "tdm_c"; + bias-disable; + drive-strength-microamp = <3000>; + }; + }; + + tdm_c_dout1_a_pins: tdm-c-dout1-a { + mux { + groups = "tdm_c_dout1_a"; + function = "tdm_c"; + bias-disable; + drive-strength-microamp = <3000>; + }; + }; + + tdm_c_dout1_z_pins: tdm-c-dout1-z { + mux { + groups = "tdm_c_dout1_z"; + function = "tdm_c"; + bias-disable; + drive-strength-microamp = <3000>; + }; + }; + + tdm_c_dout2_a_pins: tdm-c-dout2-a { + mux { + groups = "tdm_c_dout2_a"; + function = "tdm_c"; + bias-disable; + drive-strength-microamp = <3000>; + }; + }; + + tdm_c_dout2_z_pins: tdm-c-dout2-z { + mux { + groups = "tdm_c_dout2_z"; + function = "tdm_c"; + bias-disable; + drive-strength-microamp = <3000>; + }; + }; + + tdm_c_dout3_a_pins: tdm-c-dout3-a { + mux { + groups = "tdm_c_dout3_a"; + function = "tdm_c"; + bias-disable; + drive-strength-microamp = <3000>; + }; + }; + + tdm_c_dout3_z_pins: tdm-c-dout3-z { + mux { + groups = "tdm_c_dout3_z"; + function = "tdm_c"; + bias-disable; + drive-strength-microamp = <3000>; + }; + }; + + tdm_c_fs_a_pins: tdm-c-fs-a { + mux { + groups = "tdm_c_fs_a"; + function = "tdm_c"; + bias-disable; + drive-strength-microamp = <3000>; + }; + }; + + tdm_c_fs_z_pins: tdm-c-fs-z { + mux { + groups = "tdm_c_fs_z"; + function = "tdm_c"; + bias-disable; + drive-strength-microamp = <3000>; + }; + }; + + tdm_c_sclk_a_pins: tdm-c-sclk-a { + mux { + groups = "tdm_c_sclk_a"; + function = "tdm_c"; + bias-disable; + drive-strength-microamp = <3000>; + }; + }; + + tdm_c_sclk_z_pins: tdm-c-sclk-z { + mux { + groups = "tdm_c_sclk_z"; + function = "tdm_c"; + bias-disable; + drive-strength-microamp = <3000>; + }; + }; + + tdm_c_slv_fs_a_pins: tdm-c-slv-fs-a { + mux { + groups = "tdm_c_slv_fs_a"; + function = "tdm_c"; + bias-disable; + }; + }; + + tdm_c_slv_fs_z_pins: tdm-c-slv-fs-z { + mux { + groups = "tdm_c_slv_fs_z"; + function = "tdm_c"; + bias-disable; + }; + }; + + tdm_c_slv_sclk_a_pins: tdm-c-slv-sclk-a { + mux { + groups = "tdm_c_slv_sclk_a"; + function = "tdm_c"; + bias-disable; + }; + }; + + tdm_c_slv_sclk_z_pins: tdm-c-slv-sclk-z { + mux { + groups = "tdm_c_slv_sclk_z"; + function = "tdm_c"; + bias-disable; + }; + }; + uart_a_pins: uart-a { mux { groups = "uart_a_tx", @@ -783,6 +1245,108 @@ #reset-cells = <1>; clocks = <&clkc_audio AUD_CLKID_DDR_ARB>; }; + + tdmin_a: audio-controller@300 { + compatible = "amlogic,g12a-tdmin", + "amlogic,axg-tdmin"; + reg = <0x0 0x300 0x0 0x40>; + sound-name-prefix = "TDMIN_A"; + clocks = <&clkc_audio AUD_CLKID_TDMIN_A>, + <&clkc_audio AUD_CLKID_TDMIN_A_SCLK>, + <&clkc_audio AUD_CLKID_TDMIN_A_SCLK_SEL>, + <&clkc_audio AUD_CLKID_TDMIN_A_LRCLK>, + <&clkc_audio AUD_CLKID_TDMIN_A_LRCLK>; + clock-names = "pclk", "sclk", "sclk_sel", + "lrclk", "lrclk_sel"; + status = "disabled"; + }; + + tdmin_b: audio-controller@340 { + compatible = "amlogic,g12a-tdmin", + "amlogic,axg-tdmin"; + reg = <0x0 0x340 0x0 0x40>; + sound-name-prefix = "TDMIN_B"; + clocks = <&clkc_audio AUD_CLKID_TDMIN_B>, + <&clkc_audio AUD_CLKID_TDMIN_B_SCLK>, + <&clkc_audio AUD_CLKID_TDMIN_B_SCLK_SEL>, + <&clkc_audio AUD_CLKID_TDMIN_B_LRCLK>, + <&clkc_audio AUD_CLKID_TDMIN_B_LRCLK>; + clock-names = "pclk", "sclk", "sclk_sel", + "lrclk", "lrclk_sel"; + status = "disabled"; + }; + + tdmin_c: audio-controller@380 { + compatible = "amlogic,g12a-tdmin", + "amlogic,axg-tdmin"; + reg = <0x0 0x380 0x0 0x40>; + sound-name-prefix = "TDMIN_C"; + clocks = <&clkc_audio AUD_CLKID_TDMIN_C>, + <&clkc_audio AUD_CLKID_TDMIN_C_SCLK>, + <&clkc_audio AUD_CLKID_TDMIN_C_SCLK_SEL>, + <&clkc_audio AUD_CLKID_TDMIN_C_LRCLK>, + <&clkc_audio AUD_CLKID_TDMIN_C_LRCLK>; + clock-names = "pclk", "sclk", "sclk_sel", + "lrclk", "lrclk_sel"; + status = "disabled"; + }; + + tdmin_lb: audio-controller@3c0 { + compatible = "amlogic,g12a-tdmin", + "amlogic,axg-tdmin"; + reg = <0x0 0x3c0 0x0 0x40>; + sound-name-prefix = "TDMIN_LB"; + clocks = <&clkc_audio AUD_CLKID_TDMIN_LB>, + <&clkc_audio AUD_CLKID_TDMIN_LB_SCLK>, + <&clkc_audio AUD_CLKID_TDMIN_LB_SCLK_SEL>, + <&clkc_audio AUD_CLKID_TDMIN_LB_LRCLK>, + <&clkc_audio AUD_CLKID_TDMIN_LB_LRCLK>; + clock-names = "pclk", "sclk", "sclk_sel", + "lrclk", "lrclk_sel"; + status = "disabled"; + }; + + tdmout_a: audio-controller@500 { + compatible = "amlogic,g12a-tdmout"; + reg = <0x0 0x500 0x0 0x40>; + sound-name-prefix = "TDMOUT_A"; + clocks = <&clkc_audio AUD_CLKID_TDMOUT_A>, + <&clkc_audio AUD_CLKID_TDMOUT_A_SCLK>, + <&clkc_audio AUD_CLKID_TDMOUT_A_SCLK_SEL>, + <&clkc_audio AUD_CLKID_TDMOUT_A_LRCLK>, + <&clkc_audio AUD_CLKID_TDMOUT_A_LRCLK>; + clock-names = "pclk", "sclk", "sclk_sel", + "lrclk", "lrclk_sel"; + status = "disabled"; + }; + + tdmout_b: audio-controller@540 { + compatible = "amlogic,g12a-tdmout"; + reg = <0x0 0x540 0x0 0x40>; + sound-name-prefix = "TDMOUT_B"; + clocks = <&clkc_audio AUD_CLKID_TDMOUT_B>, + <&clkc_audio AUD_CLKID_TDMOUT_B_SCLK>, + <&clkc_audio AUD_CLKID_TDMOUT_B_SCLK_SEL>, + <&clkc_audio AUD_CLKID_TDMOUT_B_LRCLK>, + <&clkc_audio AUD_CLKID_TDMOUT_B_LRCLK>; + clock-names = "pclk", "sclk", "sclk_sel", + "lrclk", "lrclk_sel"; + status = "disabled"; + }; + + tdmout_c: audio-controller@580 { + compatible = "amlogic,g12a-tdmout"; + reg = <0x0 0x580 0x0 0x40>; + sound-name-prefix = "TDMOUT_C"; + clocks = <&clkc_audio AUD_CLKID_TDMOUT_C>, + <&clkc_audio AUD_CLKID_TDMOUT_C_SCLK>, + <&clkc_audio AUD_CLKID_TDMOUT_C_SCLK_SEL>, + <&clkc_audio AUD_CLKID_TDMOUT_C_LRCLK>, + <&clkc_audio AUD_CLKID_TDMOUT_C_LRCLK>; + clock-names = "pclk", "sclk", "sclk_sel", + "lrclk", "lrclk_sel"; + status = "disabled"; + }; }; usb3_pcie_phy: phy@46000 { @@ -919,6 +1483,100 @@ }; }; + mclk0_ao_pins: mclk0-ao { + mux { + groups = "mclk0_ao"; + function = "mclk0_ao"; + bias-disable; + drive-strength-microamp = <3000>; + }; + }; + + tdm_ao_b_din0_pins: tdm-ao-b-din0 { + mux { + groups = "tdm_ao_b_din0"; + function = "tdm_ao_b"; + bias-disable; + }; + }; + + tdm_ao_b_din1_pins: tdm-ao-b-din1 { + mux { + groups = "tdm_ao_b_din1"; + function = "tdm_ao_b"; + bias-disable; + }; + }; + + tdm_ao_b_din2_pins: tdm-ao-b-din2 { + mux { + groups = "tdm_ao_b_din2"; + function = "tdm_ao_b"; + bias-disable; + }; + }; + + tdm_ao_b_dout0_pins: tdm-ao-b-dout0 { + mux { + groups = "tdm_ao_b_dout0"; + function = "tdm_ao_b"; + bias-disable; + drive-strength-microamp = <3000>; + }; + }; + + tdm_ao_b_dout1_pins: tdm-ao-b-dout1 { + mux { + groups = "tdm_ao_b_dout1"; + function = "tdm_ao_b"; + bias-disable; + drive-strength-microamp = <3000>; + }; + }; + + tdm_ao_b_dout2_pins: tdm-ao-b-dout2 { + mux { + groups = "tdm_ao_b_dout2"; + function = "tdm_ao_b"; + bias-disable; + drive-strength-microamp = <3000>; + }; + }; + + tdm_ao_b_fs_pins: tdm-ao-b-fs { + mux { + groups = "tdm_ao_b_fs"; + function = "tdm_ao_b"; + bias-disable; + drive-strength-microamp = <3000>; + }; + }; + + tdm_ao_b_sclk_pins: tdm-ao-b-sclk { + mux { + groups = "tdm_ao_b_sclk"; + function = "tdm_ao_b"; + bias-disable; + drive-strength-microamp = <3000>; + }; + }; + + tdm_ao_b_slv_fs_pins: tdm-ao-b-slv-fs { + mux { + groups = "tdm_ao_b_slv_fs"; + function = "tdm_ao_b"; + bias-disable; + }; + }; + + tdm_ao_b_slv_sclk_pins: tdm-ao-b-slv-sclk { + mux { + groups = "tdm_ao_b_slv_sclk"; + function = "tdm_ao_b"; + bias-disable; + }; + }; + uart_ao_a_pins: uart-a-ao { mux { groups = "uart_ao_a_tx", From patchwork Tue May 14 11:15:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 164129 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp2484201ili; Tue, 14 May 2019 04:15:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqxNjEOZr2FveKeLrilWvElfz9BxfBbuK6O1mdAczOjxoL2r9PZbMyEmO6N9kwedRmJJNr9V X-Received: by 2002:a63:1150:: with SMTP id 16mr37266854pgr.40.1557832535430; Tue, 14 May 2019 04:15:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557832535; cv=none; d=google.com; s=arc-20160816; b=Uy6qAuLTUlFZuqNRlJUsOamxafcfQDXuUFw1svYNnvN+6DpfmRJCBnFf7VE1Mm7a+8 AKTcm8wGJWVw0sfHrdRWNdl3zJ8Rbzn16DnQ3fjsCyO11frB5awTglQ0fvJ0aBhkvvTN Jsx9rKDJLY4FOusXfeYoCSs9lqkytbfRReqlsGBOzJffE9Eh0/IGVpEzi4xHxoawyyif 9yr/p1H7JrooshmhfGEQ4CVSHTdM31tP1TbCulshEnyRL8cmuCctJ4Y6cWBtq9LHhPnf wFbTb+l+yp1+zc50Z6y3C3By96PeCCW/8SRyKuUmOGG49jsRQ2xnU9eOLcy8VPY5EK+r bPyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=/PmCFTzBJ4fs8y0qiuFVvAwddCVo0DZXmaQNkhQWVB8=; b=xcRdD2aEJcsvuRuCgcMfCLW8zjFYDKTiJVewwDmw3xIlT5GPtohbKVaGisZWnAvS6Z y6t4O02Y/BltnYSaUXwarSmuJ5CJCKoPMmMfCTLeeUBtzg+cbyuE6FgzdvJ2c9D5H6W7 PTWSFSDNBfLLfu1I5jGT0iZJdAOogtsWt7awup3n1AWjZCwtQ+9gpSQRbaugSTXzJcSy N7S7YdVuWvyog58gqn14HaHf9D0Jvt+kWB3OPrMTA167jOekaIgmMjuCSIlBwDOOAuNS K+w6mkwquwowWShczXGy9AiVstL3CjbAnlEtcl3RBBNVW1t4P/+aXltEcpnas4lf3vrn rThA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b="Uu/dKJAA"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p23si20370536pgj.379.2019.05.14.04.15.31; Tue, 14 May 2019 04:15:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b="Uu/dKJAA"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726580AbfENLP1 (ORCPT + 30 others); Tue, 14 May 2019 07:15:27 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:38403 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726487AbfENLPY (ORCPT ); Tue, 14 May 2019 07:15:24 -0400 Received: by mail-wr1-f67.google.com with SMTP id v11so906195wru.5 for ; Tue, 14 May 2019 04:15:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=/PmCFTzBJ4fs8y0qiuFVvAwddCVo0DZXmaQNkhQWVB8=; b=Uu/dKJAACTCSPoaMBykcb1jhzR6NQdU5X3M3Iqo8ur2XHFPW9hN41ntSyPszCnBA0i rJNLkKM/PzQkC5t/MqSUZymm3TqU9K8ayGtmHdOjKy45+F81t/gyJXEq0eIipi3icA+b cRht1cA2Bobr7DqX7tGf5iUMyfcKHts+BSX9aAtpYOfsKp/NDOGN+fOEs57ybI00EPtT d84qs1HFbgHgsD1TLONHHimGXVKKh6UA2WsFY5WPmGcrB3T58z3Frq4Rf44AwRtjClV2 OOPHlRvatDrRi8c0oi+7y0x0AzoRPArA98y9QMLNWMMoWlV6EVHJ7IAMuJf9EZqspPFl JJeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=/PmCFTzBJ4fs8y0qiuFVvAwddCVo0DZXmaQNkhQWVB8=; b=rfS21MK3Araf4vkbQl3U02tPMZW4biLsjH+TmYYmfFlwBf9N9jk/OlsfoFeRQweNu0 UytKe57arO7TGTuG6dlpLK7nmWLx+/899TKZuKBEWXchdf6Fx5qSy2gr2u15w2iSPqDm V9mnJp65SLmKjV55VSQkPNVllKiCaT1NiFstMRHaqr7vpvRxFbjiCfXKHXyoPKAfqvXI C/Ic0u4AUM4x8ybc+IZUaIkaqtzMYEp8TyDbZiP2KTUPaPEBXhBw3rXRpYojgJPRfjCJ TBWpsJ54YujJwcWP3VQ+qX0ubY2g8iV/ZqOeCqCJiyx3SD9ANiSAsGJgXjRB5yvxP87Z 25PA== X-Gm-Message-State: APjAAAVPaj5zU6GnQHgnqCFFsojgcw97IPZhhvMGPLzGbB2otFAugebu +DnKoD6ccGSlNml7CWl7Q4aPTA== X-Received: by 2002:a5d:5501:: with SMTP id b1mr2026694wrv.222.1557832522344; Tue, 14 May 2019 04:15:22 -0700 (PDT) Received: from boomer.local (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.googlemail.com with ESMTPSA id c130sm7289922wmf.47.2019.05.14.04.15.21 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 14 May 2019 04:15:21 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman Cc: Jerome Brunet , devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 5/8] arm64: dts: meson: g12a: add spdifouts Date: Tue, 14 May 2019 13:15:07 +0200 Message-Id: <20190514111510.23299-6-jbrunet@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190514111510.23299-1-jbrunet@baylibre.com> References: <20190514111510.23299-1-jbrunet@baylibre.com> MIME-Version: 1.0 X-Patchwork-Bot: notify Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the devices nodes and pinctrl definitions for the spdif outputs of the g12a SoC family Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 60 +++++++++++++++++++++ 1 file changed, 60 insertions(+) -- 2.20.1 diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi index 825e874918c2..fa10d6fbf370 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi @@ -643,6 +643,33 @@ }; }; + spdif_out_h_pins: spdif-out-h { + mux { + groups = "spdif_out_h"; + function = "spdif_out"; + drive-strength-microamp = <500>; + bias-disable; + }; + }; + + spdif_out_a11_pins: spdif-out-a11 { + mux { + groups = "spdif_out_a11"; + function = "spdif_out"; + drive-strength-microamp = <500>; + bias-disable; + }; + }; + + spdif_out_a13_pins: spdif-out-a13 { + mux { + groups = "spdif_out_a13"; + function = "spdif_out"; + drive-strength-microamp = <500>; + bias-disable; + }; + }; + tdm_a_din0_pins: tdm-a-din0 { mux { groups = "tdm_a_din0"; @@ -1306,6 +1333,18 @@ status = "disabled"; }; + spdifout: audio-controller@480 { + compatible = "amlogic,g12a-spdifout", + "amlogic,axg-spdifout"; + reg = <0x0 0x480 0x0 0x50>; + #sound-dai-cells = <0>; + sound-name-prefix = "SPDIFOUT"; + clocks = <&clkc_audio AUD_CLKID_SPDIFOUT>, + <&clkc_audio AUD_CLKID_SPDIFOUT_CLK>; + clock-names = "pclk", "mclk"; + status = "disabled"; + }; + tdmout_a: audio-controller@500 { compatible = "amlogic,g12a-tdmout"; reg = <0x0 0x500 0x0 0x40>; @@ -1347,6 +1386,18 @@ "lrclk", "lrclk_sel"; status = "disabled"; }; + + spdifout_b: audio-controller@680 { + compatible = "amlogic,g12a-spdifout", + "amlogic,axg-spdifout"; + reg = <0x0 0x680 0x0 0x50>; + #sound-dai-cells = <0>; + sound-name-prefix = "SPDIFOUT_B"; + clocks = <&clkc_audio AUD_CLKID_SPDIFOUT_B>, + <&clkc_audio AUD_CLKID_SPDIFOUT_B_CLK>; + clock-names = "pclk", "mclk"; + status = "disabled"; + }; }; usb3_pcie_phy: phy@46000 { @@ -1500,6 +1551,15 @@ }; }; + spdif_ao_out_pins: spdif_ao_out { + mux { + groups = "spdif_ao_out"; + function = "spdif_ao_out"; + drive-strength-microamp = <500>; + bias-disable; + }; + }; + tdm_ao_b_din1_pins: tdm-ao-b-din1 { mux { groups = "tdm_ao_b_din1"; From patchwork Tue May 14 11:15:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 164130 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp2484279ili; Tue, 14 May 2019 04:15:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqxqyb4dbts3gCvJzpzWUM2N86xCtT9TbnBIrfRln05jSq/lPEQq92pRA35G9+WggYl033Zi X-Received: by 2002:a17:902:b782:: with SMTP id e2mr37910460pls.228.1557832539479; Tue, 14 May 2019 04:15:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557832539; cv=none; d=google.com; s=arc-20160816; b=JBYXCb43x/h/rCCmXlsaTOQQEh7ofMNr9stOwBmEvGCD7zMPk0bbtzzW2mwOqC0yn2 7psLe2jBAlFw7i9DIJ0cY1DeYvj4BZREzHusDh6ZtidNQ7BfA7OXHKvZn/NwqTfjBLo9 p2giXKdHiSVA9Oh7IEsTPBTB9E1SfQq59Y5HgWxeZuAjnw8dUtZzIhUal7WTqLl97UQo AV0C74ysb7B4snjQAnrga4iBAZKfPMY50FtGmzhmvUYWHu7Re5dwhitmyzX9E5xkELGa YGvjCJm4WTLI/iMOLHFEGYqJYgS5HxbbqKmw7EmRNlgA122sUg62pTcEAvOjAT+k9cO+ VtQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=gae07lBu9X36c//OvWVMnu82pCf/Je6diEnl+g7t/sk=; b=P1idhawKHaXbfTEISxP0Sq5kTA7yrgN9IoYOwzNA4T2261yzrX6h54JZ5ULdDp9SVC NXz5DlGlLdRtKOahHnvW28H6qI5HEAi6iukz2tGgsi6/tG/uKncTPVpLoegOFLjChgZ4 oYjA1tSGmROZpQM9hGtHUnBVkSd0eb9iKrwqWqq00vWRDJL+EELO1mKZBdByuyC4vRrJ pEtekRr4msHrd7DMcVUqMg0hmGQrJvyOs4TZnVMvxGJPYXGnYGxmpGHcu4W0AIc79FK4 Ooaxp8KxzJe5jUZ9pmGIhMOCmkDjPHYBTtaOUvgin3YtcyFEkSUypxOYJphXZ+vI27XC qB7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b="Lk/FFnVf"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p23si20370536pgj.379.2019.05.14.04.15.35; Tue, 14 May 2019 04:15:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b="Lk/FFnVf"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726646AbfENLPb (ORCPT + 30 others); Tue, 14 May 2019 07:15:31 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:41979 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726515AbfENLPZ (ORCPT ); Tue, 14 May 2019 07:15:25 -0400 Received: by mail-wr1-f67.google.com with SMTP id d12so18706752wrm.8 for ; Tue, 14 May 2019 04:15:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=gae07lBu9X36c//OvWVMnu82pCf/Je6diEnl+g7t/sk=; b=Lk/FFnVf/iGSa2v/X1AaSZFnOjN3FFHkOpkDgYsBPzDGLG5fW199Bg6EHKYpQHbvjG upN08jO7GvIFe2EFL3qDC2RJqy2TdNrtzIXXiv6xy9UFSgM0jxcIRzdvWI2sWGKsqlIx f1FNKOeB8BiZDD13ASg+6nlip0H+I0QRBS3uEKND5i+XYaf1Jvk5Ne2LebHswLDXkVyj 8Go9ZgiXGSDJqUFQEWVrerJtnmdPyaeYOXDmVdM38EKnIq94sL95YDdWFwi/mjZMzv4A YH4CboxUd6ys6wXhor8w5BZchx2mLkGxjbIMSDTvcO+tr1lAszMQFh+mmHz8NZH0K+KL 3ycg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=gae07lBu9X36c//OvWVMnu82pCf/Je6diEnl+g7t/sk=; b=Vo31zwmbTCntpav/kG3XjHdvWcqyUxpo3IXWwr6LznDbWwLJt/x0M2f6+5gobwDd64 CAs/SFM0Fz2Xe3qCOCzuy8XT7pYmtPv4vllsb+UEqICnMxD6LXZaJyGXlSHNo1e+v/gE +F0mTnquO+Sal1A/xnxHIhPfel7NLYWhQXzsT1icYCl8YO+9VBWVkwsW800z2GEYyqhp yHFpw/qiaPTBiCLeOubd99RiLUlyI0yY+9pXISvcfvlcBiOsoCNdqUMhv1c6+RwgPAJR mErjs7itl9NaWzsWF8k3s8+rKRJD/k08t+bmnDo2v/tDu0VaUoKrej4MVenFwRNjOctW VgSg== X-Gm-Message-State: APjAAAUOKWo+YWBsORj8Bg//JuK1B9uEwL9r5Tel0B3b+JYCHZ/MFWDX BMwdquNvuSkoKrxtvuE4EvNLPw== X-Received: by 2002:adf:9221:: with SMTP id 30mr21785833wrj.110.1557832523412; Tue, 14 May 2019 04:15:23 -0700 (PDT) Received: from boomer.local (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.googlemail.com with ESMTPSA id c130sm7289922wmf.47.2019.05.14.04.15.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 14 May 2019 04:15:22 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman Cc: Jerome Brunet , devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 6/8] arm64: dts: meson: g12a: add pdm Date: Tue, 14 May 2019 13:15:08 +0200 Message-Id: <20190514111510.23299-7-jbrunet@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190514111510.23299-1-jbrunet@baylibre.com> References: <20190514111510.23299-1-jbrunet@baylibre.com> MIME-Version: 1.0 X-Patchwork-Bot: notify Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the pdm device node and the pinctrl definition for this capture interface g12a SoC family Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 177 ++++++++++++++++++++ 1 file changed, 177 insertions(+) -- 2.20.1 diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi index fa10d6fbf370..37119564274b 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi @@ -497,6 +497,170 @@ }; }; + pdm_din0_a_pins: pdm_din0_a { + mux { + groups = "pdm_din0_a"; + function = "pdm"; + bias-disable; + }; + }; + + pdm_din0_c_pins: pdm_din0_c { + mux { + groups = "pdm_din0_c"; + function = "pdm"; + bias-disable; + }; + }; + + pdm_din0_x_pins: pdm_din0_x { + mux { + groups = "pdm_din0_x"; + function = "pdm"; + bias-disable; + }; + }; + + pdm_din0_z_pins: pdm_din0_z { + mux { + groups = "pdm_din0_z"; + function = "pdm"; + bias-disable; + }; + }; + + pdm_din1_a_pins: pdm_din1_a { + mux { + groups = "pdm_din1_a"; + function = "pdm"; + bias-disable; + }; + }; + + pdm_din1_c_pins: pdm_din1_c { + mux { + groups = "pdm_din1_c"; + function = "pdm"; + bias-disable; + }; + }; + + pdm_din1_x_pins: pdm_din1_x { + mux { + groups = "pdm_din1_x"; + function = "pdm"; + bias-disable; + }; + }; + + pdm_din1_z_pins: pdm_din1_z { + mux { + groups = "pdm_din1_z"; + function = "pdm"; + bias-disable; + }; + }; + + pdm_din2_a_pins: pdm_din2_a { + mux { + groups = "pdm_din2_a"; + function = "pdm"; + bias-disable; + }; + }; + + pdm_din2_c_pins: pdm_din2_c { + mux { + groups = "pdm_din2_c"; + function = "pdm"; + bias-disable; + }; + }; + + pdm_din2_x_pins: pdm_din2_x { + mux { + groups = "pdm_din2_x"; + function = "pdm"; + bias-disable; + }; + }; + + pdm_din2_z_pins: pdm_din2_z { + mux { + groups = "pdm_din2_z"; + function = "pdm"; + bias-disable; + }; + }; + + pdm_din3_a_pins: pdm_din3_a { + mux { + groups = "pdm_din3_a"; + function = "pdm"; + bias-disable; + }; + }; + + pdm_din3_c_pins: pdm_din3_c { + mux { + groups = "pdm_din3_c"; + function = "pdm"; + bias-disable; + }; + }; + + pdm_din3_x_pins: pdm_din3_x { + mux { + groups = "pdm_din3_x"; + function = "pdm"; + bias-disable; + }; + }; + + pdm_din3_z_pins: pdm_din3_z { + mux { + groups = "pdm_din3_z"; + function = "pdm"; + bias-disable; + }; + }; + + pdm_dclk_a_pins: pdm_dclk_a { + mux { + groups = "pdm_dclk_a"; + function = "pdm"; + bias-disable; + drive-strength-microamp = <500>; + }; + }; + + pdm_dclk_c_pins: pdm_dclk_c { + mux { + groups = "pdm_dclk_c"; + function = "pdm"; + bias-disable; + drive-strength-microamp = <500>; + }; + }; + + pdm_dclk_x_pins: pdm_dclk_x { + mux { + groups = "pdm_dclk_x"; + function = "pdm"; + bias-disable; + drive-strength-microamp = <500>; + }; + }; + + pdm_dclk_z_pins: pdm_dclk_z { + mux { + groups = "pdm_dclk_z"; + function = "pdm"; + bias-disable; + drive-strength-microamp = <500>; + }; + }; + pwm_a_pins: pwm-a { mux { groups = "pwm_a"; @@ -1164,6 +1328,19 @@ }; }; + pdm: audio-controller@40000 { + compatible = "amlogic,g12a-pdm", + "amlogic,axg-pdm"; + reg = <0x0 0x40000 0x0 0x34>; + #sound-dai-cells = <0>; + sound-name-prefix = "PDM"; + clocks = <&clkc_audio AUD_CLKID_PDM>, + <&clkc_audio AUD_CLKID_PDM_DCLK>, + <&clkc_audio AUD_CLKID_PDM_SYSCLK>; + clock-names = "pclk", "dclk", "sysclk"; + status = "disabled"; + }; + audio: bus@42000 { compatible = "simple-bus"; reg = <0x0 0x42000 0x0 0x2000>; From patchwork Tue May 14 11:15:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 164133 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp2484468ili; Tue, 14 May 2019 04:15:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqysciYtia5GOGWEMzykDXpDYX5NXEwRQ1AwEBUaN6On+aqGpwSDFVIns38nz/CpXz3PYqxm X-Received: by 2002:a65:64da:: with SMTP id t26mr37510619pgv.322.1557832552383; Tue, 14 May 2019 04:15:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557832552; cv=none; d=google.com; s=arc-20160816; b=qPCrHs/hYdBYuGuqeZEf8SBKfh0PoxBcmQsD22by56wv2aTy8ltuGO07OaYCKNK2WP YlReGLPZH6Sdq77ljkqHgWeASklIoXk2Jwj2UhJfW565si+jtf/hOvagnnzp/q5Km9Xi BPzFW5tQfRnxC9znVBKaEPmgHdWNxY78pLnu1LAlU91nyzw7Sogx8L/kornfLWBZGpKb OR6FUinXpNjktL5Jr7Gt4nGJPgDCLNs5vP9AAWnqTP0xnL9FOLSxW7BqKiS4R5a7DWCa BXkNdh7iqYDLcqdJX210/vu1fwxwZfwavPNlisvEGCK6i6AplH+sL4OVivYTkaqdx8Os cAqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ZDyT1E6CK5U4vscnJX4HAz7PFMKaDLqJqgBaxE3cbqk=; b=WW/o/HsIQsHQpwYBH7xc0+qztVQLRQAm6hWkYQJQy8lEX/CkvalF2Wpc0DTH4VPzMe XzG3ZSfVHUMzZ8QBbNm/dwvf+oSKHbr2Y4CiBorlJosBWkFJWBZWAHZo5c02PWw8PXPQ 0peH+1FfO6JxI8+p29QnTrZKe/lScolC/ZnKEmmOt/VHVLKgrxFqakKM49/VFtdoC/Kn QrIuqRWCoRlWszmSkR12b9CQqu8rlIMFrDH7d5TBpU6sbIzXsMHbHm7t4wQ+wnB2O2Np j7FCpdNFe3HYETye55/87KqnSN7O3VpvIuZH+LcldBGeeKCXzp7gdnUjaYSEC+/Hxj8f X4gw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=zjwI0Sg5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p23si20370536pgj.379.2019.05.14.04.15.48; Tue, 14 May 2019 04:15:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=zjwI0Sg5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726705AbfENLPq (ORCPT + 30 others); Tue, 14 May 2019 07:15:46 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:44486 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726525AbfENLP0 (ORCPT ); Tue, 14 May 2019 07:15:26 -0400 Received: by mail-wr1-f66.google.com with SMTP id c5so18702246wrs.11 for ; Tue, 14 May 2019 04:15:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ZDyT1E6CK5U4vscnJX4HAz7PFMKaDLqJqgBaxE3cbqk=; b=zjwI0Sg5tIHprAsQ1cIZ2uDaKlCkoG6ktG8MUAeZCqwXjYDXJAPOMv5ehGnvyKxuNc LjMM1e9wKtQgSnzv/kNtJuq6V2PCcdyWpaEt09g9oQBgUlCFiTwhQmCghlr36WQUJBMF Xh5lTmGhee6uRp7CnshIKh0BpHLAGzQIB11Umm1D7gqHO8xIEYbU0wd4XSwCFu8LYj8Y 1cOMpvgNm8bUtnJ59B40ZjuiLQvQkjUSqWTk4UhRcRjSwbPIzDTqKqKmJrDv4psp+YA7 cduvZ1LxkcI17YIw+6i9pKXvaF3PNBx3Ra+5Dpp4ms4mK0Ds8tMzjixToxkuKxPlvhF0 SY/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ZDyT1E6CK5U4vscnJX4HAz7PFMKaDLqJqgBaxE3cbqk=; b=oaIPx9h1zotdtQ4i/n+PVnvsFqVr75vrwOiHUX9bhxbrkFEY05aWK5uoWhj2ZYRE+M IxyQ3adsv5Y44+1mIQo2tIyu6/zmSTtP9GxwxuTPB6QP5NDSQRVqiclR+XkPmWMQWHxh VXrO378OOURLFwW7noGVKLRLyX3eIPfxCUFkpl/PMS4e9iPs6KO9//FnQGxKj/yGQQNd ZK5td2fjipm62lUXFAJU3mFWBR9ShDmCpjVUt6soNfBl75rh1EEwTTfZkP5YNGKWOTy9 MfkFsQV4dOOwsVxAnNqYJfurf45rTjuOp0esKvwCxCVOliuPgB8vpK5w/6z9RzwPBRlN iwyA== X-Gm-Message-State: APjAAAWpTCldkseEp59mVHOfjedrHATJr9PxOov/h/Mma9uNrEnmAE3K THeFgw3TtbFzlEQaQ5VIhs+JGQ== X-Received: by 2002:adf:dbce:: with SMTP id e14mr20830144wrj.249.1557832524299; Tue, 14 May 2019 04:15:24 -0700 (PDT) Received: from boomer.local (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.googlemail.com with ESMTPSA id c130sm7289922wmf.47.2019.05.14.04.15.23 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 14 May 2019 04:15:23 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman Cc: Jerome Brunet , devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 7/8] arm64: dts: meson: g12a: add spdifin Date: Tue, 14 May 2019 13:15:09 +0200 Message-Id: <20190514111510.23299-8-jbrunet@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190514111510.23299-1-jbrunet@baylibre.com> References: <20190514111510.23299-1-jbrunet@baylibre.com> MIME-Version: 1.0 X-Patchwork-Bot: notify Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the spdif input device node and the pinctrl definition for this capture interface g12a SoC family Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 37 +++++++++++++++++++++ 1 file changed, 37 insertions(+) -- 2.20.1 diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi index 37119564274b..d4fc645f0ff3 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi @@ -807,6 +807,30 @@ }; }; + spdif_in_a10_pins: spdif-in-a10 { + mux { + groups = "spdif_in_a10"; + function = "spdif_in"; + bias-disable; + }; + }; + + spdif_in_a12_pins: spdif-in-a12 { + mux { + groups = "spdif_in_a12"; + function = "spdif_in"; + bias-disable; + }; + }; + + spdif_in_h_pins: spdif-in-h { + mux { + groups = "spdif_in_h"; + function = "spdif_in"; + bias-disable; + }; + }; + spdif_out_h_pins: spdif-out-h { mux { groups = "spdif_out_h"; @@ -1510,6 +1534,19 @@ status = "disabled"; }; + spdifin: audio-controller@400 { + compatible = "amlogic,g12a-spdifin", + "amlogic,axg-spdifin"; + reg = <0x0 0x400 0x0 0x30>; + #sound-dai-cells = <0>; + sound-name-prefix = "SPDIFIN"; + interrupts = ; + clocks = <&clkc_audio AUD_CLKID_SPDIFIN>, + <&clkc_audio AUD_CLKID_SPDIFIN_CLK>; + clock-names = "pclk", "refclk"; + status = "disabled"; + }; + spdifout: audio-controller@480 { compatible = "amlogic,g12a-spdifout", "amlogic,axg-spdifout"; From patchwork Tue May 14 11:15:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 164131 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp2484345ili; Tue, 14 May 2019 04:15:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqzMLZ3eqEgAojNUXOiv4cOl/L5pMK4FCdjgMHo8k1wnnbAx1Zz3gJgLCoZUpL6PoxqhTN/A X-Received: by 2002:a62:b517:: with SMTP id y23mr34671584pfe.182.1557832543399; Tue, 14 May 2019 04:15:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557832543; cv=none; d=google.com; s=arc-20160816; b=sb8RNjze5fimeXPizW+lLCSwZsjNGtiEpbaQSQg2RFtmKgt6TEei7O1NiZ5ZWrn+Pf cSOwkYRkw+SJPJZPo5s3uyRfwEj3a5HxvWjdoO4Y/+BCJPICihEg03QDgRXU5emXbXBU 9e6gi2f/dU9h2EdF0OhDOuBSCqboTYoxH2ZaaFBKySf0Jv3QKYa+Uy3u+Yly2nQVPQ4v t94wYK+ESOl/JQG3WlHYXx4YbkHRu2MfUuHP68kN1cf4R30cTkA/ffBVRuEKgK2a8p9b 7PF6OFoNPHaeCNGQ0OEXcfBtheHohgAiGGBwSieTdY6lT+eGDy7Hv2b5PvgrQLoNanQQ SZmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=mU8ejWHy+W5AYtnGGvQAFcqui30OeOfdUF4Rimt6ejQ=; b=N7nC97d/67EsKbf2GVOpcl908WeK0DOGfNlXj+UXn3PP1jLb088+2t0zPzRJMJM9WA VFWGNXKk2u23wNeGFABN+euL9zR8y0oPyHKAFSbike8tBoRpN70kvDT97RRm5DXArqNX 7wHwNeiDVk/Z/N6+C8LXNtMTWbWHpU/U47H2QDFIeFNEgAA0ipvnGSPUrPguMwaMWbCc PpT4GmtXxw4p7lJSqfGg7SukwIZxjj/jFdCUlH95BTEZPV9g3s0aePEEsSl+c0qOSZBU aRxumszvtHkw3v3Stf8YqMxAE02wkPgvtUQc1fIhZ7R7FNyyBDsfJboyLx+A1rMedvIL 8Qww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b="GrLWanG/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p23si20370536pgj.379.2019.05.14.04.15.39; Tue, 14 May 2019 04:15:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b="GrLWanG/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726666AbfENLPe (ORCPT + 30 others); Tue, 14 May 2019 07:15:34 -0400 Received: from mail-wm1-f66.google.com ([209.85.128.66]:52519 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726541AbfENLP1 (ORCPT ); Tue, 14 May 2019 07:15:27 -0400 Received: by mail-wm1-f66.google.com with SMTP id y3so2439482wmm.2 for ; Tue, 14 May 2019 04:15:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=mU8ejWHy+W5AYtnGGvQAFcqui30OeOfdUF4Rimt6ejQ=; b=GrLWanG/uCTvdYXVZJknxkFiKNgW/j9vvGBCnZGnRIy98x3TPbc4wVRPJuIeVgLREw PuB3uuz4WOf9LdlFEzX3WgQCRXsSHSbzv+h8Ea1deY/yxdKU/ROlZC8tKyGzyY8P3izB 3PrCDuiyANEuLQp3sMZJIrkbrZ5mLdC50mMIzJPmO26/J4Os8bTM0fCA2LDSzmPoUFnD Yc+gmZZSdbF56ClMM4PXms+Xrm4bAOzI8FxWkaaiyle10F6PyA+fNpLX1jateVkv+Hnn J1jDQV0h333B2KJhRCT7TJALRYXLwDmVwmQWFSkrgE2DUzQ1G091G0Me928VC1ADZxD3 vaiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=mU8ejWHy+W5AYtnGGvQAFcqui30OeOfdUF4Rimt6ejQ=; b=JXqpRj9Ew82J3pOM4MVCwdTLSEC3Gvljlty/Htc0dCHtyA41XMK6ZBxkbct8fq+OoP LbxbSz7Nq54cm799wb21LEG8OBpPJCPBy5Rnu9c5iOSwsUqtXqAq/eJgu9ctwx+wctrW sTfyUOLlnkzZtkL7v2fJ4rQRsizA1tHHpq2BpouVvxrSXbX0JMnS8RgYgbpby90lSg7X s5o12N4Pn4IY/FTul++izoShgeEGM0EsEO7bbR22q5bhEDglxaeoCWqMIkJ8H5Rj0ISh jouYjDQxiIgPsr/J1sY8HerIYVde1N2U3OJPZ2a1Eu+cone+gpYrEJ8Lk1zrFAGhNd0N mqHg== X-Gm-Message-State: APjAAAWEeLenjpE5z45O4G0941Cq1RUpSKkPIxorvCmgg3Y7LCWfgDRz e/kRG1l6LfN8cYwebvcaqCzETg== X-Received: by 2002:a1c:7dd6:: with SMTP id y205mr15308582wmc.90.1557832525211; Tue, 14 May 2019 04:15:25 -0700 (PDT) Received: from boomer.local (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.googlemail.com with ESMTPSA id c130sm7289922wmf.47.2019.05.14.04.15.24 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 14 May 2019 04:15:24 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman Cc: Jerome Brunet , devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 8/8] arm64: dts: meson: g12a: enable hdmi_tx sound dai provider Date: Tue, 14 May 2019 13:15:10 +0200 Message-Id: <20190514111510.23299-9-jbrunet@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190514111510.23299-1-jbrunet@baylibre.com> References: <20190514111510.23299-1-jbrunet@baylibre.com> MIME-Version: 1.0 X-Patchwork-Bot: notify Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org At the moment the sysnopsys hdmi i2s driver provides a single playback DAI. Add the corresponding sound-dai-cell to the hdmi device node. Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 1 + 1 file changed, 1 insertion(+) -- 2.20.1 diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi index d4fc645f0ff3..5c8c93ff4816 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi @@ -158,6 +158,7 @@ clock-names = "isfr", "iahb", "venci"; #address-cells = <1>; #size-cells = <0>; + #sound-dai-cells = <0>; status = "disabled"; /* VPU VENC Input */