From patchwork Sun Dec 3 20:41:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vasily Khoruzhick X-Patchwork-Id: 10089403 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 0B4026035E for ; Sun, 3 Dec 2017 20:44:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 149C028DD1 for ; Sun, 3 Dec 2017 20:44:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 07F2D28DE5; Sun, 3 Dec 2017 20:44:42 +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=-4.2 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 924C328DD1 for ; Sun, 3 Dec 2017 20:44:41 +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=vbC0IYwoqV9vmknYJ3udMPB1I9OEwyZUqqY+0jW/BdE=; b=OXTlB+Q/Xk8W4N2peky6RHr3sO y6bHJchmF/eSjIeF7VpVEU0FeGZQD0FwMBM5TAvcbmWIk0iy5rlflxbZ0GLMGMWBiXtZ49NyDuPQk s6n4U0/GAWeviQbbtZHXgayM4Z3NP2bmQTuPopJ1Q3VRoqIO7PYtAPi6Uyz8PEAEnnPS46hKgT8rT rJRjZ8NrP9Inj+WNJAYT6KRQms1OiNLpXD+4J0bOZ0nRkzIUPEJfbBtyahaJ+25+Ote/c/W/stQXI vq7RtdeovNyWtQRr4LH2psFq+u6CyZZla0LcoTdamalFujIfAdcdIKzeYxi6XS0hvRMVNuhCk7yi1 OegwS2SQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eLb7w-0000f7-Pm; Sun, 03 Dec 2017 20:44:40 +0000 Received: from mail-pg0-x242.google.com ([2607:f8b0:400e:c05::242]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eLb5r-00070M-9I for linux-arm-kernel@lists.infradead.org; Sun, 03 Dec 2017 20:42:40 +0000 Received: by mail-pg0-x242.google.com with SMTP id g7so6754112pgs.0 for ; Sun, 03 Dec 2017 12:42:11 -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=XwXysUWXidAge43lPo/7lZXTv4MeF5hw4E33xXdC9yQ=; b=Mn3RtyFRWdteoNk/DdRA5egSgmwdpD0UhIABbQ4zEoJe84PFQFnfiLqpQpRmxDJjOb LLpY1ou+8mtt+sAZRM3FfoYvZyCwwHxGO6m7xYOjgfUaeKyKISnIvng5C6SpgpVvtZfj zMJnbHK/1MuqrVHySINFhgka1vbV4tu/mZR02Y8H/AHgk8zKNzOVipLT2hxqDKnYCmg8 4yIsjIp4+VVklvKfZrm6OV5PWu2sQOdsD8T8ac5vPlnUuo4XRX8b/anQJq8zhCS1z0UQ DuaZO6BSxFGoqo2l4/INpD0UOeV+4rw17wlr01ekNOQKKzgot9Od7JuEmopb9FPnwwsW a0lA== 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=XwXysUWXidAge43lPo/7lZXTv4MeF5hw4E33xXdC9yQ=; b=bEn/+auClJ+TPbfQE2JnJ1fCIZD7PVHRioPXDcBHKS4MITw6rnFL4UkjtfbR/ciFef K0bBTePUfeUZxd5f+kVGWDRYlhO3Y7zywRPIVxMtWVGM8f2mN3z7h8UyNS9rIYg98Rw+ ebC8SV/AV922khyvgx7KVRa2CAJuyGbFKxbbu7dPPUSUjFzwm8KhGSDmZh9t597Raz7S YHjnm4W3jVVWFYHemjxncX/qu+NqOgzrZuz/uzBsbd0bO3pUfRi/ZZQx2NGU0BzslYrm 1oJBuqy5bK4JxFEH/cucsTAU14eTmzCXLPv1Z0PsbNPP0MPW7VZ9cTCYyWrIWCeSeVJA 8q4A== X-Gm-Message-State: AJaThX64QUdtzZir4jK6OT6N4Vc9lZ+9zNNPZAYnG93+SQkOCMXRLCMB X0VAR5+bP/ntLdBfFz00IoM= X-Google-Smtp-Source: AGs4zMY9TiouqHhmAPs6hwipwmv/jjXuRctttRxdzJvOYPJm+eE0Z7UO6XcogTYttppr8wCz57nH6w== X-Received: by 10.99.108.5 with SMTP id h5mr12407733pgc.113.1512333730874; Sun, 03 Dec 2017 12:42:10 -0800 (PST) Received: from anarsoul-thinkpad.lan (216-71-193-140.dyn.novuscom.net. [216.71.193.140]) by smtp.gmail.com with ESMTPSA id z25sm19264929pfe.121.2017.12.03.12.42.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 03 Dec 2017 12:42:10 -0800 (PST) From: Vasily Khoruzhick To: Liam Girdwood , Mark Brown , Maxime Ripard , Chen-Yu Tsai , Marcus Cooper , =?UTF-8?q?Myl=C3=A8ne=20Josserand?= , alsa-devel@alsa-project.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 9/9] arm64: dts: allwinner: a64: Enable sound on Pine64 and SoPine Date: Sun, 3 Dec 2017 12:41:57 -0800 Message-Id: <20171203204157.20829-10-anarsoul@gmail.com> X-Mailer: git-send-email 2.15.0 In-Reply-To: <20171203204157.20829-1-anarsoul@gmail.com> References: <20171203204157.20829-1-anarsoul@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171203_124231_654056_286B740B X-CRM114-Status: UNSURE ( 7.87 ) X-CRM114-Notice: Please train this message. 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: Vasily Khoruzhick 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 This commit enables I2S, digital and analog parts of audiocodec on Pine64 and SoPine boards. Signed-off-by: Vasily Khoruzhick --- arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts | 16 ++++++++++++++++ .../boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts | 16 ++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts index 806442d3e846..369d9b749521 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts @@ -64,6 +64,18 @@ }; }; +&codec { + status = "okay"; +}; + +&codec_analog { + status = "okay"; +}; + +&dai { + status = "okay"; +}; + &ehci0 { status = "okay"; }; @@ -229,6 +241,10 @@ regulator-name = "vcc-rtc"; }; +&sound { + status = "okay"; +}; + /* On Exp and Euler connectors */ &uart0 { pinctrl-names = "default"; diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts index 0eb2acedf8c3..9de5ddcc3656 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts @@ -69,6 +69,18 @@ }; }; +&codec { + status = "okay"; +}; + +&codec_analog { + status = "okay"; +}; + +&dai { + status = "okay"; +}; + &ehci0 { status = "okay"; }; @@ -133,6 +145,10 @@ regulator-name = "vcc-wifi"; }; +&sound { + status = "okay"; +}; + &uart0 { pinctrl-names = "default"; pinctrl-0 = <&uart0_pins_a>;