From patchwork Tue May 14 14:26:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 164210 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp2694257ili; Tue, 14 May 2019 07:27:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqzMLGl8nkT9rEiXta7/sIUTMAoBVhdBeTkRAIyT//8GgxTVrJrdELdZSS1V9tmoB13PVIsh X-Received: by 2002:a62:128a:: with SMTP id 10mr40172794pfs.225.1557844030959; Tue, 14 May 2019 07:27:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557844030; cv=none; d=google.com; s=arc-20160816; b=lairaTsDJtrTaSTMxV5BY+x00fd8Jc/57xAlUeRRuK5Nnlv7hdghqAgmAl5j3Tvs0/ GPiXyCRWEFpXcxiEMdyTb1gzyk48u8zclGoEL+jrtwoHk+AiWp55BI9PqnoqcCdWx2aD +ahp1CSHukYwV+M8NJbpK6InXKcHPlEZKwHgzny78jC8jCJMEAk1/eNoCUNQXsSqAaRR 2qceBeXRupPXSqjcfuvlLKZD4k2HyONqLEaW2xkwb8MfUUqhKkKycGFcHbJxcIT5+0TH hAd8uT2x68FLAjBtxOLmE3esCfm32IYpHPe5NT/+Hfc8w6dB6kO7u+0B07zAQYiFvFcU tRdw== 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=RVVyuMvOECdnykHOg06JMYBC0CP3Jj/vLDrIXkB+hBI=; b=D1tB6XTelQK5pZ3VBwuJoccA+CXhbWsNR1hhXaqzNmkrJZBAatU0/ccer9Cjm26EKH rEVCcHKsJfy/E7zqp+DRzUZy/Hw1UI1JBIbBHv+/16rQi3Qm/LxAFyHY/19oclTsI1Kh LcYG769LfPWL0GctIowcD3Io+wcsbTawfbgDsJ30L7cTivotIbb2VVgwDaRucE3Ewhng fuqtqEO8DPAxO0DwdtBAUZkI5saGt+ibi1FWaUTL/wTQazsXpUYNwaXmMRniM5J5Dnr3 jLBkBPKi3PMEcCPn/59+Ln3YyHw6vkl4n0Th3D6jYJKe3hhEVJlFXOFnevjDlO5RCh81 hd/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=jEs81h1a; 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 w13si22179021pge.212.2019.05.14.07.27.10; Tue, 14 May 2019 07:27:10 -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=jEs81h1a; 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 S1726501AbfENO1J (ORCPT + 30 others); Tue, 14 May 2019 10:27:09 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:55691 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726394AbfENO1F (ORCPT ); Tue, 14 May 2019 10:27:05 -0400 Received: by mail-wm1-f67.google.com with SMTP id x64so3099632wmb.5 for ; Tue, 14 May 2019 07:27:03 -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=RVVyuMvOECdnykHOg06JMYBC0CP3Jj/vLDrIXkB+hBI=; b=jEs81h1ajv0Mq+rqCs5b30885SiDPdTBh3OyhKqv8gKw5qS8VuT6tBfJsEjItE8bdk VkeovzQsr+gFHJnI/NTPM2nkLtnTzRqm/QB8by757kG1YvJXF4trV1rBPldpQ6UcVbCz n/WI4tdrqWa4VWBwiMIA5hBUZcHXe9K50/XpMDTZGsWhOLxR75d5QQ3vj7FjepEnCzFy /DLfdwRT+MXvOGDmeqpDGwrPCqezrTuXJ9n4KYV6nqCs7b7VGcA/6fhX0keVsO3Ie7jf 8JUFIX6riORBclj/D6TTo+HIQymhklyLbTHzJF/411jb/AolIDp/mLqYQ2clGfZstw+8 P23A== 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=RVVyuMvOECdnykHOg06JMYBC0CP3Jj/vLDrIXkB+hBI=; b=Vb5e6ZqNILYQkfG9ZkFlgoppIqSkmmX/5KxvHoaTKjr8KLqLynXexsiZFBO4lFAJ7b SMazNxF8ynwS2ylBhw9BBO/PHBb/0G8GvsKmmtsQ5PH8CK8LALGkaOUFmJmV/J4f4lju KYYWrU2ZI8YuyTYLJbFphi3rtGlpqUc+DC8tUIi2eA7KdNmVfrBBdvTmUFzRK3igfNHF B9G9FHEdeU9NSfSVaCzW8nsYiSLGhYarWw8c/Tlr4EtamTLzpublh8stVs0n/GSslfpE xS+QXa7ocyDo9rg8n6Y10NSsYCDbb0q8TqwovKlbfUSL48gLT11MBDFwEDq3Oo4kWY6T uKBw== X-Gm-Message-State: APjAAAVD85nE+J+iZiIl3Qv7Bxw50HomoUX36dW9RnDFYQ+JJGpSkJBL b8t0eDeMAUy4oJ+iumA5zRRXuw== X-Received: by 2002:a1c:4145:: with SMTP id o66mr20386116wma.68.1557844022765; Tue, 14 May 2019 07:27:02 -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 h15sm12343642wru.52.2019.05.14.07.27.01 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 14 May 2019 07:27:02 -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 v2 7/8] arm64: dts: meson: g12a: add spdifin Date: Tue, 14 May 2019 16:26:48 +0200 Message-Id: <20190514142649.1127-8-jbrunet@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190514142649.1127-1-jbrunet@baylibre.com> References: <20190514142649.1127-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 8dbdcbea5945..d6c6408281e9 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"; @@ -1516,6 +1540,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";