From patchwork Thu Jun 28 09:50:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 140427 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp1969735ljj; Thu, 28 Jun 2018 02:51:18 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLpnEa15KOEcynPLDmo6VDcif+Lq5ZMKBO0z/4MPNJ3OB1ylpdtO8UHFENaamGMB9VLIW5M X-Received: by 2002:a17:902:650c:: with SMTP id b12-v6mr9846538plk.31.1530179478160; Thu, 28 Jun 2018 02:51:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530179478; cv=none; d=google.com; s=arc-20160816; b=fShIwxm49ECBYD+4ioNimuqf4d3bSbmXeb1LRArImkAu3d61PpOgreOH1dKzALP1Ce uBTLgPxqARIIae//KuXd5vo5iSf+CcAn9FPUOAfrOASs40Kt1gpfMQTMSJ1kTcrQPqsc euFOdVFyrYRa3LMIbGhtE7AGCHSmQ2m5mgtXKHiXrlMwlXShk/u95euGc32bmB9cKqrM iTwxIbE3j8ocLTzbbI/ezDV1JHdRX7M/0q/EC1rEaeCL3FZ2cK9BUzRgVRVAxZjSJbzN GXZmAyMUjhuh4fReEour5ORRBz6yhDEidMVyXXp5WFQUXpzWKdB0CtyEM0PE9rU+e07E 0fwg== 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=zl6Zkhd6RSRgOPhjTAu+UC5GorIb1NbgtctHViJe4Kw=; b=HDFvjz1TbIvRfX+8XGY8NepacTTkNFW4o344FZHOuqQRru14jgQ/auvoxBtKcMJRRk f23uZvEkUBEu/MEcXqZ4kayqcOVPEy/6nT4395Of1ydW0Aekl/c3P9X3LFg2g4/gfh2G o8mWLCRaNEQ10Rr+zVEs5me0Bbxm0JLKsYM0ox3nGKu/TVaoiIML9FBVKIAEzmN2kZ5z Cf8jcflMsfdv5pFnGO5M+NgNv2X9/iECIYzBiJHVSCd7xEtXgwkoc8fi/t0IfZmQRGR1 WKzLLz/e4SWMAUtlCFfEcr9zF0sjPxPAKsFhaYzbe8U0yzVquuQgmNpsFgrlMs6ti2co kC5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=OVATpgcP; 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 3-v6si6666793plh.34.2018.06.28.02.51.17; Thu, 28 Jun 2018 02:51:18 -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=OVATpgcP; 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 S965066AbeF1JvP (ORCPT + 31 others); Thu, 28 Jun 2018 05:51:15 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:53491 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935167AbeF1JvD (ORCPT ); Thu, 28 Jun 2018 05:51:03 -0400 Received: by mail-wm0-f66.google.com with SMTP id b188-v6so2768641wme.3 for ; Thu, 28 Jun 2018 02:51: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=zl6Zkhd6RSRgOPhjTAu+UC5GorIb1NbgtctHViJe4Kw=; b=OVATpgcPD1IqmnUQBBWXJkbDE7/mpdfvc3W4MIIlEqISKairy4srck4Q9BnGzZZ3Dx AmVIgEYW+tCc6zR6pS88XLjUAGq/yynsu03VmNU99jXPHVyBHu1STBbwb8/9wE0gHV1q gjKCwDYxso+QEjhH8YVdgx9F58BWG8pnXpTfLKHro3crNEudTenw4ueCATNixnvnJqyT ejRDP5Nx/64qVgRgtUIvVFa1bTeHCKysyhSF7BrtwAh1NlBcbkEYpHfuScdwXTHxdL2e AVMVwBBPr18EoCis/hv/iLAoDRWMU/gW+5apTlCrOQhrfMFuZkKp+GYO3OM2tsEz3hhl ADCw== 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=zl6Zkhd6RSRgOPhjTAu+UC5GorIb1NbgtctHViJe4Kw=; b=lhnFdECdLZ1IK7Iup2xlYbrrnk/KtC2QcZ6gVElQxwz0te8itqPHWp7th7nbh2L4EA ihlj96c9eHhCfltalk36TYd1hGh2hXaL+Z2bThMH66PSXKEixUWBeI6KoMJZ5e02pMTw cCAfUuMtdrrjqCF2xOBA8F+8+uNxUyAmKGZae840J5wRBygo7hGDvGnuAalO03ns/O7f ViIcK4ocMErHtg30WNs+aMSXGRaPqzAfe9nciT0AUNstcLWQCb+XsqwyCX1vs6wHSJgk JDbVJcWmadU5L9tcBTwcHHhtJHpAcq5WaTFhu6p4up19S1Qqf6D+U05JeTy0GJLfQ/Ok HY7A== X-Gm-Message-State: APt69E09aPZ8PQYZ9Bll/3xatfDQrPmMk68I/fH7EPliMJHSvaLcOEzF Cb0scgTyD7XIJtgOu0SeNTKHfg== X-Received: by 2002:a1c:3307:: with SMTP id z7-v6mr8210529wmz.114.1530179462450; Thu, 28 Jun 2018 02:51:02 -0700 (PDT) Received: from boomer.baylibre.local ([90.63.244.31]) by smtp.googlemail.com with ESMTPSA id w67-v6sm6413476wmw.0.2018.06.28.02.51.01 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 28 Jun 2018 02:51: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 2/3] ARM64: dts: meson-axg: add s400 main 12v supply Date: Thu, 28 Jun 2018 11:50:53 +0200 Message-Id: <20180628095054.13433-3-jbrunet@baylibre.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180628095054.13433-1-jbrunet@baylibre.com> References: <20180628095054.13433-1-jbrunet@baylibre.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add a fixed regulator for the main 12v which is the main power supply of the board. Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 7 +++++++ 1 file changed, 7 insertions(+) -- 2.14.4 diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts index d926f8956db8..0b655570b7c2 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts +++ b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts @@ -16,6 +16,13 @@ serial1 = &uart_A; }; + main_12v: regulator-main_12v { + compatible = "regulator-fixed"; + regulator-name = "12V"; + regulator-min-microvolt = <12000000>; + regulator-max-microvolt = <12000000>; + }; + vddio_boot: regulator-vddio_boot { compatible = "regulator-fixed"; regulator-name = "VDDIO_BOOT"; From patchwork Thu Jun 28 09:50:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 140426 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp1969716ljj; Thu, 28 Jun 2018 02:51:16 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKfuY5HwakxPgkLpNDbGsN0yqrDmacRU0ZWdAiQUoMOjkiIJot8rpDrB8J8qdEF7ioxLsWv X-Received: by 2002:a65:5ac9:: with SMTP id d9-v6mr8290350pgt.238.1530179476672; Thu, 28 Jun 2018 02:51:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530179476; cv=none; d=google.com; s=arc-20160816; b=DnqThd8NqBrug3CmzmUvBdiDkOCyuzF8ncMn8EaYYgPiUPUjBGT7iFjJOB/QNCTE1i iv+u9vQIA+ebQpyvae37OQf32VK8vN7hgUprbsvL7nwaRHLDvaVwX/zhTckFbNaSdo9a h7z8xsHzS+mvlTKE9PJuWdj5bIdht0+jO54E7Ky3cS07Y7NHOm0WMeMBHw5GQdt/3W8x uzkm+iWr8V+55z8bBNa/jNd3HBrQ+7LcHd+h2ReKd0iqqnJBpeWYUe07QKF+HTT3EMip kM2rbh0PQlSR2AiVP/9e+ktEljHCcN0G8WCzN/PdWxKyhi/RL/EJma3wzkVtXkCrao0U c7KA== 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=egzWyK3T8Ov6ucobORvjv7jBxNQJz5gq2zeDfJ0v8ug=; b=Ws7m89btExnwCvw3PJweMrVaBKboLAAqsyevXnWql+nHHqkabHsk2VzAvjELayYY8L SOfiEjTlbSD/mEM7vrAxQJvs4tWR6e9R6CqFj/1ay0h/osG8irvty+yAT47dqMKbpZlb R/3rl0pEvD1vZLcNgU/d1o0fMC9JEMjEjyToCbEaOTTorNrh0mZDEZc0byJ7k3aIIrlC 4EC+hj3EQJ4oZi+tccL/CaOMy+MrWW0d29pysfEY9Pe7Bs/9gEuQoOLetU5AGB6adRGd OIlWswDu11xkheaTTfScHJ18JIyPmWPgNpeGftVRCaR9R2dD0XxdeGimTiaUIcmxN0rA gOnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=TKsY0bqK; 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 3-v6si6666793plh.34.2018.06.28.02.51.16; Thu, 28 Jun 2018 02:51:16 -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=TKsY0bqK; 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 S965010AbeF1JvL (ORCPT + 31 others); Thu, 28 Jun 2018 05:51:11 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:38186 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964936AbeF1JvF (ORCPT ); Thu, 28 Jun 2018 05:51:05 -0400 Received: by mail-wm0-f65.google.com with SMTP id 69-v6so8288291wmf.3 for ; Thu, 28 Jun 2018 02:51: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=egzWyK3T8Ov6ucobORvjv7jBxNQJz5gq2zeDfJ0v8ug=; b=TKsY0bqKkQsWo75r/BJGJV3ZE/IfDC6MsXcc1S9jBDCfHIpkWwi02HN3xzdx3vk3tZ lUfgZIYoK1uyXsu8RHHQsQl9BWT/CeBZxWqXknKrGbAUMwFHDyiTwD+hNirK9SUwla4V sLxnnhSNuqkU9bR83hEgVpNVw0uBQC8d3Nm1WDFDWGjHBHin6xJpM18UckwSAko9dt+Y 4kQftEaVHT+hv3EICLWH6moLYMkBBTOkB8Nf29ejpv0arMa6kn+nrlcoZNOlY+jxzH8Q Na7hjuFgrqAuBGFDsPC3ovm5vhbmQtvPfDtApAlCOp7eiTUG0FWK8RrHGoiX4Q/9tcWg IXiw== 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=egzWyK3T8Ov6ucobORvjv7jBxNQJz5gq2zeDfJ0v8ug=; b=s+PRm9Nkx6IccIQ3ia7FyPNqxPPO2BStVZqZWpi6YO+b5O4pW6FS5ISabGHfmSunz1 GPSGkt11BlWsilppYAu/Oh0AkNv+NfgmFrLFKbiVXr0obQmxB7vEwrlteX5EBBdEGKYW iGFP1PRRkiaeC0KJHGV4fQ6ji5DnuTXMiVuveUSsrB33xXuRugoVUH0qTJ/H4tY5V21l ceUKKcNMy5Yr0dZyf8L2mBdvlk6/vSftKKS42FfwPdhbw/QptTJoERStQm5ycG7N9Xr0 EcDzithl8WpKQIJ0DGLwpIuXoiDX71B7r1Wh21GuGQh8nIqKfaz0STArYDfhbz8xk3Dd Z/rA== X-Gm-Message-State: APt69E1kl5K2/j+bT8Tc8FwQkfiD05fr6xV3ZzQwjRYGbWNq2MXkyvDS elx64hjeq2/IBpiGne5Vk8ttVA== X-Received: by 2002:a1c:c289:: with SMTP id s131-v6mr551165wmf.65.1530179463623; Thu, 28 Jun 2018 02:51:03 -0700 (PDT) Received: from boomer.baylibre.local ([90.63.244.31]) by smtp.googlemail.com with ESMTPSA id w67-v6sm6413476wmw.0.2018.06.28.02.51.02 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 28 Jun 2018 02:51: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 3/3] ARM64: dts: meson-axg: add s400 speaker amplifier Date: Thu, 28 Jun 2018 11:50:54 +0200 Message-Id: <20180628095054.13433-4-jbrunet@baylibre.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180628095054.13433-1-jbrunet@baylibre.com> References: <20180628095054.13433-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 first of the two tas5707 power amplifier present on the speaker daughter board. According to the schematics of the S400 v3, only I2SB_DIN3 and I2SC_DOUT2 will be available to the speaker board. 9R83, 9R84 and 9R18 are not connected so no audio signal will be provided to the second amplifier. There is no point in enabling it even if it is visible on the i2c bus. Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+) -- 2.14.4 diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts index 0b655570b7c2..1927282e8530 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts +++ b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts @@ -147,6 +147,19 @@ status = "okay"; pinctrl-0 = <&i2c1_z_pins>; pinctrl-names = "default"; + + speaker_amp1: audio-codec@1b { + compatible = "ti,tas5707"; + reg = <0x1b>; + reset-gpios = <&gpio_ao GPIOAO_4 GPIO_ACTIVE_LOW>; + #sound-dai-cells = <0>; + AVDD-supply = <&vcc_3v3>; + DVDD-supply = <&vcc_3v3>; + PVDD_A-supply = <&main_12v>; + PVDD_B-supply = <&main_12v>; + PVDD_C-supply = <&main_12v>; + PVDD_D-supply = <&main_12v>; + }; }; &i2c_AO {