From patchwork Mon Feb 19 23:11:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vicente Bergas X-Patchwork-Id: 10229189 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 E14FC602B7 for ; Mon, 19 Feb 2018 23:11:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CE03226E69 for ; Mon, 19 Feb 2018 23:11:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C2BBB26E97; Mon, 19 Feb 2018 23:11:56 +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=-1.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM 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 E000C26E69 for ; Mon, 19 Feb 2018 23:11:54 +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=dWXLf0QfgYU/zfwLn83cO4AQBy/6sUiNC7azGaAO0rs=; b=XOmhLxVbi+VRIWy34RkpK5wgcR OxZaaItkL7s3bpujr+Fgppakje3LmkVRC241NtZWleS3RCqgn/cYgDfEUjvNVr3Fwj/gdBc8O6sqR jo3AS2OWct7N8pYbXE2bkd+5AwEEbZ2TcmLN+KS8V/S5LC0lBC+Qsm3Jovgr6cMEIMonJjbK7XIDr xuIYBhKUiM1nSSqm6nArU3oy0f7LpklCgmLw/sicU63DgyFtZFliTK/pRStlZJ98LCwybuk60k9+W D7qbCCqS0wFkUMH6SOQwXECr+uVOUg+7CCsP00yuRtnAlT2wu7TfSlJfml+PHhjk0H5T3osT/SCsR mHDZwIpg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1enub9-0002FO-Fu; Mon, 19 Feb 2018 23:11:51 +0000 Received: from mail-lf0-x244.google.com ([2a00:1450:4010:c07::244]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1enub5-0002DS-Te for linux-rockchip@lists.infradead.org; Mon, 19 Feb 2018 23:11:49 +0000 Received: by mail-lf0-x244.google.com with SMTP id x196so1611508lfd.12 for ; Mon, 19 Feb 2018 15:11:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ccoDTSjaaMNbh6EN892pgatlcLAoCuy/udwbeOd/Pfg=; b=ovscbbdLqv8ZPl1IF5eFO9+Q7udpGU6gnMr1y1jh2leR0y1nKjDOONsezjFJdf9Wv4 DN+IY7ydNm2x4Kg/QFb9NOONYB9A4yk0tHB7CvlOKE1AhOusjAu7PRcD8YtxIXGj8nwv DIq7hv7UpKxDMysl7r60DUyZZoX2O0v/p9VqaGFfKpStDHCfzghEsHMbflw3okJpyaP7 tBZqck+1L/V0Jo/jHZi7sQOohODcqlFU7vdGf+ki0wy14eRvPlwX4s8maki8AAaQbVYk /rE2h7Go2XYQimdzg5VSt1hNutpiDZanO0N4mmP+uhQAUd2E1xfVRWddREhAd6vsy/OD 3tCw== 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=ccoDTSjaaMNbh6EN892pgatlcLAoCuy/udwbeOd/Pfg=; b=nLfmVP3Lcwl/U3yHWRHgsE4tZxL1O2yto0U8xLe+2PH4rCuHjjIwqWo7dAhxSMXO/p gXvI2u83a2pk988rEk9NWkJjxRwHop77SFliRIrpPfaRv1dALU6gR75Tr7nASg9Xf9wC Y3J4q1/QAJBBK+yRaIjtzLDu8jcKeFUMC2ReFQwKzXQHYdkk7N9lj8SGS5SU5XTAX3G7 DxZGELcIiYjkpz4IT4Dry+qMb4vEJE0EOK6BXGkiQhPZ/lgXdSfpky8t07wLjmzM768t rqM6CL39H/R0J57eEQ0lxBn+8vOEcrWzPkFxR/6o5/S1Vz02z6w8WTo/BBCFlPqIWJ69 aWPw== X-Gm-Message-State: APf1xPAQH2utYxQPEsX6moEw2dxaKW7056Y/zviQyOGTK5aJgEoGN8P1 1AZBWrT1OZBQHfsFdQ3KZR4= X-Google-Smtp-Source: AH8x225euS0FJ94IXTJVNwK0uecwxC7dwOgWH4faFzCQAr6+t/UvUgvjqGIJczt7ukMG8zliSCiGnA== X-Received: by 10.46.88.84 with SMTP id x20mr11164585ljd.44.1519081894330; Mon, 19 Feb 2018 15:11:34 -0800 (PST) Received: from localhost.localdomain (x1-6-c4-3d-c7-28-62-d2.cpe.webspeed.dk. [80.198.72.241]) by smtp.gmail.com with ESMTPSA id 74sm2789510ljq.32.2018.02.19.15.11.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Feb 2018 15:11:33 -0800 (PST) From: Vicente Bergas To: =?UTF-8?q?Heiko=20St=C3=BCbner?= , linux-rockchip@lists.infradead.org Subject: [PATCH 1/2] arm64: dts: rockchip: move rk3399-sapphire i2s2 to daughterboard Date: Tue, 20 Feb 2018 00:11:01 +0100 Message-Id: <20180219231102.9090-1-vicencb@gmail.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <3840224.sEPfbROKII@phil> References: <3840224.sEPfbROKII@phil> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180219_151148_017523_480D70D2 X-CRM114-Status: GOOD ( 12.17 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vicente Bergas MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The i2s2 drives the HDMI audio, which has the connector on the daughterboard. Signed-off-by: Vicente Bergas --- Hi Heiko, I have tested your patches on stable Linux 4.15.4 and worked fine. There are only two missing bits: the power-button and the HDMI audio. With this two extra patches, I have been able to test the power button and it worked fine. The HDMI audio was not working before nor after, but, the TRM says that i2s2 is the audio source for the HDMI port. Regards, Vicente. arch/arm64/boot/dts/rockchip/rk3399-sapphire-excavator.dts | 5 ----- arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi | 5 +++++ 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-sapphire-excavator.dts b/arch/arm64/boot/dts/rockchip/rk3399-sapphire-excavator.dts index b7bd88fb3ae3..6027846ffd3e 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-sapphire-excavator.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-sapphire-excavator.dts @@ -207,11 +207,6 @@ status = "okay"; }; -&i2s2 { - #sound-dai-cells = <0>; - status = "okay"; -}; - &pinctrl { buttons { pwr_btn: pwr-btn { diff --git a/arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi index 0f873c897d0d..21b05601f04a 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi @@ -440,6 +440,11 @@ status = "okay"; }; +&i2s2 { + #sound-dai-cells = <0>; + status = "okay"; +}; + &io_domains { status = "okay";