From patchwork Thu Dec 13 14:36:31 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 153652 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp876795ljp; Thu, 13 Dec 2018 06:36:49 -0800 (PST) X-Google-Smtp-Source: AFSGD/WtJG3UKaMWAyK8ZjhnsGXG9OdAYf+SsGOEsrEhxceHtPmn/A6Bi+1BK2LFqaf+joJLXKqt X-Received: by 2002:a62:f907:: with SMTP id o7mr23842722pfh.244.1544711809052; Thu, 13 Dec 2018 06:36:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544711809; cv=none; d=google.com; s=arc-20160816; b=bjs4ikleoHhzFDfEnko8bq3ufx1+Ay6kdyEhg5tapi6NEQF4yBPDaW5b02bHbh86w0 l+eFxsLC9ob03Le45mOTE4sXjrAGDeL/dzB4MElB2pawxllTmUiJtN6790LPHwjzSTKW s8cYiTWUjYsxQ/ggVHzqRNPSxVhZ+yNvBFkSrdXuL4WbQgX6cW6RKKP74CEOxtdiOXJS iii84OGG+yVjy7zsBBynqX72Wfu1ynU+Xy1Isso3yqhqMjAMRgfjTqDVP1G9n+7OANjj OORTdwzWpbKCJCK/WdihRS90ZHvLDUllivsEXu2tblIoPUV2bAnr7ThhW7jTRDBj6IcR WQUQ== 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=7K7iELG0a2tVDLk15ROsV+hZvPYF3VLaoJgK29DOxho=; b=d+DssgnKSi3/WPMv3iKTozmnhzYe3iN1HFUfRrLbg2MILKf/8Cst8koG7PYU2Lun44 Xel9r5zR5medxuAZ3f6acR0erDCUdwnZ58uITzFZbjeGzbgfEZZEK5J0cqW92TQIcrpY 0vF4JDi8wweBN0vK5w0qkVBDh3IxZ1OEBdL2IIZ3BiIsTGjYKYfJzCSJGiEHd9Xgw7p+ e6bc2L1pCuVX9cAVZsQ+e5iNhL3jZAa5nVAOJucOE52B4X9XJzh3rqWHxOCkBQrpy6iD cxMOclAS+Vn90gSUZxy7GDscdhsodgALaAp7mMvTPrdW0r/RdDE/PesLnPoYfrnz5vzS U0Zg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=ilGaf19N; 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 q24si1642569pgi.334.2018.12.13.06.36.48; Thu, 13 Dec 2018 06:36:49 -0800 (PST) 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=ilGaf19N; 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 S1729131AbeLMOgq (ORCPT + 31 others); Thu, 13 Dec 2018 09:36:46 -0500 Received: from mail-wm1-f66.google.com ([209.85.128.66]:53999 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729063AbeLMOgp (ORCPT ); Thu, 13 Dec 2018 09:36:45 -0500 Received: by mail-wm1-f66.google.com with SMTP id y1so2574831wmi.3 for ; Thu, 13 Dec 2018 06:36:44 -0800 (PST) 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=7K7iELG0a2tVDLk15ROsV+hZvPYF3VLaoJgK29DOxho=; b=ilGaf19Nu7tlQLV4OQA7w1uDuHvZimVvkJ/t3sxGQBQCSucMAJnGFWy1ED33ex2rKv n5yoti8eezGiuxKZMnxUkdiGhrVrLzopRcm63zTeo+K0xXmIauE2Gch+lFBw3bOcZYD4 1+RcfBjwUgaN/TwaOP9tUl2dlC/OlLokE43BmkM9TzeSs1HijJJSIaiKFc0bUrb8Q+Gt l1DyD9RMYM0nMvP8TraspvrBgWobCuOl+kHwsC8BwkVO1W0Kpl5twfTWJVI2ltji7mKc 2ws+HZlCNSqVe5SN/CLBXIjqkQQRwY4DEqYsBrX2PDiiCjAThMdDIaN71PKYBpvdRoiW StrQ== 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=7K7iELG0a2tVDLk15ROsV+hZvPYF3VLaoJgK29DOxho=; b=rLTUYNfehqm7sHNE48zMI2LaDyo6/zj4lBmhyrnUZ4YtLLZ0X4f022OQw2+4irxplL SCUyPajVHBTK7eQsQwe6bUGKvwKvV5MekpaKXEbVQMxj3BNuo6c2zoR5Pp9CyK4oq5OK mr+93kMVovImDBXEs+T20jmzzOzty1iqz2sCGSNVB0W6P4H1XrC1vjIyLN/LHDlTL2Si OmLmnp/YFME9rfnlWRkt2JDzkFF84xMPZCDPZnlSuhDkH97dceMXTALtoXViTzWGoVda v0b1ZnNQoosqwHU0S8tC/5E/yWeL9c9zxMiuZl6jGn9+c6CYa7r4fpoLI8IfrGSw08RV jfgw== X-Gm-Message-State: AA+aEWbhfbCrsdu+iUsfTn+jyii4aWDocsHPfbcSBAwdsch5r4pLttwO oo7KjS1nUOR7FN0xUlr9KszeGw== X-Received: by 2002:a1c:848c:: with SMTP id g134mr9782244wmd.93.1544711804076; Thu, 13 Dec 2018 06:36:44 -0800 (PST) Received: from boomer.local ([2a01:e34:eeb6:4690:106b:bae3:31ed:7561]) by smtp.googlemail.com with ESMTPSA id e12sm4929930wmf.22.2018.12.13.06.36.42 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 13 Dec 2018 06:36:43 -0800 (PST) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Cc: Jerome Brunet , devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/3] arm64: dts: meson-axg: s400: add spdifin to the sound card Date: Thu, 13 Dec 2018 15:36:31 +0100 Message-Id: <20181213143631.19218-4-jbrunet@baylibre.com> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181213143631.19218-1-jbrunet@baylibre.com> References: <20181213143631.19218-1-jbrunet@baylibre.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Enable spdif input device on the S400 and add it to the card Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) -- 2.19.2 diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts index 2f622a0b599a..c8b531ce5c63 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts +++ b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts @@ -256,6 +256,9 @@ "TODDR_A IN 2", "TDMIN_C OUT", "TODDR_B IN 2", "TDMIN_C OUT", "TODDR_C IN 2", "TDMIN_C OUT", + "TODDR_A IN 3", "SPDIFIN Capture", + "TODDR_B IN 3", "SPDIFIN Capture", + "TODDR_C IN 3", "SPDIFIN Capture", "TODDR_A IN 4", "PDM Capture", "TODDR_B IN 4", "PDM Capture", "TODDR_C IN 4", "PDM Capture", @@ -333,6 +336,14 @@ }; dai-link-8 { + sound-dai = <&spdifin>; + + codec { + sound-dai = <&spdif_dir>; + }; + }; + + dai-link-9 { sound-dai = <&pdm>; codec { @@ -489,6 +500,12 @@ vqmmc-supply = <&vddio_boot>; }; +&spdifin { + pinctrl-0 = <&spdif_in_a19_pins>; + pinctrl-names = "default"; + status = "okay"; +}; + &spdifout { pinctrl-0 = <&spdif_out_a20_pins>; pinctrl-names = "default";