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: 10493401 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A801D601BE for ; Thu, 28 Jun 2018 09:52:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 933C029442 for ; Thu, 28 Jun 2018 09:52:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8721129752; Thu, 28 Jun 2018 09:52:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 327E229442 for ; Thu, 28 Jun 2018 09:52:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=ILRP5OLqlZXNfjpeii0cymL6DOb8v7+RAZ0hFc2UjeM=; b=PIRt8kSLFdGNWYLcJ4aawIfxXK ktnp9OBTLM8tyNG2KUpK0BAQITsCG7KE4+a/rW5MapeMY8shFlSyv0x1c/yp375rJ/vpPKtyAlpPb q+H9dE/p7Jd6bPi6lZJH+FkoDALL0AIUOH0pU/SnwgcSJ504yBYpeaqAIxiLIMDUq7N3PLWatWCtC NcACie2W5hxT/fxLhpiguiY8Yqk4yZzte7rV5ge0hkl5btQ8deoqg9wkZ+ymrLxNdoaGrZhTEEacR K71hd/CRd+908M0tyz+rYYDoh+M830S8LYfTh+jDV+ueL12xv+xL+iPwHlNMy5d2Oe/7+QWMWHboj VftLF9Jg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fYTaq-0001WP-0X; Thu, 28 Jun 2018 09:52:00 +0000 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fYTa5-0000z4-0W for linux-arm-kernel@lists.infradead.org; Thu, 28 Jun 2018 09:51:17 +0000 Received: by mail-wm0-x241.google.com with SMTP id z137-v6so8364567wmc.0 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=bimqMamg6kk3B68LLau6aC5/sKow/3UD3uh963iaIWIqHCT9CxHVub2xFJWEUcBwpa zTQxvtS3YDvfUgq7ir6go25BO+bjHRg3m4DScmnQZnHzoGKOxEaeK1a9hKbqNn5EsqfT 6uAOIuNEeW+dxvyfL+4sieHeAT2bLQKafhCh1+vZyH94xfDZgdDvj6cDL4IxlM+N0fn6 8gWQHS4pCphnT39glgfYN5VT+U8N1EefU3byAcFGeEsbikzEKSCNhQjqTDHXgfxuRyr4 v/D5PaCXzmhybRnCW29mS3tuPfWdFcDq1AzNh5p7OPqxFlgZUaT64iLFbHFGiMC8DAZp QhoA== X-Gm-Message-State: APt69E1zwSgRX8SbdtH7V+rm3baHFRnlB0/fXrOOXpO7QkAw5zpMDcOq V98cINVDGodVM2AccGwXkdxLWg== X-Google-Smtp-Source: AAOMgpcMNXU7ZqIfITxK8LUjKFVLO5lM6XJMKYedNH5GTrrisdQfUU0zyd16lKVg5YzniJ5fm4enhw== 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180628_025113_160348_64077890 X-CRM114-Status: GOOD ( 13.40 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jerome Brunet MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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(+) 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 {