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: 10493405 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 4A72F6022E for ; Thu, 28 Jun 2018 09:52:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 34CEE29442 for ; Thu, 28 Jun 2018 09:52:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2856729752; Thu, 28 Jun 2018 09:52:26 +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 D041829442 for ; Thu, 28 Jun 2018 09:52:25 +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=hNWmq5jjNbeCMYRGf28xWm/sT0rqmnwXdmapQeaW+Uc=; b=TY/M/a6F7pYdagAoS3b1IR1Kxj r0NF1ZKuegbjBC++KFQnP28T4YXCvT410ox8gAsKVozWYPkDdLCbCR39cdoYm6PODjOsldle5K6fK mqWgI+Z42Q/Ke3d171+Hr/U9y5fd1J3kuO3ZynGhWv4bsPWro85njGSBYDDodZPfi3sTecYZxhE6q H8sdFOEsBu36MiMRhcMmKUfnqmevo2KBOrzBRy5G/kkfZaGK0B83jJshaEYqbMN6sqI0AjPt4YXw9 22dS+Dc/cPY2oHzRhKII+4Xuj9M5AkCsD8BCEk9DwTlSCM7H0Xrh4xW7sXDBiNq0K0cQkx+H9+3xc eM/KYiiQ==; 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 1fYTbC-0001lR-MJ; Thu, 28 Jun 2018 09:52:22 +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-0000z5-0Z for linux-amlogic@lists.infradead.org; Thu, 28 Jun 2018 09:51:19 +0000 Received: by mail-wm0-x241.google.com with SMTP id b188-v6so2768734wme.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=becHczq8ti6jsviUHz4Xt9wGPSRwKEQ6zWrph1kr4x1rSKdiBbED//FZZaelqVjETa zISsO76OuUdY2C9b2CcnwAa5NgJkqN70u/lKHjYHA8XXIWsqKGhxv6qw79cisoTPHqVB lkuwMgz+qVmp87tONAcXxtLmR+XcM8NvERobawQmN63FDuJKl6e9BLT5qbrfHavSIc+6 yLDrD1/VcMjI4xW1UwBjiWxxNbSnr205LVqu8a6GloyH7dL4vaomHQVF7lodKXZZCdLg A6daFep1ufTo/bh2dbuP27CMMu+JhybAa9a1/41QrdESqTnHjiYW2ntDohlbW23wyL2z baEQ== X-Gm-Message-State: APt69E2kKjVlPomGCe1oDCgG15ugD1jD4NpoBv6n9JDAIFbWjc08GAV5 gDqcky56wv2ApFpRb0agRFvCkQ== 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_289504_312FCD9B X-CRM114-Status: GOOD ( 11.63 ) X-BeenThere: linux-amlogic@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-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=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 {