From patchwork Tue Jul 24 12:52:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 142790 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp7232785ljj; Tue, 24 Jul 2018 05:52:57 -0700 (PDT) X-Google-Smtp-Source: AAOMgpepJuT69Oj2pDuvuSrjBCxrcLtRyM977ngDqY6xjDr75VkQY2KwvnG7hhAzrmCalwYcbriJ X-Received: by 2002:a65:6411:: with SMTP id a17-v6mr16000573pgv.287.1532436777808; Tue, 24 Jul 2018 05:52:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532436777; cv=none; d=google.com; s=arc-20160816; b=QElcjhhHqXw9qAU83hp+C4KH57dyHHru8eMzHWxrq9eDX1RIx/7F/jy32RrzgVDwDD U2WdlyItvQ4EwVZOO9gFOnpRZptOXS1odR+BjNljPJNIonOQxWRXbgQyajv3XLCFURNN s5oIDEq1qucoTDkhZNlDQz9c9DnjKqnRluVn6u2gWxwXQVQAfAD7684PAIYNjjCNrCiv VqOkJTaFFBgYj4FGTE+V7Nv+iMHB7nEFmzvC9C87wZ75dGiFYOlWj6pblG5fJxaIHRte 4aesKEJIJaTEv1lztGcuyhgxnavY4ZioWxefufS4hYMMiNxUesMRWGXtyZOTDTLtvinO Qe1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=2GREtcfme2in64QICT7lyVEuNv1cb4paYqlUc4XsvUk=; b=CcRgZLFUyewtN4ZYmKx64ybjZ751wRDJqpb/COFzSD2adrB7WgnMvmmXQ3qoFHrAos mfbu5ISVKyXBVpu2Ok/htI02fFjKbRbLxwpe4qAicuubjPxjajp3LLktP2RkC8heQf/h Mza0cGppiGvo7CIZoGBch4H4HZM8LQAUXOIWjw7avMkv3DOjmzdcbMHcHb7C472sasqk gfIrX7L55UgORaNXAcgaXydFcVyOFANtaEXwj6ylBQQJpNseX/0La3p5foa2MIFhR5Di wdtJK5iB1GKwtTOmlHk7O6VCHxPPydRHqca2GiblyFmtCvyFz6DTD8uFqcQUEPziZ4yq tvZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=YZmhHUkQ; 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 t67-v6si10198310pfd.364.2018.07.24.05.52.57; Tue, 24 Jul 2018 05:52:57 -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=YZmhHUkQ; 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 S2388462AbeGXN7P (ORCPT + 31 others); Tue, 24 Jul 2018 09:59:15 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:38299 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728259AbeGXN7O (ORCPT ); Tue, 24 Jul 2018 09:59:14 -0400 Received: by mail-wm0-f66.google.com with SMTP id t25-v6so2420387wmi.3 for ; Tue, 24 Jul 2018 05:52:53 -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; bh=2GREtcfme2in64QICT7lyVEuNv1cb4paYqlUc4XsvUk=; b=YZmhHUkQs+PtGNscEDMR3Bupa4hev6beagx4ss3sJ22ekDsoUCOj3rlEQycXZUftOJ UIr7zsD+stt5ZADVtbjS3aJ55RQpM+R/YsP8y2SmiInfNOk5IOhAW2HCt7nw8lkDTtff KBDZP9FlyQcd5Pu41PqdEiT48cNF/WlNCqCZ3//gWWyD4zU6GtYcB79k/enZDZXYnC8p +Y/JAnfGpasDbY8RWMuqHVy5kbTFxFYAhnmtLH4PS3wvPgYp8+yS1CtkgpSXUr3lW4Ow 3g6OvxFmpV1V6W4l/wCt1ZB4CwcH99VPdQ5wk6hBw2PAMxl4anWwHyvQfwZ2oLOO558U SvJQ== 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; bh=2GREtcfme2in64QICT7lyVEuNv1cb4paYqlUc4XsvUk=; b=cVrH1CIK7G8S+iIpXVQp0Ir4BB9Vs68Ppvn8XxGKOrpZ+rDPiS2qikygn6Lw/al+w2 wT/QhZHgqgAmM0Qkip9okSFMwS6i2aaGoQw9NwvAJbnaF10cio4wIbd4homEeI5CkLWG zACRzQkfEkI2nbCZYOfosyR9fMcAxBkxVZsIFEycNksMCMfUJEUwqgceE6NmBXKulFal IaQwMcjD7UbYCrWKFaJ8mCF7ogJYQ9B/cUs38uKdhILAR6zMBLPEdpneqFioB+eTTKUL Pi1mMRgvo57HCevfQkBFeeB4ahKUATuWB69U4gZtGXzbCXaeI8M3wQqE3zxYmUxxvGuA sbAA== X-Gm-Message-State: AOUpUlG+H4cxx71pC5/3GTyoVVaugvmPFG3T8+G7nq1jYSt0nybQFvyz irRtMX8/7qjrBeFzSP0Ytwxwqg== X-Received: by 2002:a1c:c44a:: with SMTP id u71-v6mr1879789wmf.43.1532436772712; Tue, 24 Jul 2018 05:52:52 -0700 (PDT) Received: from boomer.lan (cag06-3-82-243-161-21.fbx.proxad.net. [82.243.161.21]) by smtp.googlemail.com with ESMTPSA id e7-v6sm20834235wrm.14.2018.07.24.05.52.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 24 Jul 2018 05:52:52 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Cc: Jerome Brunet , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 02/14] arm64: dts: meson-axg: add vcc 5v regulator on the s400 Date: Tue, 24 Jul 2018 14:52:26 +0200 Message-Id: <20180724125238.14567-3-jbrunet@baylibre.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180724125238.14567-1-jbrunet@baylibre.com> References: <20180724125238.14567-1-jbrunet@baylibre.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This regulator is controlled by a GPIO and supplies various devices on the board, such as the lineout codec, the usb supply or the lcd controller. Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 11 +++++++++++ 1 file changed, 11 insertions(+) -- 2.17.1 diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts index 09c7909a78ea..5937d8c3a6ed 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts +++ b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts @@ -104,6 +104,17 @@ regulator-always-on; }; + vcc_5v: regulator-vcc_5v { + compatible = "regulator-fixed"; + regulator-name = "VCC5V"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + vin-supply = <&main_12v>; + + gpio = <&gpio_ao GPIOAO_13 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + emmc_pwrseq: emmc-pwrseq { compatible = "mmc-pwrseq-emmc"; reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>; From patchwork Tue Jul 24 12:52:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 142791 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp7232831ljj; Tue, 24 Jul 2018 05:53:00 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdQtiETB/fxImFgig6MX6QuxDxd8BxVBCvouyI3S/FSqq9mM8OQDbShHfGAiFjmmNDD1VIJ X-Received: by 2002:a65:6688:: with SMTP id b8-v6mr16508213pgw.24.1532436780014; Tue, 24 Jul 2018 05:53:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532436780; cv=none; d=google.com; s=arc-20160816; b=CgleWHDt6PriPwJ/GYZudCmyg7trVY4/lTbrv3hjwbPbWoAlSxtrhIvIitoGM6sm6r 3g3d6bSu0+klBRICt5ia3HPNosBt4G3WGp2+meJH/dpbx08b1t+m+guA5T1ezveQoLc4 utDZtQE2qur6TirUC6sq8g1n5L90KsXTNKMPXfW1SNe13SHp8FCcPnuz83wOVOjVwQVT 6J/GkPQTeHPcTyL9n1phy5k5ny3aKZhJJaTrvz/lAj6Qx/PI2Jbu5pIIA6pR2lDS/4Us wSo22HR+j895adNQdxlXMVYf9DktHEVbfVtklScnOA+zX1a8PLUrTRbWSbvHMsn+S1Cv ZKCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=JF4KYbfyyrHF4hNmFCqjiaDZt8KzLJb+8PFQp5qxrj8=; b=bztwvch5MNN1YVc52QHpDNtk9KZtMzIlbCl7k4pFazIx93NQ9ZdP0x/p0GTn+cafPe CY+vU7oDd8WR7AkoOYFIxJBAYA1VNagxs408Y+KrhJ+E7el8/PoVUAnVciIBB+/hLBjt xhjrT/hiY+ZNGiNG8T+2FBDyjT70BjQ9HnelyRWnMvwbTkV5ygNmH6PCWq5faUabuaSV Pqu+JIAVwspQO8oQipD2MjpjITy3IQXsDom+l16YLB9cj4t8ozpSs37W21QLgMyyMBSM YEwBx45m2M41s9XRPWKaevd5orlFmrkfHuBc2C38icqjcvwABI5rumyE1tb0DBiQ8TOu YXPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=gy5fFWpq; 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 1-v6si10695366plt.342.2018.07.24.05.52.59; Tue, 24 Jul 2018 05:53:00 -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=gy5fFWpq; 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 S2388520AbeGXN7S (ORCPT + 31 others); Tue, 24 Jul 2018 09:59:18 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:45094 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728264AbeGXN7Q (ORCPT ); Tue, 24 Jul 2018 09:59:16 -0400 Received: by mail-wr1-f66.google.com with SMTP id t13-v6so4013247wrv.12 for ; Tue, 24 Jul 2018 05:52:54 -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; bh=JF4KYbfyyrHF4hNmFCqjiaDZt8KzLJb+8PFQp5qxrj8=; b=gy5fFWpqsJdyckhkfN5bsvi13woRtOzcz0o5HyJJX/Tfo3eBHgyH3eyIUw/4VsQbtu h4tSwrtXxgmzTvAvcnEJ6sUrZQla066GdYzOP9UfMJxGv5pH1wtIhN0PCpaWXBeqQi2/ Ec5EbbuwAFttvLrk9/V8pVzyyAVdMj+dYn5Pu8Y39ffx/3zpHN+zZ0uebb4j4nPR6MzL 2z0OsNUKVMWzlBOwjuVc4fk0FqVFXmYuOPog1lUJdhj5fZpveZIu6NqwDPEJmkMHZoXI OCONQ/rxM63LKl2JLbUj8f6NpGfJg29PATff2AL01ieqiy4xzYNwobVOFFprPsIsON22 97YA== 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; bh=JF4KYbfyyrHF4hNmFCqjiaDZt8KzLJb+8PFQp5qxrj8=; b=bU35Wz3wBp8hpwRGUPtGPODFF1/v13QU/pW+qJeTwNPdBohHfGWYduqJBuVkwoVu1L MHRB/ABda6Bsml4XZ3gT8e2oE0TlmqRC99FmBPSsZcUd/F2D4Nlj5BtfLWPXEHXKdvag tdpuG4uoIXkBvO5CyLku9cES/KHRbmSDG9k5vVHljsm2AvmdGi5BG2mPizEYftgrJxmn XtxdYbdi4riVF+haplkWqUlRB3P1jO94qMgfv23H7vTTKaXh6ay+8zQ/3Pz0COkN1fxd ItBlsHaTIFbP4a2fmob8LrI/36G6KMHtZWC7zx9nopwOfOedZD3U8Z4j/P1D5d2Rsztc HAMw== X-Gm-Message-State: AOUpUlEbjF47q4mFfJoUOMy8nIKL8jGd1IVE0MkRaZpNqli1XQ3O/DI+ MowFMLijCLxXJtb3QPrcEbXFBg== X-Received: by 2002:adf:f390:: with SMTP id m16-v6mr11167785wro.279.1532436773840; Tue, 24 Jul 2018 05:52:53 -0700 (PDT) Received: from boomer.lan (cag06-3-82-243-161-21.fbx.proxad.net. [82.243.161.21]) by smtp.googlemail.com with ESMTPSA id e7-v6sm20834235wrm.14.2018.07.24.05.52.52 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 24 Jul 2018 05:52:53 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Cc: Jerome Brunet , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 03/14] arm64: dts: meson-axg: add usb power regulator Date: Tue, 24 Jul 2018 14:52:27 +0200 Message-Id: <20180724125238.14567-4-jbrunet@baylibre.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180724125238.14567-1-jbrunet@baylibre.com> References: <20180724125238.14567-1-jbrunet@baylibre.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The usb power regulator is supplied by the vcc 5v regulator and controlled by a GPIO. This will be needed to enable usb. Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 11 +++++++++++ 1 file changed, 11 insertions(+) -- 2.17.1 diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts index 5937d8c3a6ed..7489b88f27d7 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts +++ b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts @@ -115,6 +115,17 @@ enable-active-high; }; + usb_pwr: regulator-usb_pwr { + compatible = "regulator-fixed"; + regulator-name = "USB_PWR"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + vin-supply = <&vcc_5v>; + + gpio = <&gpio_ao GPIOAO_5 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + emmc_pwrseq: emmc-pwrseq { compatible = "mmc-pwrseq-emmc"; reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>; From patchwork Tue Jul 24 12:52:28 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 142802 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp7233886ljj; Tue, 24 Jul 2018 05:54:01 -0700 (PDT) X-Google-Smtp-Source: AAOMgpf8u/LAKRRmlE1h1ssz42uBBnBfJppN+P4+eXhLNcZfJTkLcxSvr8p/5jA/ZOhEkp1Hv4Bk X-Received: by 2002:a17:902:1007:: with SMTP id b7-v6mr16715290pla.277.1532436841059; Tue, 24 Jul 2018 05:54:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532436841; cv=none; d=google.com; s=arc-20160816; b=ux/mfw6XIOKgGYM1EFqWeTNZm7SVwUZ1wkWuSnmCiKV3BmPtC3Lt7+0n8udukGvu7i mnv0u4ZzmljeKFoiBQRJwMgdBmF4K7JOlTDLJ/wed9uMlA7nY9Aq1x3TLc73pUbC/ChW crL9WbLX8Ns79nSolT1FZ2Sygfrar/YzVGE7sZenV2MJtwngxYBreyjAVAgH3jtF1Zv1 nClCvRRXx2FdS+1SqbmeRDuiXHYMQM8p5Fa/0RARVV4BXbeMS8ihxH6cMMw9cSIMNpqA wrpaLjastCaLeF1gMtVKuRtx/5nQ2MpIUwn8ehLFKSRxsc6BAhizcuY0J9ShbEgeG/3l tW/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=q2gm9y/N9OWSpJqr6m3qsCkKZCUpLkEz5tg6SxUSEII=; b=sdMpwqCi/70Z9uZdNMYlh6SHJvDc8x+3zZH+APGCSH/NDq5jODISTNJ1EfIlL8e0ZA kK222mZ+M7+3whtNRgh0Z1VbDzv46kzBIl0pxJ2KsvSIi4R+SBOIjyGGt2bQ6q5tY/mO Ry8Bk1cYjLK8QltDwPlyUKAmMUy1SrC0+Rs8OwwpIxlgPLfg9pOcDc9BeyzxiVaztdKd 2pdIQ0XHT75+6auQFuvfEDHMC9MRLOlPKuFqKnEljc7gSsLk+WOm/c1gPb0ZC+kpAuOa tVHvDoSvgRDtn4Tz92n3UshpRQcbCFQJ9TBzYwNQHmxkIPccdJEkQwNNqRdAaM9uPVHu WkZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=QH88hvMK; 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 o16-v6si9809905pgv.402.2018.07.24.05.54.00; Tue, 24 Jul 2018 05:54:01 -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=QH88hvMK; 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 S2388438AbeGXN7R (ORCPT + 31 others); Tue, 24 Jul 2018 09:59:17 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:40483 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388441AbeGXN7Q (ORCPT ); Tue, 24 Jul 2018 09:59:16 -0400 Received: by mail-wr1-f66.google.com with SMTP id t6-v6so4022991wrn.7 for ; Tue, 24 Jul 2018 05:52:55 -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; bh=q2gm9y/N9OWSpJqr6m3qsCkKZCUpLkEz5tg6SxUSEII=; b=QH88hvMKJcmYPGKBDwslYEWOXIxenau4uQBys8aALwLp+/Hq/+3SXQNEptn4YjglLE ZiqlnhrVp+AsPo4Xv1bGrH+yIzDE9fmLFT5KR6KUzKYmCamjOLBZarmE48KWJ4iHYKms SW/GcW1jsnvhwn1045ywJcqlhdRqtmEyl4Y81OY28CWdrt4VXFBhTpIKl0B8zsUrCk9Y JTAST7W0Lf6OqC18es3vgpz1uuX5PjWyuXuD0j/vjkowXlZ7mH7pFcNQP9Bgrfrw3ObZ ON2igwcaMcBaqBMXcBWJpyby+ugBJ0bCHIL+RldnC07reM+adijN/f2ax49jaxKXZI31 JrlA== 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; bh=q2gm9y/N9OWSpJqr6m3qsCkKZCUpLkEz5tg6SxUSEII=; b=FTBb3DETofS2yYzzkhTmrENZsvTgFx6V23J06r6tvLFs0hMIgqWfQNJCHvfWokVLwQ 9Mp2+HI8CHhOIGszVgf5Lx49R7vOn88h6iRi5kriaqVUnCahoErpeAlL+CmG6Yo2cXnC slI4q6P2K1hmhQkCE7ETmdVvrmU51MpSNoi8rZLDFpBiWqF36VQhV4q9sdvqrRPpuiYY Kkf5NJD49/SkM7EkElJL9QIQy0nYHb+1HYG5MSQBkIma5alJZ/DZhpiXgdnYyGsVPZIx tzSB6BOdr1B1dYxrrYrFEM60piiP+5tjb3I+6dxeuPe/wjF8Y98a2+nTog0mW+syoaii vq/g== X-Gm-Message-State: AOUpUlE2w+vRN3wSbgqj6dljbMPy6lHxVPY9djoEnQszZBDUELDChgPh NfE2+BGV6q4G+xtZy2cvzIU0bg== X-Received: by 2002:adf:ef8c:: with SMTP id d12-v6mr12311263wro.195.1532436774990; Tue, 24 Jul 2018 05:52:54 -0700 (PDT) Received: from boomer.lan (cag06-3-82-243-161-21.fbx.proxad.net. [82.243.161.21]) by smtp.googlemail.com with ESMTPSA id e7-v6sm20834235wrm.14.2018.07.24.05.52.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 24 Jul 2018 05:52:54 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Cc: Jerome Brunet , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 04/14] arm64: dts: meson-axg: add audio arb reset controller Date: Tue, 24 Jul 2018 14:52:28 +0200 Message-Id: <20180724125238.14567-5-jbrunet@baylibre.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180724125238.14567-1-jbrunet@baylibre.com> References: <20180724125238.14567-1-jbrunet@baylibre.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the audio memory arbiter which control the access of the audio fifos to the DDR. Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) -- 2.17.1 diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi index 6adc8d3dbf0a..3893c630d969 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi @@ -189,6 +189,13 @@ resets = <&reset RESET_AUDIO>; }; + + arb: reset-controller@280 { + compatible = "amlogic,meson-axg-audio-arb"; + reg = <0x0 0x280 0x0 0x4>; + #reset-cells = <1>; + clocks = <&clkc_audio AUD_CLKID_DDR_ARB>; + }; }; cbus: bus@ffd00000 { From patchwork Tue Jul 24 12:52:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 142792 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp7232865ljj; Tue, 24 Jul 2018 05:53:01 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeT3yqSwJI/q3J7Ipv0OP7FT/vIWrOWmhq1gpyhaVqM2bZPAWUJvSRfVEItcfQcdz632YuQ X-Received: by 2002:a62:da07:: with SMTP id c7-v6mr17574869pfh.106.1532436781802; Tue, 24 Jul 2018 05:53:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532436781; cv=none; d=google.com; s=arc-20160816; b=TAMKLv7NIXi6PUp539PmVi2l//iJa9lpFpuZwtUWfAaMcenHq7K89DtI0KDzST95/I tPULIMugap9WyAU3zaIMNcF5kercLqe9cVmAVuR/4E7R7EWB9vrN39YAVfiFtpBOwzsy 6W1qBabjf+kkcKFllkozG6y9mKOPdtQlT763Sq4MwFxM15VjTHifxHOlQcLKrEr5SGkr RgAfpW572toyEXaH1ea9gKH9hSLys3h+14L7u3Wmvri0+xRaelo3sK+Oh2lr2pN3ACqi Jibmx7MRRHb51frKzAdQ4RJ8qimqveTQKiarBB5LMwb/IHScvlP9SxcWS54PPWh9a5Xq LFgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=s2BTI8uCMgzn7Pm+aC1/UqH+TlJWfGQBNvuxxj87VzU=; b=Vnoh8Aii7r7cp/OMP4GhREkv1QF5P3H1Bp+koKK0r3379QLVtz5ncWVIEZTaullLcU Jv9NWwLxXw4iOnadM7T90RD1jigT5zey/GqBxZ/BjUjj9yp3niTxCnvPkicEb+vg3Rlu N4P/2oJpOWdEb6D7t/6iHCwACfUaskrNB2bfttWbw7cJP5lIZmHdhaB2BX0fWc7Ts5fw 73nFVPNpr2967x25XMgqsfJDd5Kcjy7NXp4dr8mUK3YbcBqH9ptXXg3dVuzid0mLBEVz rI9tZqkFBMGtggCNamMKrrVBrjUYZi5z2KzLwH/D7gbM+JJovrtC0z0DTra047t5G73W q8pw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=CksN68V8; 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 y2-v6si11690715pga.141.2018.07.24.05.53.01; Tue, 24 Jul 2018 05:53:01 -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=CksN68V8; 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 S2388536AbeGXN7T (ORCPT + 31 others); Tue, 24 Jul 2018 09:59:19 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:37036 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388343AbeGXN7S (ORCPT ); Tue, 24 Jul 2018 09:59:18 -0400 Received: by mail-wr1-f68.google.com with SMTP id q10-v6so4033705wrd.4 for ; Tue, 24 Jul 2018 05:52:56 -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; bh=s2BTI8uCMgzn7Pm+aC1/UqH+TlJWfGQBNvuxxj87VzU=; b=CksN68V8puH0rrAa6sVVYNvMZ3UixRTIo3HBQGs+aTGaAYklJD6vbvuo8mjUPPvozw JATSPvn50+mVTSXnLIRzI1lGEmcKAr3pVt+KW+GUOSSaivKDqz5akhWxaubtoUajfN5q +UW6xn+A32fV9IQSEYGYU38guiL+SCunlYiEIt4CdPy9NnUrKQSgeJz9p2kPN7cyCAoV XRFkvwCm5A6tivI38duZUyeBUzKXaNZ9doki4CJQFtPeuZSOUecR8mFBakch5LAM0qfk rw9dVsJ9/A2xoE3etFRT6BT7X/Xfz0pGfsLgp93iu8DV0o2Qm7KYSZoej8Az9NoXgXMt 7pcg== 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; bh=s2BTI8uCMgzn7Pm+aC1/UqH+TlJWfGQBNvuxxj87VzU=; b=DZHuM9c6aJzZwuB3M6fOgITlgejL6L+MZWFZ5BPkdht3ul6/wybMNTC6OoduCITsrj cxrVPW0Fx0bgrdpZcEehI2jy/GRP81CSxbjjy7wVtAZPDFMs0JnR9PUOpprVEqskhkVa hfMXe5wkUoNpOUl3K1wG7vkrTs5tjAILwbuUuAdExK+OR3wDi6v1ecO04PyXj891WFSc R/M0I0SZ419hj/Zmu3Ha00gNKkZJFEFgLe1asKi4/8/jEndKek0kGunZ8a6r+Rgsf19l 1yKC2oGnJFMN/DeZ+wKJHTckI55wyrIvEnXoCaVKQUS8tBDjWBMfCa7tSM/aiW+vFOKH 8Gmg== X-Gm-Message-State: AOUpUlH7sEBuCdWxm+VgjY/0FMRgB9fLQ5/5h5TKae6n+U/+UKwVKiky SLGQrAeCpn4KBguayJXP1oWOcw== X-Received: by 2002:adf:adc9:: with SMTP id w67-v6mr11098671wrc.135.1532436776142; Tue, 24 Jul 2018 05:52:56 -0700 (PDT) Received: from boomer.lan (cag06-3-82-243-161-21.fbx.proxad.net. [82.243.161.21]) by smtp.googlemail.com with ESMTPSA id e7-v6sm20834235wrm.14.2018.07.24.05.52.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 24 Jul 2018 05:52:55 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Cc: Jerome Brunet , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, Philipp Zabel Subject: [PATCH 05/14] arm64: dts: meson-axg: add audio fifos Date: Tue, 24 Jul 2018 14:52:29 +0200 Message-Id: <20180724125238.14567-6-jbrunet@baylibre.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180724125238.14567-1-jbrunet@baylibre.com> References: <20180724125238.14567-1-jbrunet@baylibre.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add TODDR and FRDDR audio fifos of the AXG SoC. These fifos are the capture and playback memory interfaces of audio subsystem of the AXG. Signed-off-by: Jerome Brunet --- Kevin, As you will see below, this patch depends on the ARB reset bindings which have been accepted by Philip recently. Cheers Jerome arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 67 ++++++++++++++++++++++ 1 file changed, 67 insertions(+) -- 2.17.1 diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi index 3893c630d969..a20189844d92 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi @@ -11,6 +11,7 @@ #include #include #include +#include / { compatible = "amlogic,meson-axg"; @@ -190,6 +191,72 @@ resets = <&reset RESET_AUDIO>; }; + toddr_a: audio-controller@100 { + compatible = "amlogic,axg-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,axg-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,axg-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,axg-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,axg-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,axg-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 { compatible = "amlogic,meson-axg-audio-arb"; reg = <0x0 0x280 0x0 0x4>; From patchwork Tue Jul 24 12:52:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 142794 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp7232896ljj; Tue, 24 Jul 2018 05:53:04 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcfEBsRNlXpIpyTz4n97YAFP2kGWMrtwRDQsPXsTfI/ubsm+A2llKBULW34p1koZuTu2lO/ X-Received: by 2002:a62:b29c:: with SMTP id z28-v6mr17836531pfl.8.1532436784140; Tue, 24 Jul 2018 05:53:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532436784; cv=none; d=google.com; s=arc-20160816; b=nFPrRZlx00UYPnOBdYLWPuM3EgzgGmCY2CEdqD9Ou5don/YKvbel8vk9s5ZSqBChSf a8JYggt7EiSNmZdnRJsGYtSdr+fdKuWbsTSzjuaoFB6Ce0ubTLvC74lCH6CtoG8sBjqV pwkVnHN+XK4XClWmVdpswZvIn/LJfzwiq0xl1pJbrS79PfKSxiUfZ07W7eg8GI2LdVOZ 7THNOS13ukuUxtVFi4WKyoTOCFxkLnHUiijAhDTNh5H42VtnGgIqC2x1OMdKBIzHLeB5 vMBje4ZIZU6l7N24iW0ccIIhCNBEQftNKxJg+Xmw96mD1bH+RV6Hv4MbhZlEVnrNN7Bh KbOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=JK6vHUBSN9Dquv+tZySFrVXf7/cu/PG0T3aNQQ/LBrw=; b=LBEhyUOiwzOeZx1sonicisfY7AL00zitSBuJXk1dEt/ch4qWomNYVrzH/XQR53reeN W6/77gv+J3sryPAYF42LC5fipkOZWMiplWlwCVP5/fIdCn6xHB/QorsSOBIpTrs9Bju+ Wc3WTXFBFPERIkuGdBOyjmzbrRqL9HRw8hqS64/ZTjBm8lxRs7UWHrkBlV+cZt/jsjuD iae9b+VT8kp7bOOOrHiTL+xq9kYtWhaLkvIQZR1rsaZU/8j6QRKk9tTEGPruvI4FKjQl olaG09dQ8VIjAIo7051KU/5OiOnHGS4q0v0k6qAX8n25gICgo3GOwVr06aSuehearx1X VsPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=x6wXADcd; 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 s13-v6si10084292pgo.505.2018.07.24.05.53.03; Tue, 24 Jul 2018 05:53:04 -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=x6wXADcd; 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 S2388573AbeGXN7W (ORCPT + 31 others); Tue, 24 Jul 2018 09:59:22 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:45022 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388508AbeGXN7T (ORCPT ); Tue, 24 Jul 2018 09:59:19 -0400 Received: by mail-wr1-f68.google.com with SMTP id r16-v6so4004758wrt.11 for ; Tue, 24 Jul 2018 05:52:57 -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; bh=JK6vHUBSN9Dquv+tZySFrVXf7/cu/PG0T3aNQQ/LBrw=; b=x6wXADcd5xHQs1tystvdnC5EQrQkF+WyqJg0o3E3sR6hlyn+MrYmzKlpa7QtWezpGf QGsVbnxrFgQVigsA3QJXtNyTwjXxOCd+PRfStuExE30EETvL8c2gaVlgeWc++u/oGhX3 /8jNFThihFOMzKuD40Vtr9riskG/FvGnat89xJ3rhNpjlnmnk3lE56ZkaojheaRNwTTb V5Fl6Jt3jarCp4PTUfs/llpbADjxpGYjhaddNYc5jSoth54xMyGoyfBgPwCcAklHwhbq SRkF0wpa6wDgdDKhgLvU7uC5TvuMCOqGqqmsy1rB+iNwSbfChSCLDMBf3Ag9JVrF/8FI mCMQ== 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; bh=JK6vHUBSN9Dquv+tZySFrVXf7/cu/PG0T3aNQQ/LBrw=; b=hLDWHle8ZkFM6ceeJhDY+7Unss81GFihVnfHfOj3d6rBU/XNXopvVQb5Dhya+Xgtna ECCooboM6Bi6nWSQbDfJSzBJHLUMkHnEjMRbVLuYuQuzgeGr1MeZHcA6yxVkPQGW6zGL i/t/5J1/EuIXX6IH1uSLCfkdgpy97sLY3HvlHDZ2P0dPVyp3BVk+gNaSVEJGcVaD+iAs tzUU8z8y3Ge7Jr9NuowOOMjQfUDP4wjm/j+7fYNUm1g6f7OqiO0hMfB7DV/voMsMIIwL s3J14uyGXn4NQ7Ai3PmH6bNg8OjGF5mGKWFoMNHCiy+AoQF5ZJKkU5LvPOgxuscqpagB BAjA== X-Gm-Message-State: AOUpUlEc1hWB44KGC4Pki6KT8fRgXeI/YuO0z9THn+dbfl6JipiOaGgF G0n375o2V9Iq2lpl1DdeogtdhQ== X-Received: by 2002:adf:aadb:: with SMTP id i27-v6mr11413837wrc.149.1532436777313; Tue, 24 Jul 2018 05:52:57 -0700 (PDT) Received: from boomer.lan (cag06-3-82-243-161-21.fbx.proxad.net. [82.243.161.21]) by smtp.googlemail.com with ESMTPSA id e7-v6sm20834235wrm.14.2018.07.24.05.52.56 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 24 Jul 2018 05:52:56 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Cc: Jerome Brunet , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 06/14] arm64: dts: meson-axg: add spdifout Date: Tue, 24 Jul 2018 14:52:30 +0200 Message-Id: <20180724125238.14567-7-jbrunet@baylibre.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180724125238.14567-1-jbrunet@baylibre.com> References: <20180724125238.14567-1-jbrunet@baylibre.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the SPDIF output device of the axg audio subsystem Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) -- 2.17.1 diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi index a20189844d92..c56016a48cc4 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi @@ -263,6 +263,17 @@ #reset-cells = <1>; clocks = <&clkc_audio AUD_CLKID_DDR_ARB>; }; + + spdifout: audio-controller@480 { + compatible = "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"; + }; }; cbus: bus@ffd00000 { From patchwork Tue Jul 24 12:52:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 142795 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp7232942ljj; Tue, 24 Jul 2018 05:53:06 -0700 (PDT) X-Google-Smtp-Source: AAOMgpd0Xxw8XGbicrqNx2h7LPdeo6LSQs2R9lomjRpcXiaWA1w0uu8EBxqUhvdOJIhewK1dsTgq X-Received: by 2002:a63:b40e:: with SMTP id s14-v6mr16473384pgf.9.1532436786570; Tue, 24 Jul 2018 05:53:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532436786; cv=none; d=google.com; s=arc-20160816; b=J8oQ8GzRKeomzgYtrou3dECgNKWP9L6wI1qreQWaDxX6DgJd/6sTf32Fbiglpl8eRG WdJfEiooXW/LTHwpUxSW5JJV3/5+Aax31YS8sIvuzhGO3YVfVTxCH4caWNrpijkLGrBC bsQAmHZZOuBWFCTHkwH5DjQPWIQLxS0JbXoGCBZbO4WM/I0Bk65zJB676sOrNRyJUvYF 1TWODsC5FXN1iFhktovAXh84Si8uhRxl0YlgndP17JFDyamEUl1Fcn1ntK7YYOZI2Sp7 FrPhaq+4OmzvdVu/pjjfAbOw6jzxlDFU/dx0lRafxmddOFQWIl8TEnlkkGeqaOQ8X+8u jkzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=fRwMGeHlTP8BUgnYuPqePCtd4Dl/PPZYCQrSBbVA4Oc=; b=k0jdW7kw/PmnYi+Hzpfioi1ZpoeZF5iXl1n7v2Sc5krsRwLjp0masaGhLWGyb38MtN XHyARXlslVhB0DKJPwQujSlm5Zx7JI7rELUMlxzElCuiDKXVeXmS2CFds12A1QwrMoAJ OFotrmd7QoHhYAxxg9qIh0QjFXmU4KjI9wseRWgf1Nmt833Qohl60sffd82w7HfQWaOo mc2hA5lcZr2KEaxsFFfdiNoPJoDvCPD2XZRnnJe4ZIlMmKn417J5JuWGWFVl2phiCGUn SgYVylhI6s8F2vlnI7n2tuNcE73O8uOsun6jMQ8c6EIenD74GVRWu3+dXhhYlb0l8kHD jl6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=T0hN67Yr; 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 bh7-v6si10200161plb.367.2018.07.24.05.53.06; Tue, 24 Jul 2018 05:53:06 -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=T0hN67Yr; 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 S2388606AbeGXN7Y (ORCPT + 31 others); Tue, 24 Jul 2018 09:59:24 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:35176 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388544AbeGXN7X (ORCPT ); Tue, 24 Jul 2018 09:59:23 -0400 Received: by mail-wm0-f67.google.com with SMTP id o18-v6so2457489wmc.0 for ; Tue, 24 Jul 2018 05:53:01 -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; bh=fRwMGeHlTP8BUgnYuPqePCtd4Dl/PPZYCQrSBbVA4Oc=; b=T0hN67YrID30OvY+59J5y35YreNSAObo72snuhvDGuhR7J47lURHp75SNMOOgzwwfF 2tPcqvsl8X8Jm8629y/qm5qB1z7IEFwGEL+LjNE6YQQiL2TX+Pf0RqW1HrjjHZSvlJYs DIxvLoRvNVd3N2Dcd9k/xaIbQFJJLTkQiK4HkYkX/lyCRh1inRY3EEDkYcoNflcFHVaq /uXxX1drGq0JGqgGLayB7CA3MvHzDmy1Rw36GAfV88mH5SkUW3nMGBTH10ZsZXtPJBj+ juj55Qf2zwXNSSb9VhKK4xhsr265d/Bo4DLF5TzXIp50KSvEly0RYi/2ti3s7fsJkxRe ciCg== 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; bh=fRwMGeHlTP8BUgnYuPqePCtd4Dl/PPZYCQrSBbVA4Oc=; b=Fhp4FoqbG9qR2DF7Irhl9hPDhT+oSYMmM8DgSPzGkgFK8f3I1nhxa37/rjD1+94I6A AXs3STWGsSZ2/qnPihzdeAbI8j4i/Sp+Inm2meTFPN/e79mE9P4OfWrh1BZGDWaZXfTD cc8gEGxK8C+GlsztIMGIXtuTrjfiOGkPtmlnlZzjazWbKGhEl3SXXKP5/Wb8OAoL68AC fpu6hldrk7rKI66CbwC9g1XtLwpIJ77sj1hhVVEv6hzwNed/jjlGwvjiP4eL+9j0uPRQ 4Z8a6VkZpxGNqTdbtwGc8+HQHmCG6pUE+wMZo+obQMM2RLefOuMmz7KB0meTUYEmifaK Wsgg== X-Gm-Message-State: AOUpUlGyqsR8L8/KGe7iwBTmQhXHs6OC+kuKIRwyiB8S+4LIl+Ph0G7i /xUDzBm4A3S+KIcgrTA/7q+J8w== X-Received: by 2002:a1c:7908:: with SMTP id l8-v6mr1835716wme.80.1532436780736; Tue, 24 Jul 2018 05:53:00 -0700 (PDT) Received: from boomer.lan (cag06-3-82-243-161-21.fbx.proxad.net. [82.243.161.21]) by smtp.googlemail.com with ESMTPSA id e7-v6sm20834235wrm.14.2018.07.24.05.52.59 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 24 Jul 2018 05:53:00 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Cc: Jerome Brunet , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 09/14] arm64: dts: meson-axg: add tdm interfaces Date: Tue, 24 Jul 2018 14:52:33 +0200 Message-Id: <20180724125238.14567-10-jbrunet@baylibre.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180724125238.14567-1-jbrunet@baylibre.com> References: <20180724125238.14567-1-jbrunet@baylibre.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the devices reponsible for managing the i2s/tdm clocks and pads Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) -- 2.17.1 diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi index 67b6d4ec980e..32f6dcacc2bc 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi @@ -93,6 +93,39 @@ method = "smc"; }; + 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"; + }; + timer { compatible = "arm,armv8-timer"; interrupts = X-Patchwork-Id: 142800 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp7233393ljj; Tue, 24 Jul 2018 05:53:34 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeWxub7m1uS5F2EoR2C7PGH9XKqHiRO1t5sqI8u+pGSP2CEvUtVn3W/7NQ/vuMyBcDKKASj X-Received: by 2002:a62:2983:: with SMTP id p125-v6mr17774090pfp.128.1532436814210; Tue, 24 Jul 2018 05:53:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532436814; cv=none; d=google.com; s=arc-20160816; b=0+dHHApI7Wfc4kB0Lm2YSOxUxjDPDg36SUWmnGa24NyjX/I3ChdHNDRTV88n8uxSmt wX8oobv7FPIzwTXZjGLcU6HpWJoD3ThdsYcHl5S/uDteHfsNXdhnmv1LuUDwp1Xf629+ qbIPMLGDHTWk5VsS2aF6upLHx79A16CG2J7AgJOm6fA5DOh8wckenooDmr+C8fg27Xce 3hdDUED1XJsXpeMK7zrdt7LxAD5UnstcsmRdbpDncMFMgBD9toJmJ97FUGCDcHnnGs5t zmvaV+NmZREPglOhOUcVHX1jIVavaQA+s5Ji0m5jqWZXaCyhcJKPQz0XQvAsz0D1UsZ/ cQGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=A4XnNFV0D4lRqYz+uc1ptkPfQ5Tx5d3XzHr45EHg8mI=; b=ArN76GHir1Wuv3D+k60Xc+T+p6SEHDrkzkRSoBbX5JeZqZrV9YdX5ehK988W8DjREY E1oNl/TauPK+Wa6JprfadlKWspwWR8cwlOY7lziYJU4F7fsEUhcjXSyZofkcylEIZ2OX 4bJWM82ALIUwW0alNqs7/hIFETTQ2YRIsHTRjzGQEP5kxqEaTOrnfX7DEjKWp2XcQdm9 W5oGHac/t0NMM31pTjvPnrl3YYrM2ZcqAuIC/Ht9fiAZUpuhpOG6g1zmlQ2+aRQ8URi0 xZ0T4VfRjBzZ0OusfsCKDTsGuCxUqKftcp0wAX8QdGdvWHv8IyuJ5BMUOBDv55aoehUp wM/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=e8Cns3Vl; 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 bb5-v6si10216163plb.480.2018.07.24.05.53.33; Tue, 24 Jul 2018 05:53:34 -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=e8Cns3Vl; 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 S2388592AbeGXN7Y (ORCPT + 31 others); Tue, 24 Jul 2018 09:59:24 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:33391 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388508AbeGXN7X (ORCPT ); Tue, 24 Jul 2018 09:59:23 -0400 Received: by mail-wr1-f67.google.com with SMTP id g6-v6so4054107wrp.0 for ; Tue, 24 Jul 2018 05:53:02 -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; bh=A4XnNFV0D4lRqYz+uc1ptkPfQ5Tx5d3XzHr45EHg8mI=; b=e8Cns3VltXySmcJVHDUFPzjFPWROW/GsnAXNNqSKDk3QAftiSWMgfwHlMUJYaZ3Lxs kE5EVfwJuR/YzauOfrjOvPWr02JEvPWxIpQ5Wqua2At5U8SbxAV939s4FwK7vZGnsibU y7OyOLlEIDULCD7LfoHYR4xE+Ew47MAx6gwt4hoXzq0RftDGMUJJJiKv6oD/RLity9A7 y6TagpTDYM6o4bPj7YzHfQK5L5TSCQ6zhzI84pTXywqlLwkvd+8olmbUgseYbMQl27lG Ax8imfWcRHbJ89L3+8hc+3xU6yC+Odu0Og+926jEszuiTvICFpueeX7Y9gwJMbavviiA yq+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; bh=A4XnNFV0D4lRqYz+uc1ptkPfQ5Tx5d3XzHr45EHg8mI=; b=jRHo+jNOQ/lbQf7Xiz7RfngKX5aSgmN5SQAYdn7qiHd7joN661jZ6u+s2MvWL+0mXi 6VCqngESyBhu8HeVmusPjMY2jPSzwFSVGInx6jaJrZOHhCdgym8HAGPvsFbfMKwVni43 ai19KlzEgtmcbBF60LBA+9ZvTdcTk9H8xJTvb4dgm+IUIHW/D4GWRm2MdYrdBcmqXrH8 9t0L/GXaTzORIU+DuWXi0XwTf6ksGM7uNaQbBgjZr55yGPV6BFbqs/L3vR0cxT8HTqXN OQQeJaYK64+KAyv3fxOnC7azpbxHHZvD65pXb8vcXGHUfjc4llrVoUaHs6J1PuB4GBiF xygw== X-Gm-Message-State: AOUpUlE8LKwmNWZXx7b3MyRCDN/Ecml1KCAo7W9Wr6ZO6wprYgWg15PV RLX24hFza1RFbgCSdo1YOnamog== X-Received: by 2002:adf:8f2e:: with SMTP id p43-v6mr11245545wrb.193.1532436781888; Tue, 24 Jul 2018 05:53:01 -0700 (PDT) Received: from boomer.lan (cag06-3-82-243-161-21.fbx.proxad.net. [82.243.161.21]) by smtp.googlemail.com with ESMTPSA id e7-v6sm20834235wrm.14.2018.07.24.05.53.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 24 Jul 2018 05:53:01 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Cc: Jerome Brunet , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 10/14] arm64: dts: meson-axg: add linein codec Date: Tue, 24 Jul 2018 14:52:34 +0200 Message-Id: <20180724125238.14567-11-jbrunet@baylibre.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180724125238.14567-1-jbrunet@baylibre.com> References: <20180724125238.14567-1-jbrunet@baylibre.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the es7241 analog to digital converter which is fed by the lienin jack of the s400 Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 10 ++++++++++ 1 file changed, 10 insertions(+) -- 2.17.1 diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts index 7489b88f27d7..fb101a1c6660 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts +++ b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts @@ -178,6 +178,16 @@ gpios = <&gpio_speaker 2 0>; }; }; + + linein: audio-codec@0 { + #sound-dai-cells = <0>; + compatible = "everest,es7241"; + VDDA-supply = <&vcc_3v3>; + VDDP-supply = <&vcc_3v3>; + VDDD-supply = <&vcc_3v3>; + status = "okay"; + sound-name-prefix = "Linein"; + }; }; ðmac { From patchwork Tue Jul 24 12:52:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 142796 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp7232968ljj; Tue, 24 Jul 2018 05:53:08 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdj+61ZfpDAXY8BwnMRsnMb58mNpEQOmd3XQ6dX4K7hngEGgvEHprSIKOqoT2GzBV1pd3o+ X-Received: by 2002:a63:ff4d:: with SMTP id s13-v6mr16261897pgk.150.1532436788203; Tue, 24 Jul 2018 05:53:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532436788; cv=none; d=google.com; s=arc-20160816; b=HcKUu65ukhhRRM6hpBXiWbJ6JGMMzRPpS7HybAyIPsRnkQ2J9CEWuGv2rE59gGPFgh PJB2XWF135LLg+OihjqlRpbxRDNb4/jmv7W6W2TlHE0O8bdIaFjIA9ErRVMLegLTZMOP B8/MlDCUV8hxzndOOctyfuRTqPVTyUpQaQbDoo8V114oIzYHnYcYF/v4x2TepfvfGQUl 31luH1N5ZLCD7IDav4sXGa1DWpMewiDRbMxchO+EQUoz4FxKPsvqH0D7eRXnUD6DQPmK UEH7qmS4G2gnYytmD9C6eBdodiIyte23BUngxKZoIJIFGRCWErQaVoE+7kTWLu9jPcvJ QCrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=ZoW7tDEHOwM7FMVB/pZ2Q+lx/K2BNqjMFw7CiedEjxk=; b=Gpna4hCHLs6df/waPQ71bkrJLfLsI2UJE6ZmQYL7/oRUYfTV8BIVvv256vqLrftThS rtQC25AgBP71fCkKzvQ8grPi3g6O0Svd/BwJgSQWivMrRj0EXWU72b00tACrpVEv+jsQ RmSDJxb+c/TujTOUBcjitbuKFLNUDwi0I6jjgOfMX6fxngGdQjh1InbP6kzC996iEIx7 M30WBEBM2QXfXdelDPxiBCdzlep8R+9eAH2diY7xRRk4avSq7UUsg/QvQBSmeIIh/yjI atXM05w6D8xWnvbIlX9jF1cWrusJTbKk0+cgJpr/QyaHQUYbXnNWa3KF+b+zSlNBgSh5 Rwpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=AOE454XW; 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 z33-v6si10436345plb.380.2018.07.24.05.53.07; Tue, 24 Jul 2018 05:53:08 -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=AOE454XW; 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 S2388622AbeGXN7Z (ORCPT + 31 others); Tue, 24 Jul 2018 09:59:25 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:40495 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388577AbeGXN7Z (ORCPT ); Tue, 24 Jul 2018 09:59:25 -0400 Received: by mail-wr1-f66.google.com with SMTP id t6-v6so4023417wrn.7 for ; Tue, 24 Jul 2018 05:53: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; bh=ZoW7tDEHOwM7FMVB/pZ2Q+lx/K2BNqjMFw7CiedEjxk=; b=AOE454XWr42iUS6OtAcMoi118Duje0TQBsA4drZSzUd+3uFxbzHRSgMDcdFdFy7CiN EVQcATOf6GtlDdrO5x0kNfI8w4Yj0wb/obAWNW462Hnii2s49EvgEweXjiZeOjPo8KSr TJQArFri53XeLy1f4TiDj+2MSieKC6aKKuSLHKwkHVGN2SLz+TgKRARwLib6qXwMEKPk QWLO+QnNclUOguMi0zZtQe4ez3CNbYs/KQtOWdyTnxtYLeRSGeS88M+YjUMPUGT1B8xx 9z2h44q8cNEAmexI+ptW2VVkS7qFGXSE2oZqNvWjCAQsiG4An9egYiv8b/SnzKMaegi9 ZKFg== 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; bh=ZoW7tDEHOwM7FMVB/pZ2Q+lx/K2BNqjMFw7CiedEjxk=; b=FDulqa9KfYpxmtHXh0rguzE8EZUhOTG1Yy2L+KYUU9fNttarbAdwYgq0QlUDvdkxKE ITgjq6y/MJyytC9P+5q2VEKGxIL6WQMlrEu/13m074IxrTuIvUC0M6tQJcPFadtg7Vla h5yECNHoa6MjjYeWg6xV4YmPRV5rUDayKgmohy05XbatW2Pu+M2XIMt59u8SjoP5DoUh fcoZkps1/awMzMlFBARIEEaa90Z4G48vuUVOK4lCdX7r55opOeYe2zEd76Lyu38cdW91 xKP+ADHe24vhGV+arXx03La1YwPqAgM3sxPDqDP3aTG2uOok2rB6TuolVIpc3ZUIlbds PRNA== X-Gm-Message-State: AOUpUlG1/Gcv3+VwORrq6tCU4W2z8W9VWtRSo5XeRN2BRtaAXhf/aq/I 531ttuGCYDQKgfvPti3UNPbMPQ== X-Received: by 2002:a5d:550a:: with SMTP id b10-v6mr12029208wrv.228.1532436783016; Tue, 24 Jul 2018 05:53:03 -0700 (PDT) Received: from boomer.lan (cag06-3-82-243-161-21.fbx.proxad.net. [82.243.161.21]) by smtp.googlemail.com with ESMTPSA id e7-v6sm20834235wrm.14.2018.07.24.05.53.01 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 24 Jul 2018 05:53:02 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Cc: Jerome Brunet , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 11/14] arm64: dts: meson-axg: add lineout codec Date: Tue, 24 Jul 2018 14:52:35 +0200 Message-Id: <20180724125238.14567-12-jbrunet@baylibre.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180724125238.14567-1-jbrunet@baylibre.com> References: <20180724125238.14567-1-jbrunet@baylibre.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the es7154 digital to analog converter which supplies the lienout jack of the s400 Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 9 +++++++++ 1 file changed, 9 insertions(+) -- 2.17.1 diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts index fb101a1c6660..d318647c86a7 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts +++ b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts @@ -188,6 +188,15 @@ status = "okay"; sound-name-prefix = "Linein"; }; + + lineout: audio-codec@1 { + #sound-dai-cells = <0>; + compatible = "everest,es7154"; + VDD-supply = <&vcc_3v3>; + PVDD-supply = <&vcc_5v>; + status = "okay"; + sound-name-prefix = "Lineout"; + }; }; ðmac { From patchwork Tue Jul 24 12:52:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 142797 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp7232981ljj; Tue, 24 Jul 2018 05:53:09 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfF1BV3wSZqwN6LkziwDmVMp6izr1ib6Ub/iYqrb3cDGSEB1jmz30wjJ+3HQLPQSKesVytl X-Received: by 2002:a63:790b:: with SMTP id u11-v6mr16097580pgc.111.1532436788906; Tue, 24 Jul 2018 05:53:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532436788; cv=none; d=google.com; s=arc-20160816; b=zW96XLgyjIcgIJFeZVQ1uE6Uak8wHHJLcXPddlzfcOy6xVTR6TlFVH/8F1LlZWTKZh ce92YgUSPFs4Y/Zbk7+Z/t9nLJD1nvBMc4qbRsNiLWxVRoVW45/6aTBJlSJ16+IEmHnl 3ap62AW2Ky+2ahOvEZyMZ7UE5yaoP4lpGJWBur0BCR3aLC9HIHUgNvsa+8EqQrUyB4EK O3Oj7diwl0ho/QE0C+x/DUh6DT6BVAWcMcoLgzsFMTTTT83bwKKUr5eux17NYLf1P2Y/ n3nABazuv3Ww+JB9F8LoV9TuLhjBxqlXC5usLv59q1IZ/pQVSIprWkBwmQE48spm1ug7 w1Jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=mVRCK+7cWQFa/gNtCERWlH7JS/Y1WJliUSLYPLdXC1A=; b=zDH8cyUY1IfTWqoh7jtQjM13kbf8rUBc+vYA6n6SgKsIaj4RSV0KUq4rLpOGnqoE/B ER8hi2o1FVxgzLRZxWfWBICQU2UfVDPIB8xdOD/122AsEuJf/GlypOUlU++epXwfmTIw P+A20gzk2PYQBrSwLqLB3WJlbJQJ+xj8c7Xg5QaggeLRTfPoEAJ79wTpuDaBYhiiSYqW ZYX/DN9ORR14vE8mDB5uhWGERBjjMh9sUdwqMQdn55JTRZl9ASiTul4mTLSF9g/IqJwJ WLiAXPMAwamthhz4Xcr5lvpt6t0JYuz73MdScoDuvVJJuiOsopoOoK0iEZuymKRb/Kzi K/VQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=ZGKMHQAD; 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 z33-v6si10436345plb.380.2018.07.24.05.53.08; Tue, 24 Jul 2018 05:53:08 -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=ZGKMHQAD; 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 S2388544AbeGXN70 (ORCPT + 31 others); Tue, 24 Jul 2018 09:59:26 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:38419 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388609AbeGXN70 (ORCPT ); Tue, 24 Jul 2018 09:59:26 -0400 Received: by mail-wr1-f65.google.com with SMTP id v14-v6so4041702wro.5 for ; Tue, 24 Jul 2018 05:53:04 -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; bh=mVRCK+7cWQFa/gNtCERWlH7JS/Y1WJliUSLYPLdXC1A=; b=ZGKMHQADoxsS5yZfBWMMj3HQ+Ui4rI2Vo7dbRmCzvo02TNyhsechoUv91qItmczhO+ as9ztn2aXI7HLwZx/nFsggPs6DVvwf28R9P247qreXb7GPsnr5njUNphuaRbwR3bFOqA fGohZRGt0sf90bZBH3/yNHSzirbXzcwCDeWIORX5VvknYwHV7eGV06rGzS9kQt17+Xt6 TR4F3y/C6DMVh3sMfnh1PSOBaoFhRMi2Gr4f/FORVV2hSYlhcihZ7lK1Rhw8pBaXC4XK E6tCnzujFEqKvShKzMrXFtmTNynY9VXX66B+rYrlIQo05dBJs+O0nc0ryAxa3VYSVWpY pctA== 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; bh=mVRCK+7cWQFa/gNtCERWlH7JS/Y1WJliUSLYPLdXC1A=; b=G2LfsaiGC3iLTFFMMpURa/K0+Huxmjz2AM6UCOHU/k6vF0o55+qGf10CvVNRzZojCS 78f5f+tkjfcGrc/BfCIw9Po/yDcx1uMI+0re3EaPfhseIOON4EdtOvFsWlnZdOUZRWmz rAaAf4GrbV0k4L+o0g2CUhWhbdO/BjKrVyKXGIjk2qeJuzgwCRwhptqCN4mTqa6EBDbI NTsfQupocZjlCxU9SPg6o+NpcomtzXJ15FKThoijNQUqM9PGT6L+M5HYCU81B7R8/wQ1 txwaDDc0qup7Y4CIyKPJIZRe4zOh52/a4PH9Ngnh9icbYDkANfewtULI74z05/kFX+2L TmzA== X-Gm-Message-State: AOUpUlE7SUy2AfX0zIHQ9dKmHRYQw8JOx58YSMnRGTRelzGnQi0cthxL leUmGli70VBqrm+kiQOC/3fGcg== X-Received: by 2002:adf:e0cc:: with SMTP id e12-v6mr11378417wri.199.1532436784156; Tue, 24 Jul 2018 05:53:04 -0700 (PDT) Received: from boomer.lan (cag06-3-82-243-161-21.fbx.proxad.net. [82.243.161.21]) by smtp.googlemail.com with ESMTPSA id e7-v6sm20834235wrm.14.2018.07.24.05.53.03 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 24 Jul 2018 05:53:03 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Cc: Jerome Brunet , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 12/14] arm64: dts: meson-axg: add spdif-dit codec Date: Tue, 24 Jul 2018 14:52:36 +0200 Message-Id: <20180724125238.14567-13-jbrunet@baylibre.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180724125238.14567-1-jbrunet@baylibre.com> References: <20180724125238.14567-1-jbrunet@baylibre.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the SPDIF playback codec to the axg s400 board Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 7 +++++++ 1 file changed, 7 insertions(+) -- 2.17.1 diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts index d318647c86a7..d5c01427a5ca 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts +++ b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts @@ -197,6 +197,13 @@ status = "okay"; sound-name-prefix = "Lineout"; }; + + spdif_dit: audio-codec@2 { + #sound-dai-cells = <0>; + compatible = "linux,spdif-dit"; + status = "okay"; + sound-name-prefix = "DIT"; + }; }; ðmac {