From patchwork Tue Jul 24 12:52:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10542131 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 98A9714BC for ; Tue, 24 Jul 2018 12:56:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8561B28807 for ; Tue, 24 Jul 2018 12:56:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 82D8B2881C; Tue, 24 Jul 2018 12:56:41 +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 29965287BE for ; Tue, 24 Jul 2018 12:56: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=NQRgFAtRtvnQ5d8thwolSkuWQ/NgPiyhkO8pKI+CD9w=; b=mdWUcjpMREEj5chz67tBLti1wI ZXMeRNOzLH4pxe9hMSwvYuPod3xwzQfVFwf7ZdijxV1I8ccICZc0Vs2hLK/9TC4K6VdLFsuI7GKfC FbtHmQnv3jxMLQKsnHN+NA8ge+HzY7lLNd6jeXAA8+lv39nMAMs8E0FIxIw1kBE1TrY2+8dyf/DR/ 49ZFKdifUqjgrzY1fzbS5rYA3L2IU0aLMs3hunbqRfSs1klkzWafLlL1FYwJuH0JjyfZjDG9rJJ9i Hth4DfIlF7HSUgXDJsIR5fE0cGw4k9cJqOxbomc7Og2KJH6v7RhxA/t3mmgcu6xQNrYrOVjItrE+x iNjY+VaQ==; 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 1fhwrm-0001Cn-2X; Tue, 24 Jul 2018 12:56:38 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fhwoJ-0005F7-3S for linux-arm-kernel@lists.infradead.org; Tue, 24 Jul 2018 12:53:07 +0000 Received: by mail-wr1-x443.google.com with SMTP id j5-v6so4023009wrr.8 for ; Tue, 24 Jul 2018 05:52:52 -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=azOuaUqMZk0xUFz8dZr+kVxbhyFqH20DyfFkWEm9Ipo=; b=2LsgblgNyzPBYDtqkncue94OJsJBicD91bAgUE6yRkIKZe0cPn6c2rnSG0sNI6T4AF 4byIfiW9LYWeNT/l7AjXZth6aX6sRaGt3IMdp8SCwlAsOndLFdJ/bsPMvkJa6tDptyz7 Ba0m6wEQTtubJg0v6Q3L326A14yiHpd0ScnH1AmancYTVHrxlNW0uIAGjS10Ewg2FzXg /wR6fFOTfps9kIgTNnuYnt6a6ScExS0kjwd9eB2yAM27clOZ7CGM98LvrfSH79McSIW1 NL8q4nboXFdh5wY+ir9kU/KLj8YprHy9IZ2JjEuKLzzh3J4BsY9hE0TGHqfPF4R6kwId CKvQ== 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=azOuaUqMZk0xUFz8dZr+kVxbhyFqH20DyfFkWEm9Ipo=; b=gbvoBnsyjXRigrbQAJHUleDJ8rHBzRZLlK9TXAAfPoecD/bqdjS+kWbxde22pKEXdk IMTxDnhdOs2n/GRwofEaQ94iNILHJYhTC0otFZrkhmrASZOiIK+LZ5EDNkkTddDrdQEz 6QeuHUaNac0yeX7B2hL2YrhqT1fF+rpB4JwEwSzJJB/66EqoEho4UkwZKfm99a5eVkT+ aNgxFgDGH6z7zbhqkTTSRxQbI9dE47IPhnNj8IP+wZpsxSceBFMQiexoSHmLdHz2BxLs IRP5RMTSIGJiTaJd7thozT0TY81vzFOk3vtxBSk9JWyntrmgGa7yLDZ7GZGWZ8DdV3o0 f8eA== X-Gm-Message-State: AOUpUlFeYmugWfCvAjpEvTBLIP/73L7cRZ/B5WbakxyaaZecXRRC2+B8 /om/FrDmfcmwgZAwKUJntPUB7w== X-Google-Smtp-Source: AAOMgpc5w4cbmQ23CP/f7FnF5cxjRhMD7myQEDntqmNAC3ytXvGayeVLRIU6mdHRd5Tu3IbtWxmmdg== X-Received: by 2002:adf:e0cc:: with SMTP id e12-v6mr11377913wri.199.1532436771511; Tue, 24 Jul 2018 05:52:51 -0700 (PDT) Received: from boomer.lan (cag06-3-82-243-161-21.fbx.proxad.net. [82.243.161.21]) by smtp.googlemail.com with ESMTPSA id e7-v6sm20834235wrm.14.2018.07.24.05.52.50 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 24 Jul 2018 05:52:51 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Subject: [PATCH 01/14] arm64: dts: meson-axg: improve power supplies description Date: Tue, 24 Jul 2018 14:52:25 +0200 Message-Id: <20180724125238.14567-2-jbrunet@baylibre.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180724125238.14567-1-jbrunet@baylibre.com> References: <20180724125238.14567-1-jbrunet@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180724_055303_206431_B2969DDC X-CRM114-Status: GOOD ( 10.28 ) 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 parent supply of the s400 power supplies. Also add 'regulator-always-on' property on the regulators which can't be disabled Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts index fd90fa4a282c..09c7909a78ea 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts +++ b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts @@ -65,6 +65,7 @@ regulator-name = "12V"; regulator-min-microvolt = <12000000>; regulator-max-microvolt = <12000000>; + regulator-always-on; }; vddio_boot: regulator-vddio_boot { @@ -72,6 +73,8 @@ regulator-name = "VDDIO_BOOT"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; + vin-supply = <&vddao_3v3>; + regulator-always-on; }; vddao_3v3: regulator-vddao_3v3 { @@ -79,6 +82,8 @@ regulator-name = "VDDAO_3V3"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; + vin-supply = <&main_12v>; + regulator-always-on; }; vddio_ao18: regulator-vddio_ao18 { @@ -86,6 +91,8 @@ regulator-name = "VDDIO_AO18"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; + vin-supply = <&vddao_3v3>; + regulator-always-on; }; vcc_3v3: regulator-vcc_3v3 { @@ -93,6 +100,8 @@ regulator-name = "VCC_3V3"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; + vin-supply = <&vddao_3v3>; + regulator-always-on; }; emmc_pwrseq: emmc-pwrseq { From patchwork Tue Jul 24 12:52:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10542133 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A376F14BC for ; Tue, 24 Jul 2018 12:56:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 91EAA2874A for ; Tue, 24 Jul 2018 12:56:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 860912877E; Tue, 24 Jul 2018 12:56:53 +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 36B292873E for ; Tue, 24 Jul 2018 12:56:53 +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=7PkQAJj8FTrHXNFk9i88wcCjRIturZCk1Yt3gzaNSAk=; b=RTh9Rb7vY6U+2eRb58QtPTRPxa CSPljxGIAMSZiO4GicP20YnCJ8zG9e83wjWFOhdp4/MdS6Aw/xDDkyr9e5MW7ViKnxlSIdcYeSxmK u+0XkKz4L7mkEYPMM5NUqxE+Hi4kuNcB55lGjKRP5OGOEdHKoh63AbyRrbfKjE7xp/IONvsnRy0J8 SwU80bKoYhNbtpQCBclGl9U4qDcYUyAA50s55RSZZhDEPcSPGST9cPuPs/3fHha0SB44H3G0JCQg3 GHA0ThqahP6tIKcU6iFo7cXySwA7HP1OproNhzZxkcNJ/B+pRfMyoMLGp2+J9Po6NKWJb2MXrOkTN HWYaw5xA==; 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 1fhwrv-0001Re-4w; Tue, 24 Jul 2018 12:56:47 +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 1fhwoK-0005FI-BB for linux-arm-kernel@lists.infradead.org; Tue, 24 Jul 2018 12:53:08 +0000 Received: by mail-wm0-x241.google.com with SMTP id y9-v6so1606021wma.5 for ; Tue, 24 Jul 2018 05:52:53 -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=2GREtcfme2in64QICT7lyVEuNv1cb4paYqlUc4XsvUk=; b=YZmhHUkQs+PtGNscEDMR3Bupa4hev6beagx4ss3sJ22ekDsoUCOj3rlEQycXZUftOJ UIr7zsD+stt5ZADVtbjS3aJ55RQpM+R/YsP8y2SmiInfNOk5IOhAW2HCt7nw8lkDTtff KBDZP9FlyQcd5Pu41PqdEiT48cNF/WlNCqCZ3//gWWyD4zU6GtYcB79k/enZDZXYnC8p +Y/JAnfGpasDbY8RWMuqHVy5kbTFxFYAhnmtLH4PS3wvPgYp8+yS1CtkgpSXUr3lW4Ow 3g6OvxFmpV1V6W4l/wCt1ZB4CwcH99VPdQ5wk6hBw2PAMxl4anWwHyvQfwZ2oLOO558U SvJQ== 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=2GREtcfme2in64QICT7lyVEuNv1cb4paYqlUc4XsvUk=; b=LJXzRsFAAsKEzjMlokCQ4hWkHHcz/eXNkumZBOd3Pb2OpbiLMjZoBXTl/5AKhqJhk2 ESMFcWF2M+otwqXbWWwiytr6RuDOzwi4287ml6bwTzK5A1OmkJ543gZcXChF8ca1Chq1 TgVglTSDGkYb53CDismq0p25gf6As3/BIGE9wHOyb3jrzo4Yku/feA1/mzBjTCOU8Z8K 5bLMBZc5OsD/888ZGYVy4oTif4ZzH8UuZwGTfTnCz+eFSIXaL8szrr+gHcOZjXSUE8dL KVqeMcxbUgC4PWmbWj0JMbO6aKYA+GDJ0CG5QTamYKKGvpEtCId1UksF3wMrxpyibofg e+Lw== X-Gm-Message-State: AOUpUlHVbC6Du42aMTLnhhh9CG70rulJLaEP7r7grOu2VdiMzJId6tI9 V7TPhwI/9m5/WEuiMSL7fx0vYw== X-Google-Smtp-Source: AAOMgpe7aNudb0/QSS5Jb9DugDCd7zDE7fITtW+JR4ZmYj6TOUMtt+BLcKdVfzPyAzra6FkgkwNE8Q== X-Received: by 2002:a1c:c44a:: with SMTP id u71-v6mr1879789wmf.43.1532436772712; Tue, 24 Jul 2018 05:52:52 -0700 (PDT) Received: from boomer.lan (cag06-3-82-243-161-21.fbx.proxad.net. [82.243.161.21]) by smtp.googlemail.com with ESMTPSA id e7-v6sm20834235wrm.14.2018.07.24.05.52.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 24 Jul 2018 05:52:52 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Subject: [PATCH 02/14] arm64: dts: meson-axg: add vcc 5v regulator on the s400 Date: Tue, 24 Jul 2018 14:52:26 +0200 Message-Id: <20180724125238.14567-3-jbrunet@baylibre.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180724125238.14567-1-jbrunet@baylibre.com> References: <20180724125238.14567-1-jbrunet@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180724_055304_535762_3112E13E X-CRM114-Status: GOOD ( 11.43 ) 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 This regulator is controlled by a GPIO and supplies various devices on the board, such as the lineout codec, the usb supply or the lcd controller. Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts index 09c7909a78ea..5937d8c3a6ed 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts +++ b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts @@ -104,6 +104,17 @@ regulator-always-on; }; + vcc_5v: regulator-vcc_5v { + compatible = "regulator-fixed"; + regulator-name = "VCC5V"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + vin-supply = <&main_12v>; + + gpio = <&gpio_ao GPIOAO_13 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + emmc_pwrseq: emmc-pwrseq { compatible = "mmc-pwrseq-emmc"; reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>; From patchwork Tue Jul 24 12:52:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10542103 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 54AB6184F for ; Tue, 24 Jul 2018 12:53:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 427692874A for ; Tue, 24 Jul 2018 12:53:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 36C50287AA; Tue, 24 Jul 2018 12:53:58 +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 3DE142874A for ; Tue, 24 Jul 2018 12:53:57 +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=mKYDUQon8ooWD4D3ehx3eaAik4jK1t5XLXESviHgFLo=; b=lFU/q4NdQXLqwsJ+KZ6Tj67eFg Vg4+YxgSBYeNTxddFhephFbpgWXWjWrWoYUsPe5OgUUBUj7PSqDxGpBIg5Fc29eCOgZOjhJiciuh/ bpfG47DDV1eKnSOSmDTuHz51kvjrLJwDJGhQ8s04esgUfXLQvOVYt53xcKWCssC3dIM02ekDppRq/ Ee8bpMtltmiYutlwa/xTXNbIeGP9vdYO1mh5zdEeLwSEHc0p9EaRjPyk1oduFES47u+vlWe7DfrRG lBwaE9S4OYbR8ik2gv3DaseJrL3t/xaair1FcOH733iSuitmDP2sufSTX4WSWAOFk66W/USC41wIO TLM2ZCjw==; 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 1fhwp5-000697-Pu; Tue, 24 Jul 2018 12:53:51 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fhwoL-0005Fg-Co for linux-arm-kernel@lists.infradead.org; Tue, 24 Jul 2018 12:53:09 +0000 Received: by mail-wr1-x444.google.com with SMTP id h9-v6so4044083wro.3 for ; Tue, 24 Jul 2018 05:52:55 -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=JF4KYbfyyrHF4hNmFCqjiaDZt8KzLJb+8PFQp5qxrj8=; b=gy5fFWpqsJdyckhkfN5bsvi13woRtOzcz0o5HyJJX/Tfo3eBHgyH3eyIUw/4VsQbtu h4tSwrtXxgmzTvAvcnEJ6sUrZQla066GdYzOP9UfMJxGv5pH1wtIhN0PCpaWXBeqQi2/ Ec5EbbuwAFttvLrk9/V8pVzyyAVdMj+dYn5Pu8Y39ffx/3zpHN+zZ0uebb4j4nPR6MzL 2z0OsNUKVMWzlBOwjuVc4fk0FqVFXmYuOPog1lUJdhj5fZpveZIu6NqwDPEJmkMHZoXI OCONQ/rxM63LKl2JLbUj8f6NpGfJg29PATff2AL01ieqiy4xzYNwobVOFFprPsIsON22 97YA== 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=JF4KYbfyyrHF4hNmFCqjiaDZt8KzLJb+8PFQp5qxrj8=; b=uRC/KZo2bAAWnMmJAbLr7utaC0y4FxRKo2GMws5TYkGUMxOdilWYOK5HhxkuvbsXSg U/6SNLABrez4HZHAdTeUzlhM0SYZLFFl1ZhkPRlmn61aYhPSfnOsd3aP3lzKOYLkda4d X0H0RuWDK4xgLqFOP1ygcC4ywEydxey4ZTWVu4y0kDY/PJYP/AwpH4q4msh13Ad4sPmj Gl5gGpagSfTIoFK8lCGr94A+AtaMDBe0Ziamarh2mZFxPwbHVZFfZdx01y26WFtfARqu nXg93sLxmrPaY20FHKShny2J6LY9pDw/OWBG3o39PRfaSpbOO3SnUOx/0MU566hLZiZl /hEA== X-Gm-Message-State: AOUpUlFXgrDXByMrEIo8IlQcsteWHZCO+TUyp9mlcI9yyJhSgD0VNqiS HKj6DGzUTFDuTMnZWk4Ni8aBMA== X-Google-Smtp-Source: AAOMgpehcpI8PNsetfDD7S6afxwcleXgtJmqHZbVBtotqUwphCIvN7AnuChtNataE0Di/8TRXKUTlw== X-Received: by 2002:adf:f390:: with SMTP id m16-v6mr11167785wro.279.1532436773840; Tue, 24 Jul 2018 05:52:53 -0700 (PDT) Received: from boomer.lan (cag06-3-82-243-161-21.fbx.proxad.net. [82.243.161.21]) by smtp.googlemail.com with ESMTPSA id e7-v6sm20834235wrm.14.2018.07.24.05.52.52 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 24 Jul 2018 05:52:53 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Subject: [PATCH 03/14] arm64: dts: meson-axg: add usb power regulator Date: Tue, 24 Jul 2018 14:52:27 +0200 Message-Id: <20180724125238.14567-4-jbrunet@baylibre.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180724125238.14567-1-jbrunet@baylibre.com> References: <20180724125238.14567-1-jbrunet@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180724_055305_441234_3C5D1731 X-CRM114-Status: GOOD ( 10.92 ) 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 The usb power regulator is supplied by the vcc 5v regulator and controlled by a GPIO. This will be needed to enable usb. Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts index 5937d8c3a6ed..7489b88f27d7 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts +++ b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts @@ -115,6 +115,17 @@ enable-active-high; }; + usb_pwr: regulator-usb_pwr { + compatible = "regulator-fixed"; + regulator-name = "USB_PWR"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + vin-supply = <&vcc_5v>; + + gpio = <&gpio_ao GPIOAO_5 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + emmc_pwrseq: emmc-pwrseq { compatible = "mmc-pwrseq-emmc"; reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>; From patchwork Tue Jul 24 12:52:28 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10542099 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 59A44180E for ; Tue, 24 Jul 2018 12:53:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 481042873E for ; Tue, 24 Jul 2018 12:53:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3C2922874A; Tue, 24 Jul 2018 12:53: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=-2.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,T_DKIM_INVALID 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 E9772287D3 for ; Tue, 24 Jul 2018 12:53:31 +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=2Sawx/X5Q5LGMWnHoN/CufzIENHB04oxDnmCLoNYEVM=; b=uf6DyYFMeY5PKzAr+CrX7wwWKA walTcwk7+W6zhpLnAAxudz/izsF/oCVnxAAoe9M6MvkxbvzjNoHPcSNhx745uIvMmWbRp/fFGy+An ULeQnRusZGWWGAdF2fgOa0mD5TtJYwn9/HbZFfpVhTI5FPpBODd+pcWZAIuZh+FQL2eh8XOUQUsaT H0ghTZ9wsorJgWG4JnKH/3ThtnmONzSzSwcQ9/Gj34TOYOf2aQNtwju7rJzOsdXyrProCVAoPkDZq BO3PEK4ns6+FL9ZH8PusEhSuvW0UWnQNKysYdJ0+yAKf5N9/BoGIxqVPNWbugQ7PRennlnYiKooP0 PMQTKu3w==; 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 1fhwog-0005ia-Hi; Tue, 24 Jul 2018 12:53:26 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fhwoJ-0005Fr-0E for linux-arm-kernel@lists.infradead.org; Tue, 24 Jul 2018 12:53:05 +0000 Received: by mail-wr1-x442.google.com with SMTP id h10-v6so4032375wre.6 for ; Tue, 24 Jul 2018 05:52:56 -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=q2gm9y/N9OWSpJqr6m3qsCkKZCUpLkEz5tg6SxUSEII=; b=QH88hvMKJcmYPGKBDwslYEWOXIxenau4uQBys8aALwLp+/Hq/+3SXQNEptn4YjglLE ZiqlnhrVp+AsPo4Xv1bGrH+yIzDE9fmLFT5KR6KUzKYmCamjOLBZarmE48KWJ4iHYKms SW/GcW1jsnvhwn1045ywJcqlhdRqtmEyl4Y81OY28CWdrt4VXFBhTpIKl0B8zsUrCk9Y JTAST7W0Lf6OqC18es3vgpz1uuX5PjWyuXuD0j/vjkowXlZ7mH7pFcNQP9Bgrfrw3ObZ ON2igwcaMcBaqBMXcBWJpyby+ugBJ0bCHIL+RldnC07reM+adijN/f2ax49jaxKXZI31 JrlA== 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=q2gm9y/N9OWSpJqr6m3qsCkKZCUpLkEz5tg6SxUSEII=; b=QmtmhN+InlojP0UlkSSowKLyu4Y663XTrl2fLqBpM1dxczZkSTBH5SxEnipTwIKKYU 1yOEUlBB42JQxCDykVZORr/nzXrzhUBttZgMiH9ALHfQGjRiwQKVqb9zhhVY3jfEaNRE MraCHP+KPmLS6AH4vMR1CioouWjCs31mQUS22LLhwtTKNlw8KUVruB+M1G2ZHQd1kkPi ZFnRYmTmZUem+Eao0xCu2z15SDcbySszJrfbAizp252hwy3ouyIRbntEc7SuaUvKKJgg NtqjrI0swy778feR+JPCs0tpUXLwxV8qXu0ljQjDZ1A2rT6pIZxpLCDcBnG3p8DNptUo Z+EQ== X-Gm-Message-State: AOUpUlE+G6fJAc21HTK3sCgYboTBz7ou9bFisAEtr8UZH2M5SvEEMMHw 7k9bsvTOa9yqDAq+Ic67rvDnUHC17ZqHkw== X-Google-Smtp-Source: AAOMgpf61jzUtpNO4Huckla0RIF+4k2vkAEAhGf9YZkXXJeuHTTHukdGq3jQa9zUbo1eB4FNNWWvhg== X-Received: by 2002:adf:ef8c:: with SMTP id d12-v6mr12311263wro.195.1532436774990; Tue, 24 Jul 2018 05:52:54 -0700 (PDT) Received: from boomer.lan (cag06-3-82-243-161-21.fbx.proxad.net. [82.243.161.21]) by smtp.googlemail.com with ESMTPSA id e7-v6sm20834235wrm.14.2018.07.24.05.52.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 24 Jul 2018 05:52:54 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Subject: [PATCH 04/14] arm64: dts: meson-axg: add audio arb reset controller Date: Tue, 24 Jul 2018 14:52:28 +0200 Message-Id: <20180724125238.14567-5-jbrunet@baylibre.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180724125238.14567-1-jbrunet@baylibre.com> References: <20180724125238.14567-1-jbrunet@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180724_055303_053138_5D4CC230 X-CRM114-Status: GOOD ( 10.39 ) 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 audio memory arbiter which control the access of the audio fifos to the DDR. Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi index 6adc8d3dbf0a..3893c630d969 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi @@ -189,6 +189,13 @@ resets = <&reset RESET_AUDIO>; }; + + arb: reset-controller@280 { + compatible = "amlogic,meson-axg-audio-arb"; + reg = <0x0 0x280 0x0 0x4>; + #reset-cells = <1>; + clocks = <&clkc_audio AUD_CLKID_DDR_ARB>; + }; }; cbus: bus@ffd00000 { From patchwork Tue Jul 24 12:52:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10542135 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 095E2180E for ; Tue, 24 Jul 2018 12:57:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EB5952874A for ; Tue, 24 Jul 2018 12:57:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DF0C2287AC; Tue, 24 Jul 2018 12:57: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=unavailable 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 8E7842874A for ; Tue, 24 Jul 2018 12:57: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=oM8y9kaCMFipr9vQV/kcoqF20nGoj1HP0ddwz5lt8oM=; b=PUye1zW3qp+XDpB7atahTmcXbv uJkdULMySYmE/3GQEnXy/BdqyIb4xjILH8nhI7/5f/CQArjty6oJTyH5S2eaWlVaQc0D5Je21K3Ik s8tY9s6RHMSJVkKPEVlrJPjqHEU/Ksw+DFJoIGEuUdmWAxvjrbs/Txv13DHFlHkcjXFOmiARfoBng W4Qqry+09T0ASS3v+c0jfKi5EUKWWHn1jAJMmB0rQgoqxEFX507levEMcYJTCypnSHSFvcsU1ARId RbkBHVk3vYsgByfrkDnIq+zTOxTQMPJ6dU5e3ge4LBwV/josa9k/wx9cVNo0Yf9DZY+qlYMAAIPOG ELbok5Tg==; 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 1fhws6-0001i5-VE; Tue, 24 Jul 2018 12:56:58 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fhwoL-0005Fy-Cm for linux-arm-kernel@lists.infradead.org; Tue, 24 Jul 2018 12:53:12 +0000 Received: by mail-wr1-x444.google.com with SMTP id c13-v6so4052211wrt.1 for ; Tue, 24 Jul 2018 05:52:57 -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=s2BTI8uCMgzn7Pm+aC1/UqH+TlJWfGQBNvuxxj87VzU=; b=CksN68V8puH0rrAa6sVVYNvMZ3UixRTIo3HBQGs+aTGaAYklJD6vbvuo8mjUPPvozw JATSPvn50+mVTSXnLIRzI1lGEmcKAr3pVt+KW+GUOSSaivKDqz5akhWxaubtoUajfN5q +UW6xn+A32fV9IQSEYGYU38guiL+SCunlYiEIt4CdPy9NnUrKQSgeJz9p2kPN7cyCAoV XRFkvwCm5A6tivI38duZUyeBUzKXaNZ9doki4CJQFtPeuZSOUecR8mFBakch5LAM0qfk rw9dVsJ9/A2xoE3etFRT6BT7X/Xfz0pGfsLgp93iu8DV0o2Qm7KYSZoej8Az9NoXgXMt 7pcg== 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=s2BTI8uCMgzn7Pm+aC1/UqH+TlJWfGQBNvuxxj87VzU=; b=KJE87ZTedJJjdX+BMpa6jSj+5ocXKmCDyW1LkNUpKeLAkz/UgWiNtTmxg3tWavEC6U v2KtJD/X5mE0Ojlfg3EYCSN8uqi9m5ZR73/YxzgbZAeQF90EDG5wXpBzYJZp+dd3JZg1 4fNi7SGpN8J4TjU5QoeeoPBZL0BAxdsoLvB7i6spLGEX2H9ID5WoLuh0Gr6eUPjhHma7 oIASQyJaI5VrEN8ga1O69Ji6uuNIYPOZs45UWOoFeCBOWCwydy8XmWpC/i+957XEkvqi L53MuRCR5wVXHcXC/jE7qQXBJwZxjmOXFMbKfeovld0D3qZXzMXIyG4S0ua+uT07cSje 21fw== X-Gm-Message-State: AOUpUlH/nQz69hwmhUG2cv0Ai+t8l5sCi6xdPjcMz3O2aP/Y4rc8k+r3 Z249cTMrzYFlWeEDNe51cIsibQ== X-Google-Smtp-Source: AAOMgpe1pQltfKXKLIJF9nTLdyYD4NYhcJcHFRd2Hku6/Q0Wb1BS7aKsmywK35aS7+3m5o5teX6gWA== X-Received: by 2002:adf:adc9:: with SMTP id w67-v6mr11098671wrc.135.1532436776142; Tue, 24 Jul 2018 05:52:56 -0700 (PDT) Received: from boomer.lan (cag06-3-82-243-161-21.fbx.proxad.net. [82.243.161.21]) by smtp.googlemail.com with ESMTPSA id e7-v6sm20834235wrm.14.2018.07.24.05.52.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 24 Jul 2018 05:52:55 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Subject: [PATCH 05/14] arm64: dts: meson-axg: add audio fifos Date: Tue, 24 Jul 2018 14:52:29 +0200 Message-Id: <20180724125238.14567-6-jbrunet@baylibre.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180724125238.14567-1-jbrunet@baylibre.com> References: <20180724125238.14567-1-jbrunet@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180724_055305_446878_3181D92C X-CRM114-Status: GOOD ( 12.15 ) 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-kernel@vger.kernel.org, Philipp Zabel , linux-amlogic@lists.infradead.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 TODDR and FRDDR audio fifos of the AXG SoC. These fifos are the capture and playback memory interfaces of audio subsystem of the AXG. Signed-off-by: Jerome Brunet --- Kevin, As you will see below, this patch depends on the ARB reset bindings which have been accepted by Philip recently. Cheers Jerome arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 67 ++++++++++++++++++++++ 1 file changed, 67 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi index 3893c630d969..a20189844d92 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi @@ -11,6 +11,7 @@ #include #include #include +#include / { compatible = "amlogic,meson-axg"; @@ -190,6 +191,72 @@ resets = <&reset RESET_AUDIO>; }; + toddr_a: audio-controller@100 { + compatible = "amlogic,axg-toddr"; + reg = <0x0 0x100 0x0 0x1c>; + #sound-dai-cells = <0>; + sound-name-prefix = "TODDR_A"; + interrupts = ; + clocks = <&clkc_audio AUD_CLKID_TODDR_A>; + resets = <&arb AXG_ARB_TODDR_A>; + status = "disabled"; + }; + + toddr_b: audio-controller@140 { + compatible = "amlogic,axg-toddr"; + reg = <0x0 0x140 0x0 0x1c>; + #sound-dai-cells = <0>; + sound-name-prefix = "TODDR_B"; + interrupts = ; + clocks = <&clkc_audio AUD_CLKID_TODDR_B>; + resets = <&arb AXG_ARB_TODDR_B>; + status = "disabled"; + }; + + toddr_c: audio-controller@180 { + compatible = "amlogic,axg-toddr"; + reg = <0x0 0x180 0x0 0x1c>; + #sound-dai-cells = <0>; + sound-name-prefix = "TODDR_C"; + interrupts = ; + clocks = <&clkc_audio AUD_CLKID_TODDR_C>; + resets = <&arb AXG_ARB_TODDR_C>; + status = "disabled"; + }; + + frddr_a: audio-controller@1c0 { + compatible = "amlogic,axg-frddr"; + reg = <0x0 0x1c0 0x0 0x1c>; + #sound-dai-cells = <0>; + sound-name-prefix = "FRDDR_A"; + interrupts = ; + clocks = <&clkc_audio AUD_CLKID_FRDDR_A>; + resets = <&arb AXG_ARB_FRDDR_A>; + status = "disabled"; + }; + + frddr_b: audio-controller@200 { + compatible = "amlogic,axg-frddr"; + reg = <0x0 0x200 0x0 0x1c>; + #sound-dai-cells = <0>; + sound-name-prefix = "FRDDR_B"; + interrupts = ; + clocks = <&clkc_audio AUD_CLKID_FRDDR_B>; + resets = <&arb AXG_ARB_FRDDR_B>; + status = "disabled"; + }; + + frddr_c: audio-controller@240 { + compatible = "amlogic,axg-frddr"; + reg = <0x0 0x240 0x0 0x1c>; + #sound-dai-cells = <0>; + sound-name-prefix = "FRDDR_C"; + interrupts = ; + clocks = <&clkc_audio AUD_CLKID_FRDDR_C>; + resets = <&arb AXG_ARB_FRDDR_C>; + status = "disabled"; + }; + arb: reset-controller@280 { compatible = "amlogic,meson-axg-audio-arb"; reg = <0x0 0x280 0x0 0x4>; From patchwork Tue Jul 24 12:52:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10542111 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 87833180E for ; Tue, 24 Jul 2018 12:54:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 757052873E for ; Tue, 24 Jul 2018 12:54:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 694B1287AA; Tue, 24 Jul 2018 12:54:33 +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 1394A2873E for ; Tue, 24 Jul 2018 12:54:33 +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=AWKcxhDclFnAoRg18ox/N13Qsj4tIuT/dCMRkk/yxjE=; b=gKU21ooIuWBCoFsNvFOeD4nD6v 9NiL/HlCa49HuEtFqh+kETy2c0jWPhYUpdblgnzCLuW/rc1LkkpUWFnltYKKJERUH3GjLWKHx7QJr 6xQ6/6Pty3HXBrEBEZtUJpRbxY+9ERWOGkrmMYGAQ8ElbK7oCXkSRC9+9dRKDehdeFzVR0md/EvL+ n/x1x4ELXWs8Wt5eAgXExhk9UUGbQm9Qn8Ro++44qT85QgITOfRr9EHbUsYeoDEqw6cEDizWG5USN YA5MEBZsOakibbOYLC/2t8ZNBdXAllJn2J4S5Dt31A7tRdn/Tk2dgTlBqUXb1r8+vVFGcnDXnW41g mS541VbQ==; 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 1fhwpg-0006ir-Fh; Tue, 24 Jul 2018 12:54:28 +0000 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fhwoN-0005GS-P0 for linux-arm-kernel@lists.infradead.org; Tue, 24 Jul 2018 12:53:12 +0000 Received: by mail-wr1-x441.google.com with SMTP id b15-v6so4017296wrv.10 for ; Tue, 24 Jul 2018 05:52:58 -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=JK6vHUBSN9Dquv+tZySFrVXf7/cu/PG0T3aNQQ/LBrw=; b=x6wXADcd5xHQs1tystvdnC5EQrQkF+WyqJg0o3E3sR6hlyn+MrYmzKlpa7QtWezpGf QGsVbnxrFgQVigsA3QJXtNyTwjXxOCd+PRfStuExE30EETvL8c2gaVlgeWc++u/oGhX3 /8jNFThihFOMzKuD40Vtr9riskG/FvGnat89xJ3rhNpjlnmnk3lE56ZkaojheaRNwTTb V5Fl6Jt3jarCp4PTUfs/llpbADjxpGYjhaddNYc5jSoth54xMyGoyfBgPwCcAklHwhbq SRkF0wpa6wDgdDKhgLvU7uC5TvuMCOqGqqmsy1rB+iNwSbfChSCLDMBf3Ag9JVrF/8FI mCMQ== 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=JK6vHUBSN9Dquv+tZySFrVXf7/cu/PG0T3aNQQ/LBrw=; b=U8l54fsBChGVMeiubZXGcn6sDF3E8+ArGyoOtXFVt3m8//NG8Un7Ug30tkhtrDsZVo QUWvk4FqIHAxQ+PVzu8YKod9Pdz0fmWzgX2mzRQDzWS2roYP6FQvTjT6b7FEphFm+qa+ zbtRpIXAQLZJ/Fxh+ARvWX4YYCJqlBKePBG2mizyaHaBJWUMLVRUIcIzfrv778H64BhE x4ZgH2MwYHZX+1zDNUebZXHT+rWVtmjiegbRchpWnU7LAF/qQKVnvrpjT+kNxg1ErvVl xYjo+ZoumXCAdjsweJvSv6MERiUBHE6ICEFv6u+9ADlH+K7VlAipRsWihGx0XEDIqWus 3wgA== X-Gm-Message-State: AOUpUlHlCD/FbkMwTEWbv6tDURVZNANRuJiQwyrQcPi0dYmn0ZFdOS+f 9m8tocbwMKi8C0bmxn0GV2SD4A== X-Google-Smtp-Source: AAOMgpdZhwUzlA3QC/SYOaXT9C58tyCHHxgl/OvHnFervt0YTlyR/Nunx7aJzFUyc+rXKAN9nWu27w== X-Received: by 2002:adf:aadb:: with SMTP id i27-v6mr11413837wrc.149.1532436777313; Tue, 24 Jul 2018 05:52:57 -0700 (PDT) Received: from boomer.lan (cag06-3-82-243-161-21.fbx.proxad.net. [82.243.161.21]) by smtp.googlemail.com with ESMTPSA id e7-v6sm20834235wrm.14.2018.07.24.05.52.56 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 24 Jul 2018 05:52:56 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Subject: [PATCH 06/14] arm64: dts: meson-axg: add spdifout Date: Tue, 24 Jul 2018 14:52:30 +0200 Message-Id: <20180724125238.14567-7-jbrunet@baylibre.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180724125238.14567-1-jbrunet@baylibre.com> References: <20180724125238.14567-1-jbrunet@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180724_055308_305294_B4D849B2 X-CRM114-Status: GOOD ( 10.95 ) 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 SPDIF output device of the axg audio subsystem Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi index a20189844d92..c56016a48cc4 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi @@ -263,6 +263,17 @@ #reset-cells = <1>; clocks = <&clkc_audio AUD_CLKID_DDR_ARB>; }; + + spdifout: audio-controller@480 { + compatible = "amlogic,axg-spdifout"; + reg = <0x0 0x480 0x0 0x50>; + #sound-dai-cells = <0>; + sound-name-prefix = "SPDIFOUT"; + clocks = <&clkc_audio AUD_CLKID_SPDIFOUT>, + <&clkc_audio AUD_CLKID_SPDIFOUT_CLK>; + clock-names = "pclk", "mclk"; + status = "disabled"; + }; }; cbus: bus@ffd00000 { From patchwork Tue Jul 24 12:52:31 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10542117 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1B107184F for ; Tue, 24 Jul 2018 12:55:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 088EB2874A for ; Tue, 24 Jul 2018 12:55:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F0DEE287AA; Tue, 24 Jul 2018 12:55:08 +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 9CCB42874A for ; Tue, 24 Jul 2018 12:55:08 +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=QV0CSJ902j1z1+6C5F7k/jYXfylD6+S44FIYU7Nalk4=; b=U79VPEkEWZKKtIv3g91OGbAZau m9bNlHrM6p+oHHkSDw8UGF9tKfurenJcd6362cqPkRAJyLBfGXjZjZANIyXJiG4OwSO5eP7jr9yqd +ZR8JE8SstKZM0sbTL11S4jYA1MdZbV/n9oIELbZuuL2sa6f5GMmbRF4M+rCP85nxqdLJvW/sgnh8 Mg/a6cxpy0Ggm1tGkfxZCk1HryLDTCrZdKAtleagFxUjgO+5IfppH4Zkd3A4MFC4VXIV0XLbMr0PC ePInEoNhr4+2FlnVN1b503jlZ7m9xLhF2YANCdgibgpE605mnY+oL6D7ElRTWRGkfUuzLAz9MoZ8T eeA0lFfg==; 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 1fhwqH-0007Jb-CL; Tue, 24 Jul 2018 12:55:05 +0000 Received: from mail-wm0-x243.google.com ([2a00:1450:400c:c09::243]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fhwoQ-0005Gb-4H for linux-arm-kernel@lists.infradead.org; Tue, 24 Jul 2018 12:53:15 +0000 Received: by mail-wm0-x243.google.com with SMTP id o11-v6so2406534wmh.2 for ; Tue, 24 Jul 2018 05:52:59 -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=AfflJ7sTzSXjdDWe8mDFPGxn4/rB/PCdlz5W+5rI7J0=; b=SQGKMIbvWjGSEm97Z/ei354+XxEzXGU/FnE3l4+cxX7zixUqVlS2oROYkTrXAs/PWP XABO5H4uxF8EZ5p18502ZPAh/7EVE6SymU+NdPEmbfgdqx6zuGNbVPXmJCq0tpkk1Au3 GZn6DnJ6PrVkEX+UpvL9ozsVmRXtTp/uTC0un0CuccTlubfqR8d7fYMnjApsetKyR4Ai J0EsCchELXNyb7X+rs9xC+BgfAr5zYqGM73hnZilIY1Z3oU5pd5crIMF33nFgdkNZM2p HJCAsLY5JJvmfTDdSfAU02QWi4TLjEkWxgAEcaqkls2aRyOqw9M8xGPCb6MCLYE6h6G7 ZiDw== 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=AfflJ7sTzSXjdDWe8mDFPGxn4/rB/PCdlz5W+5rI7J0=; b=sc/XeotyYh0odzrk0LyCvtKEVKjMBIBqJtLxipnhMApStKRaELETMryZBQit46/OaN jUrImLBeL7GyJNujGyPQAcDxMNrfjwvShlRFPiNfKunY72Tt3oKty8R8wTcdH84PWJLr Q2QHWGJRKu7NRj9qqxI+au1U1sJuI8Mxq524Dzb3P+fzJawrynTRGvoO45cqiMkwwGnD ab475zS1BSv3JAsA2ZuwalCMwUWd7/z5xsgybvBQgo0F/ylaj+XIKmGcoVQPwO5P5hpZ tlBrWqWKtOq8tWOhDbmRpvElVA4NpA0JTb6+zyv0XiNKo5trytZzEUiwAr0tQ1S578Uq lISQ== X-Gm-Message-State: AOUpUlHvVykhpcvH/EZsJd+3FzglR7qgiE526eqNIIZLHVdK1C1Dgv5v wRlPleLlT0SQlLUQAoLINZlJwA== X-Google-Smtp-Source: AAOMgpfK/HjxiTu5QSBE+DwqArhznMsqB5hcG9jEbkb8ZT+fJ7eplXW29hYFRKA6cmBvUcRvzkfFhA== X-Received: by 2002:a1c:b213:: with SMTP id b19-v6mr1801639wmf.141.1532436778437; Tue, 24 Jul 2018 05:52:58 -0700 (PDT) Received: from boomer.lan (cag06-3-82-243-161-21.fbx.proxad.net. [82.243.161.21]) by smtp.googlemail.com with ESMTPSA id e7-v6sm20834235wrm.14.2018.07.24.05.52.57 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 24 Jul 2018 05:52:57 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Subject: [PATCH 07/14] arm64: dts: meson-axg: add tdmin formatters Date: Tue, 24 Jul 2018 14:52:31 +0200 Message-Id: <20180724125238.14567-8-jbrunet@baylibre.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180724125238.14567-1-jbrunet@baylibre.com> References: <20180724125238.14567-1-jbrunet@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180724_055310_613080_76E00916 X-CRM114-Status: GOOD ( 11.24 ) 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 tdm devices responsible for decoding the data provided through audio serial interface. Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 56 ++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi index c56016a48cc4..55e4ac734023 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi @@ -264,6 +264,62 @@ clocks = <&clkc_audio AUD_CLKID_DDR_ARB>; }; + tdmin_a: audio-controller@300 { + compatible = "amlogic,axg-tdmin"; + reg = <0x0 0x300 0x0 0x40>; + sound-name-prefix = "TDMIN_A"; + clocks = <&clkc_audio AUD_CLKID_TDMIN_A>, + <&clkc_audio AUD_CLKID_TDMIN_A_SCLK>, + <&clkc_audio AUD_CLKID_TDMIN_A_SCLK_SEL>, + <&clkc_audio AUD_CLKID_TDMIN_A_LRCLK>, + <&clkc_audio AUD_CLKID_TDMIN_A_LRCLK>; + clock-names = "pclk", "sclk", "sclk_sel", + "lrclk", "lrclk_sel"; + status = "disabled"; + }; + + tdmin_b: audio-controller@340 { + compatible = "amlogic,axg-tdmin"; + reg = <0x0 0x340 0x0 0x40>; + sound-name-prefix = "TDMIN_B"; + clocks = <&clkc_audio AUD_CLKID_TDMIN_B>, + <&clkc_audio AUD_CLKID_TDMIN_B_SCLK>, + <&clkc_audio AUD_CLKID_TDMIN_B_SCLK_SEL>, + <&clkc_audio AUD_CLKID_TDMIN_B_LRCLK>, + <&clkc_audio AUD_CLKID_TDMIN_B_LRCLK>; + clock-names = "pclk", "sclk", "sclk_sel", + "lrclk", "lrclk_sel"; + status = "disabled"; + }; + + tdmin_c: audio-controller@380 { + compatible = "amlogic,axg-tdmin"; + reg = <0x0 0x380 0x0 0x40>; + sound-name-prefix = "TDMIN_C"; + clocks = <&clkc_audio AUD_CLKID_TDMIN_C>, + <&clkc_audio AUD_CLKID_TDMIN_C_SCLK>, + <&clkc_audio AUD_CLKID_TDMIN_C_SCLK_SEL>, + <&clkc_audio AUD_CLKID_TDMIN_C_LRCLK>, + <&clkc_audio AUD_CLKID_TDMIN_C_LRCLK>; + clock-names = "pclk", "sclk", "sclk_sel", + "lrclk", "lrclk_sel"; + status = "disabled"; + }; + + tdmin_lb: audio-controller@3c0 { + compatible = "amlogic,axg-tdmin"; + reg = <0x0 0x3c0 0x0 0x40>; + sound-name-prefix = "TDMIN_LB"; + clocks = <&clkc_audio AUD_CLKID_TDMIN_LB>, + <&clkc_audio AUD_CLKID_TDMIN_LB_SCLK>, + <&clkc_audio AUD_CLKID_TDMIN_LB_SCLK_SEL>, + <&clkc_audio AUD_CLKID_TDMIN_LB_LRCLK>, + <&clkc_audio AUD_CLKID_TDMIN_LB_LRCLK>; + clock-names = "pclk", "sclk", "sclk_sel", + "lrclk", "lrclk_sel"; + status = "disabled"; + }; + spdifout: audio-controller@480 { compatible = "amlogic,axg-spdifout"; reg = <0x0 0x480 0x0 0x50>; From patchwork Tue Jul 24 12:52:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10542109 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4BC58184F for ; Tue, 24 Jul 2018 12:54:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3A9E02874A for ; Tue, 24 Jul 2018 12:54:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2F12B287AA; Tue, 24 Jul 2018 12:54:23 +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=unavailable 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 DBECF2874A for ; Tue, 24 Jul 2018 12:54:22 +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=rvwyl5/jferBHGFS+ebVUHRJPRjIfXUyZOeQUKRfI8Y=; b=BqeiAp1E1U1ECF56ns3yAhQZre i9PBkjEUxC4V9Qm2htyBTWuUGKkclQVz4yB1QJAgObUgjRQTguH2HQOXbN70zAc56FgxXV+q6XUkB LZwoOPu33uiHGG820H7sZV3AdY7JvBG1wsWZuxwx38OsyHu5s9dj3ki3ABbE06gRid8bh1puNBtKy i4hIVJF7YLaevfE+xON+GYmxfE85wFFK/PwdH3OKuFcvjeWArXz2GbhRBp0L/3ij9flqj4VsLugPh qxgcKLkN49vyE0ZWBNxrlkm24OMbYa6vKhX/NQvtf0AGFEockx5WSt1ORhgkQnEdg6eYZNsPEOR/M GYwejoNg==; 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 1fhwpW-0006Xl-08; Tue, 24 Jul 2018 12:54:18 +0000 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fhwoN-0005Gy-Ot for linux-arm-kernel@lists.infradead.org; Tue, 24 Jul 2018 12:53:12 +0000 Received: by mail-wr1-x441.google.com with SMTP id h10-v6so4032618wre.6 for ; Tue, 24 Jul 2018 05:53:00 -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=/rp3bMyXkG2xPIOiTfDd3jyMLzA2kAUSoPeSZfYVFoQ=; b=J6b0gqXLFsEAfW0RbYAfK5M02Wbda8Y68anfcBwnxIqIVXBZY21hE+cFPk83vHvpjG hPlKAoGRfzh5SDj5VISXgFIpJrzl50zre4z/HBATZ+t9Ya7Gj+0UIK93nZ9Dnv+3QxjA t8bA1fwvRnhmrJ5xiwrRJT6KoxBGXwq7frXJvQU38l5dwwOhRlAQvbXL1FY//Plj0tYi OAJAKOBCs9pqOvVLiv3xRuf22tXx3/cFFBLvC3DXSmhXvYmqFdJMoMS03mQyKAornWLZ aKW1lODaJcX2ixPONyaZNJs8i31JpJ064+qfeCwrnHMP2RZzuQIQP0W1gCpEuo5WkR0X YBpQ== 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=/rp3bMyXkG2xPIOiTfDd3jyMLzA2kAUSoPeSZfYVFoQ=; b=BGvLCQLWfndd4bgKKTwqNUnrPEYy8gBakc6bLei5TiNpBRwzuYpZczynDYhFoKn6AR qa9rAplSM8ll93aadCIfNbtJ4AzqWFQ0DPmDjXdeayiy9+IMF5QtHHIvsINGsnQbKifw aQmkqRFCKqFRhYzqOE7U8lnzS5IahY/b7FeEKcKdcf7h+LF4B8v0ErY4owpCHWbl3jmO lq0HR+bfpolAmTeLDdmxOMV2El3eAmqX1N247QTnbT848p9YP/GJik59ccju7mG3ocjE WvaWM10ky0s+hOvCCAkkb9LL20VgYQdjuPT2bRSr8SsSR12dXuXeZgFpAPyGd3PJqf3n vCPg== X-Gm-Message-State: AOUpUlFzn0vxTf6k+2X6p4tP7Ofvngy3uy+0Fm/TlUmsn8PI5LKVydga Vk6lksEoNhX7gR0R95p87ofHeQ== X-Google-Smtp-Source: AAOMgpeQshHTlE39lMexHymelT6UiKYDbGp+buT7shfTjI2wCxC5INFvXHDabk4C0HW2pxseufcMMQ== X-Received: by 2002:adf:f342:: with SMTP id e2-v6mr11390735wrp.161.1532436779566; Tue, 24 Jul 2018 05:52:59 -0700 (PDT) Received: from boomer.lan (cag06-3-82-243-161-21.fbx.proxad.net. [82.243.161.21]) by smtp.googlemail.com with ESMTPSA id e7-v6sm20834235wrm.14.2018.07.24.05.52.58 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 24 Jul 2018 05:52:59 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Subject: [PATCH 08/14] arm64: dts: meson-axg: add tdmout formatters Date: Tue, 24 Jul 2018 14:52:32 +0200 Message-Id: <20180724125238.14567-9-jbrunet@baylibre.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180724125238.14567-1-jbrunet@baylibre.com> References: <20180724125238.14567-1-jbrunet@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180724_055308_235889_8DB31326 X-CRM114-Status: GOOD ( 10.98 ) 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 tdm devices responsible for serializing audio samples for i2s/tdm interfaces Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi index 55e4ac734023..67b6d4ec980e 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi @@ -330,6 +330,48 @@ clock-names = "pclk", "mclk"; status = "disabled"; }; + + tdmout_a: audio-controller@500 { + compatible = "amlogic,axg-tdmout"; + reg = <0x0 0x500 0x0 0x40>; + sound-name-prefix = "TDMOUT_A"; + clocks = <&clkc_audio AUD_CLKID_TDMOUT_A>, + <&clkc_audio AUD_CLKID_TDMOUT_A_SCLK>, + <&clkc_audio AUD_CLKID_TDMOUT_A_SCLK_SEL>, + <&clkc_audio AUD_CLKID_TDMOUT_A_LRCLK>, + <&clkc_audio AUD_CLKID_TDMOUT_A_LRCLK>; + clock-names = "pclk", "sclk", "sclk_sel", + "lrclk", "lrclk_sel"; + status = "disabled"; + }; + + tdmout_b: audio-controller@540 { + compatible = "amlogic,axg-tdmout"; + reg = <0x0 0x540 0x0 0x40>; + sound-name-prefix = "TDMOUT_B"; + clocks = <&clkc_audio AUD_CLKID_TDMOUT_B>, + <&clkc_audio AUD_CLKID_TDMOUT_B_SCLK>, + <&clkc_audio AUD_CLKID_TDMOUT_B_SCLK_SEL>, + <&clkc_audio AUD_CLKID_TDMOUT_B_LRCLK>, + <&clkc_audio AUD_CLKID_TDMOUT_B_LRCLK>; + clock-names = "pclk", "sclk", "sclk_sel", + "lrclk", "lrclk_sel"; + status = "disabled"; + }; + + tdmout_c: audio-controller@580 { + compatible = "amlogic,axg-tdmout"; + reg = <0x0 0x580 0x0 0x40>; + sound-name-prefix = "TDMOUT_C"; + clocks = <&clkc_audio AUD_CLKID_TDMOUT_C>, + <&clkc_audio AUD_CLKID_TDMOUT_C_SCLK>, + <&clkc_audio AUD_CLKID_TDMOUT_C_SCLK_SEL>, + <&clkc_audio AUD_CLKID_TDMOUT_C_LRCLK>, + <&clkc_audio AUD_CLKID_TDMOUT_C_LRCLK>; + clock-names = "pclk", "sclk", "sclk_sel", + "lrclk", "lrclk_sel"; + status = "disabled"; + }; }; cbus: bus@ffd00000 { From patchwork Tue Jul 24 12:52:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10542127 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0703414BC for ; Tue, 24 Jul 2018 12:56:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EA2EF2880C for ; Tue, 24 Jul 2018 12:56:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DE97F287FF; Tue, 24 Jul 2018 12:56:35 +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 90BE5287C1 for ; Tue, 24 Jul 2018 12:56:35 +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=WVEOvHyvGonLn2KO+R7y6LQK67sPRQU/3a8hXTfWfr4=; b=fZbtVikWnSu2tv97zJc3UlKHwQ 0QcEprKq8OhXDka6p4mnKdW6Fr71rM6wf4iufFISMIQBX8JN0i7/S/AlZBtQbIqmkvocOI8EM/tp4 y/xFk25jSD2WvZYB5ENzgQjDMdy+yDNPQb+QQsyrBxUoF+tIZsUsAUvPtdMSkeKqtiEH6cyoeYdG7 MAXDJ0Gulx0sOgVcgnJpUqK2piV8fGYdUxY2UoC9NDjINAAXvAoMD9HNbp6rfhmFCwvxEsCSYLBVz OyogNXKb2RPIYSU/jixUAnVLQqY8bKv/+0/NhTEVgyRi2lIM1jrL/Y/rjIhv502cO6q4she7Ji6tx SwbgIVdw==; 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 1fhwri-0001Av-C9; Tue, 24 Jul 2018 12:56:34 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fhwoa-0005c8-Fh for linux-arm-kernel@bombadil.infradead.org; Tue, 24 Jul 2018 12:53:20 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=fRwMGeHlTP8BUgnYuPqePCtd4Dl/PPZYCQrSBbVA4Oc=; b=OKF9Z0rXQjbmynYB8sTgYgRmz dtdHMFqSo6LFISAIbA+09qLdnXIOHnv5bmpC2YGZlnaUU78hNXfZvtez70bR68IzRQHku2VNM/guX 6RmimpPO/RCRVawJX61Jt9zl5aMktjr6MTn3kVw0M5ju5qsG9y2Uuyc6veITVE+wY8ypr9XpABXtA MW9r3Ta+608VEOLSVdMEnnJTE3SRWJ8037dnQYsPPng8ZSMqhIdL84uIUlN5BFZIUcMq0EsmypLTt 1e5nWAwKP0Mkm7xZv0Tcb2QH3QiZW7Dn9SQcJX5q+Ac8CUR5DGewTz6eikyJ6oTjL8UtMeN0wLMjp xqvjPVhGA==; Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fhwoW-0000Nc-Vh for linux-arm-kernel@lists.infradead.org; Tue, 24 Jul 2018 12:53:18 +0000 Received: by mail-wm0-x244.google.com with SMTP id y9-v6so1606415wma.5 for ; Tue, 24 Jul 2018 05:53:02 -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=fRwMGeHlTP8BUgnYuPqePCtd4Dl/PPZYCQrSBbVA4Oc=; b=T0hN67YrID30OvY+59J5y35YreNSAObo72snuhvDGuhR7J47lURHp75SNMOOgzwwfF 2tPcqvsl8X8Jm8629y/qm5qB1z7IEFwGEL+LjNE6YQQiL2TX+Pf0RqW1HrjjHZSvlJYs DIxvLoRvNVd3N2Dcd9k/xaIbQFJJLTkQiK4HkYkX/lyCRh1inRY3EEDkYcoNflcFHVaq /uXxX1drGq0JGqgGLayB7CA3MvHzDmy1Rw36GAfV88mH5SkUW3nMGBTH10ZsZXtPJBj+ juj55Qf2zwXNSSb9VhKK4xhsr265d/Bo4DLF5TzXIp50KSvEly0RYi/2ti3s7fsJkxRe ciCg== 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=fRwMGeHlTP8BUgnYuPqePCtd4Dl/PPZYCQrSBbVA4Oc=; b=HoZ+RABT11sSyhePH3+Nt5pBRaQgZHHFWa7o2pmbmxIbj+LwBAPeKpOra+mtQosUoP 6g6mZ9VA1ZmYgPtDEvqYFNhMEHHU+AWSAc2rKPp8QOZBqau0Ai4U+GIKcDJ5nMxHcd32 EVLta/EsQc5ke3dEzTh7s9rDmVF4D9jpaO9ifbbpRq7P1YUYumy+b0Blgg51AIDJEBkm Cwn4gjUkPKd732BErcSq9unV2D6p9zlypa0ylVCrWjDEBSUFb09KcFrKnF3qqZ4Euoiq mNpmWWj34hJKPX6l7dI0M1yMVh+ihkq6fo0TSzKYsandOtU7sQfEkA87USKGcBRz3RRl d6VQ== X-Gm-Message-State: AOUpUlF2k9JEYDwfseNQ04BLxy3lp/Vu1hKgB5mlmezvhXljBfUAu9CU R91kBBeb6LoEbdKwCZwYG/oJyw== X-Google-Smtp-Source: AAOMgpd9ijlNfiLQjetYw8LL4+9azLd28DM7+fD9ZMldoTBYPRRW3VxRSlvRO/vQ9JNvjjhFuUREjA== X-Received: by 2002:a1c:7908:: with SMTP id l8-v6mr1835716wme.80.1532436780736; Tue, 24 Jul 2018 05:53:00 -0700 (PDT) Received: from boomer.lan (cag06-3-82-243-161-21.fbx.proxad.net. [82.243.161.21]) by smtp.googlemail.com with ESMTPSA id e7-v6sm20834235wrm.14.2018.07.24.05.52.59 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 24 Jul 2018 05:53:00 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Subject: [PATCH 09/14] arm64: dts: meson-axg: add tdm interfaces Date: Tue, 24 Jul 2018 14:52:33 +0200 Message-Id: <20180724125238.14567-10-jbrunet@baylibre.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180724125238.14567-1-jbrunet@baylibre.com> References: <20180724125238.14567-1-jbrunet@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180724_085317_036166_BFE241F9 X-CRM114-Status: GOOD ( 12.31 ) 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 devices reponsible for managing the i2s/tdm clocks and pads Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi index 67b6d4ec980e..32f6dcacc2bc 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi @@ -93,6 +93,39 @@ method = "smc"; }; + tdmif_a: audio-controller@0 { + compatible = "amlogic,axg-tdm-iface"; + #sound-dai-cells = <0>; + sound-name-prefix = "TDM_A"; + clocks = <&clkc_audio AUD_CLKID_MST_A_MCLK>, + <&clkc_audio AUD_CLKID_MST_A_SCLK>, + <&clkc_audio AUD_CLKID_MST_A_LRCLK>; + clock-names = "mclk", "sclk", "lrclk"; + status = "disabled"; + }; + + tdmif_b: audio-controller@1 { + compatible = "amlogic,axg-tdm-iface"; + #sound-dai-cells = <0>; + sound-name-prefix = "TDM_B"; + clocks = <&clkc_audio AUD_CLKID_MST_B_MCLK>, + <&clkc_audio AUD_CLKID_MST_B_SCLK>, + <&clkc_audio AUD_CLKID_MST_B_LRCLK>; + clock-names = "mclk", "sclk", "lrclk"; + status = "disabled"; + }; + + tdmif_c: audio-controller@2 { + compatible = "amlogic,axg-tdm-iface"; + #sound-dai-cells = <0>; + sound-name-prefix = "TDM_C"; + clocks = <&clkc_audio AUD_CLKID_MST_C_MCLK>, + <&clkc_audio AUD_CLKID_MST_C_SCLK>, + <&clkc_audio AUD_CLKID_MST_C_LRCLK>; + clock-names = "mclk", "sclk", "lrclk"; + status = "disabled"; + }; + timer { compatible = "arm,armv8-timer"; interrupts = X-Patchwork-Id: 10542147 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 17E8714E2 for ; Tue, 24 Jul 2018 13:09:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 061D626256 for ; Tue, 24 Jul 2018 13:09:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EE237287CE; Tue, 24 Jul 2018 13:09:34 +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 A309D26256 for ; Tue, 24 Jul 2018 13:09:34 +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=zkzhIeuGoJ7anVn9MWqGq4W+sJJayCJrXupofZqiThY=; b=gdUpMOHDnF1yWT4cFmy0/1piXD DR4xrXTsv52xqTEo7XgxD+0rGMpiEiJplvHYhRxP/3b1R1mamFIQX23q5QiZGal9KfsXFQj1aalDo xBG8JBaN0C6VMU2IzaWEVi2XC2jTILbaLfBb7zWcfsCSG/lL9DLfqSUiEcycjGl5w3GTdfwOdNTwJ GQ9ZDI/OsItpxm/7o2GcKlCgIrb6pq80GWCc4jpujmoEskTrrGkrUox3DC7bFYEnF111ZKToV+XIW T63rscoCwOW89U0ekGSlfw7xGFSHpA4IAHvVP9Rblp+POOpGegtiXx0aufQsUp3Ux9dxeyxixMNc8 41RK8/Tg==; 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 1fhx4D-0007gE-DQ; Tue, 24 Jul 2018 13:09:29 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fhx3Z-0006dl-2J for linux-arm-kernel@bombadil.infradead.org; Tue, 24 Jul 2018 13:08:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=A4XnNFV0D4lRqYz+uc1ptkPfQ5Tx5d3XzHr45EHg8mI=; b=LXLwuE5Vrw7UsD6aTxFP8pHtU 2S1+XifJKU9Z8oPgxk2QwfWOT3OYxWxKBeSMuomuHR9YnN0V3yDMrGZMuAdoxyLXu+soZ8owcbVvL uP5Th0l7ceYn08J012Y/33D9nKJJjGc4cVlr+hl3zyGhY/E0uYpg49+5etH9iiSss4IggLOwNV0Tc uGMnudcNURmlFdG/7PKM9gJs0wwmLKaJY0COyWVECPbYB+7g1CXwC6pGrGzgc3KhQ0++8AWhHMcXY LjTwUWXn2ML7qxPKjdqvEx05HM8zz7hIpQQfkbORjNWOl4lQg0qc6iNkQRWnMmi9tmmkXug9eVyqZ N7qHFJjJw==; Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fhwoT-00020U-G8 for linux-arm-kernel@lists.infradead.org; Tue, 24 Jul 2018 12:53:15 +0000 Received: by mail-wr1-x444.google.com with SMTP id h9-v6so4044511wro.3 for ; Tue, 24 Jul 2018 05:53:02 -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=A4XnNFV0D4lRqYz+uc1ptkPfQ5Tx5d3XzHr45EHg8mI=; b=e8Cns3VltXySmcJVHDUFPzjFPWROW/GsnAXNNqSKDk3QAftiSWMgfwHlMUJYaZ3Lxs kE5EVfwJuR/YzauOfrjOvPWr02JEvPWxIpQ5Wqua2At5U8SbxAV939s4FwK7vZGnsibU y7OyOLlEIDULCD7LfoHYR4xE+Ew47MAx6gwt4hoXzq0RftDGMUJJJiKv6oD/RLity9A7 y6TagpTDYM6o4bPj7YzHfQK5L5TSCQ6zhzI84pTXywqlLwkvd+8olmbUgseYbMQl27lG Ax8imfWcRHbJ89L3+8hc+3xU6yC+Odu0Og+926jEszuiTvICFpueeX7Y9gwJMbavviiA yq+A== 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=A4XnNFV0D4lRqYz+uc1ptkPfQ5Tx5d3XzHr45EHg8mI=; b=Seos0swjobMn3DgScIMQsG5gvUpRGQ4L43G8rkNDZZB6TRcBIH9sEULOR/cwHfSnhy yuLU/MvmHpdNyIOhHvwOQD6W2hZqToEJm/5BPoFeAJrQQwNrNBo0QiFTpeLKvETW0USH CJNXmAVM06gDyCW8Im5Ecjj+zGH7rOWTnPWUwyb6CS45ftZf5Z/Qip0fkbdHWvSDPSKg EviTW6b4pwneZiRrqvtQWVIIv65Yyodo5wLDLQlJB4IBoyDNKhvWZB0Xc/4tlUlfu8AH TQndg/JO14Ve1El3FVBbIkokwA+DF1O6dCUJBBDc5oXDKKsqJ0JRlWYlimzoHipUor4T sdMQ== X-Gm-Message-State: AOUpUlEVTX1nz+30bsKE617/H5ULv1BcBr3HhTIdODEj7D9x1bNYH3TG T2iTXkhzquen7XdVIjUcEzNX1w== X-Google-Smtp-Source: AAOMgpf7yInozHfzQjR9XtKeu1ZU+XQLU//zRS9l3+NAnAay+Ou9PjkG4sRM50cN7o5d0HY4Yhj3AQ== X-Received: by 2002:adf:8f2e:: with SMTP id p43-v6mr11245545wrb.193.1532436781888; Tue, 24 Jul 2018 05:53:01 -0700 (PDT) Received: from boomer.lan (cag06-3-82-243-161-21.fbx.proxad.net. [82.243.161.21]) by smtp.googlemail.com with ESMTPSA id e7-v6sm20834235wrm.14.2018.07.24.05.53.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 24 Jul 2018 05:53:01 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Subject: [PATCH 10/14] arm64: dts: meson-axg: add linein codec Date: Tue, 24 Jul 2018 14:52:34 +0200 Message-Id: <20180724125238.14567-11-jbrunet@baylibre.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180724125238.14567-1-jbrunet@baylibre.com> References: <20180724125238.14567-1-jbrunet@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180724_135313_550918_324F6E0C X-CRM114-Status: GOOD ( 12.56 ) 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 es7241 analog to digital converter which is fed by the lienin jack of the s400 Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts index 7489b88f27d7..fb101a1c6660 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts +++ b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts @@ -178,6 +178,16 @@ gpios = <&gpio_speaker 2 0>; }; }; + + linein: audio-codec@0 { + #sound-dai-cells = <0>; + compatible = "everest,es7241"; + VDDA-supply = <&vcc_3v3>; + VDDP-supply = <&vcc_3v3>; + VDDD-supply = <&vcc_3v3>; + status = "okay"; + sound-name-prefix = "Linein"; + }; }; ðmac { From patchwork Tue Jul 24 12:52:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10542149 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 76B9C90E3 for ; Tue, 24 Jul 2018 13:09:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 648B9287C8 for ; Tue, 24 Jul 2018 13:09:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 58E92287CF; Tue, 24 Jul 2018 13:09:49 +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 0481E287C8 for ; Tue, 24 Jul 2018 13:09:48 +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=jcqmwPYSPFo1aJ+ZSzBrWGGnqn6/JoN5rfI86R0zUe8=; b=uLnHqsrqxUSPFpkGbHivi/S828 QC6EvEET32Mm5gEXuw2ghM9ztTEgzmfQr19L6/rBIdDTjLm+KCFyFsEYX/E4QizosPtsRvOwoKLfP 7cXf0B4zKJSA5AkOB4LR16nT52bgwVGI/eRI38Bk1dgX1m282OxbA/OFoODO91IOZ3Q0YtNXCEMGT 8xwVWEsAwLP6Tuqlz0fa7OfBrWykK0YaXhMvqM00jOi3at6zfnU5kz5bjjpPTXPGjVnuZTRAf3AG1 K11fBQV0BV/IaQV8bzbgAK3qLkNsN4Rj1ad1rGVGkNJE58K7YWECA/SCDXneyE8nO4EYXSP/DkAGl U0K76dsQ==; 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 1fhx4P-0007vs-RZ; Tue, 24 Jul 2018 13:09:41 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fhx3Z-0006dm-CK for linux-arm-kernel@bombadil.infradead.org; Tue, 24 Jul 2018 13:08:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=ZoW7tDEHOwM7FMVB/pZ2Q+lx/K2BNqjMFw7CiedEjxk=; b=v1Cs9SQhd6WxEwZYCmUti1U7F 2Y4pSxuw+GhcwEnvwmog+pgoyoQoH+heMxQ4vSchVtIkP6636WBpJL78S/+WB/0DxQqTEiOGTPlpp lzHtGablgyRb34cxgAfDO+BYlGTfCAthwHwi19csC8DSvlCIjX+xRs/1c+J4ykdjfsht6v6byO58z nMDjIPH7JF85hyj7oXyubxwZBvCkGeXVmqMmc3OXoxHRk51oVT3CGb1WcBOXg682qEo7GuNy6NCvB XO6ZXqvB3+UYFSEBGpbeEgn8quxtaCoNAG98mW/Gm2punTvTB/17WubFsggO1zHp/KG6tdPLxyzYj UPvexBNdQ==; Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fhwoT-00020V-G6 for linux-arm-kernel@lists.infradead.org; Tue, 24 Jul 2018 12:53:14 +0000 Received: by mail-wr1-x442.google.com with SMTP id j5-v6so4023641wrr.8 for ; Tue, 24 Jul 2018 05:53: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=ZoW7tDEHOwM7FMVB/pZ2Q+lx/K2BNqjMFw7CiedEjxk=; b=AOE454XWr42iUS6OtAcMoi118Duje0TQBsA4drZSzUd+3uFxbzHRSgMDcdFdFy7CiN EVQcATOf6GtlDdrO5x0kNfI8w4Yj0wb/obAWNW462Hnii2s49EvgEweXjiZeOjPo8KSr TJQArFri53XeLy1f4TiDj+2MSieKC6aKKuSLHKwkHVGN2SLz+TgKRARwLib6qXwMEKPk QWLO+QnNclUOguMi0zZtQe4ez3CNbYs/KQtOWdyTnxtYLeRSGeS88M+YjUMPUGT1B8xx 9z2h44q8cNEAmexI+ptW2VVkS7qFGXSE2oZqNvWjCAQsiG4An9egYiv8b/SnzKMaegi9 ZKFg== 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=ZoW7tDEHOwM7FMVB/pZ2Q+lx/K2BNqjMFw7CiedEjxk=; b=VoE10kkG+tOYKbHZkVpX5hgk8FZsN3hVxhoy5E3ufwbzahxGhQZYVoH+6+l5GWX1ND KH2HHyzYMDACYvGZMBlqJbEye1nAQCxz3sK7dr9gl9nU8KEfuLgeS7CU1LxdCq1TDxbB fYzZqVFqTdyzp5bdAjd+wwNWPQNYJQSm6ZWOmNJ662htk1/MVznerZhynpc3iDydrDOk 0KKsN6shAZG1uLmlbj489ugpLZqh0SSxcM7a7gmXjFLt2iu0oa43s3ENBUZS6yydV7uG qEswJiTXyaGsM3thymiA25jqedTWIlOyFHvRQOhKYxbkPIUbBsB+piggAdPcFYeumaFS yHkA== X-Gm-Message-State: AOUpUlEegrt6c3tWKxJ6teZevDH65njFsvLBECD7Y1V6/yymQ5louA2b DtAAIzzBOlVbxwP8dSXrD1BKiwdlPN6Tgw== X-Google-Smtp-Source: AAOMgpczwN2pQxACdTcr9H4c0DYWKJmeAxCDL7GdPAh7unI9hFI/1EZwZ54ftpFsT/wh9ZaL1GgLjw== X-Received: by 2002:a5d:550a:: with SMTP id b10-v6mr12029208wrv.228.1532436783016; Tue, 24 Jul 2018 05:53:03 -0700 (PDT) Received: from boomer.lan (cag06-3-82-243-161-21.fbx.proxad.net. [82.243.161.21]) by smtp.googlemail.com with ESMTPSA id e7-v6sm20834235wrm.14.2018.07.24.05.53.01 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 24 Jul 2018 05:53:02 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Subject: [PATCH 11/14] arm64: dts: meson-axg: add lineout codec Date: Tue, 24 Jul 2018 14:52:35 +0200 Message-Id: <20180724125238.14567-12-jbrunet@baylibre.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180724125238.14567-1-jbrunet@baylibre.com> References: <20180724125238.14567-1-jbrunet@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180724_135313_548110_F44A8631 X-CRM114-Status: GOOD ( 12.35 ) 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 es7154 digital to analog converter which supplies the lienout jack of the s400 Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts index fb101a1c6660..d318647c86a7 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts +++ b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts @@ -188,6 +188,15 @@ status = "okay"; sound-name-prefix = "Linein"; }; + + lineout: audio-codec@1 { + #sound-dai-cells = <0>; + compatible = "everest,es7154"; + VDD-supply = <&vcc_3v3>; + PVDD-supply = <&vcc_5v>; + status = "okay"; + sound-name-prefix = "Lineout"; + }; }; ðmac { From patchwork Tue Jul 24 12:52:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10542145 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BFD0513BB for ; Tue, 24 Jul 2018 13:09:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AD8F026256 for ; Tue, 24 Jul 2018 13:09:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A17A4287CE; Tue, 24 Jul 2018 13:09:22 +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 5872226256 for ; Tue, 24 Jul 2018 13:09:22 +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=MMmqHYBcH+RFfBNkZiPuNsRHYzSj0LQPVwGqVRYPqZ4=; b=hf3WbiPvO57BphxRK78ImSpfwL sOt8vF3OP/rtPmM+2Fnif1mare/KCibkC06uspdFpiTmfjhBJPfs3clbsjMjGtEf+vsbdb1Rjp3JJ nOQxQG33kHnT4/bAOFCydo8ViTYQW1jZifIlEJMbaj+5me+aoslbDNTb2lfP/by/IoWJDbt5J3TEm axuF8yXH7W7FNNwf2OLrlIsECWoCviIJOLKVY5181cOPffifT8YDflxHNJHNCS90naT3f4Pu/DO2A t653+LaBEhrS/zz0RXVFckfZLRw82godWfZig2kyFqC6ntxnCls/2grY60Skji4k+Gu7kh4YZ5tr9 9jsUL91w==; 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 1fhx40-0007Qe-RR; Tue, 24 Jul 2018 13:09:16 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fhx3Z-0006o0-00 for linux-arm-kernel@bombadil.infradead.org; Tue, 24 Jul 2018 13:08:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=mVRCK+7cWQFa/gNtCERWlH7JS/Y1WJliUSLYPLdXC1A=; b=Pdgr4UKM+Zrc3RQuP2rIMQcyh 2eaMydD3/RxOLxmffMcPW48SMsOz+tPTGG0GBeXpYESoHUBkREcKVSa/eAbz89FWc/YGS6eV8GJXQ UuUkCApvXKCWI3heWfUvFcLTWFOwJ+OilJ62ag+plWBydVuc/sII4Fc6zE2UWIYPk0ldrCnnO8WjY HptcY6nKDFSbA/IH0uanH1sxoo8vhG6lHZmf4sBhBZe2VEx2UnLBZqPQajUufO2aktPZMPZwMAVHa CjVtTi+y9ANWawwT0WKeiWVwazimrRn+Py3QaZqyoYOfk4YUr13CH6J4AoUlQ1xGYDufu0NNqSAV9 YLh+8YCcg==; Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fhwoT-00020d-G9 for linux-arm-kernel@lists.infradead.org; Tue, 24 Jul 2018 12:53:16 +0000 Received: by mail-wr1-x442.google.com with SMTP id h9-v6so4044654wro.3 for ; Tue, 24 Jul 2018 05:53:05 -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=mVRCK+7cWQFa/gNtCERWlH7JS/Y1WJliUSLYPLdXC1A=; b=ZGKMHQADoxsS5yZfBWMMj3HQ+Ui4rI2Vo7dbRmCzvo02TNyhsechoUv91qItmczhO+ as9ztn2aXI7HLwZx/nFsggPs6DVvwf28R9P247qreXb7GPsnr5njUNphuaRbwR3bFOqA fGohZRGt0sf90bZBH3/yNHSzirbXzcwCDeWIORX5VvknYwHV7eGV06rGzS9kQt17+Xt6 TR4F3y/C6DMVh3sMfnh1PSOBaoFhRMi2Gr4f/FORVV2hSYlhcihZ7lK1Rhw8pBaXC4XK E6tCnzujFEqKvShKzMrXFtmTNynY9VXX66B+rYrlIQo05dBJs+O0nc0ryAxa3VYSVWpY pctA== 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=mVRCK+7cWQFa/gNtCERWlH7JS/Y1WJliUSLYPLdXC1A=; b=FA7GDidVEJACFfWsW84TDzjAxoQ9YCkIF9DPcwg5j/r5Xz05xJ0BQ00BuQ6b7enOTe mglGJ0qJ6Wn1N6g5xmXFuQeSxslm3/3Vmx0wRLvmoxZWz8g9tlyVDJoJlMZ9i8Qod6WZ AG+hfd75TTam58ITHeCuCyQzcrQU63heyyBY+2XR5PasUdDW//+NmS0MlJqZS+04AWuL BC1SHawj1sgm7X9k7edSSsKdyx6y9k9DCaOxL2b4ZiEOKo3ACVM0BeHe9DuHDPhYvM3T RUGNX4zeRyx59ZRDJW99bDWECqkJvBwVI8epBt9aFtmXNtfTgXYEVzPhoGx9Llyl/UpY e3Lw== X-Gm-Message-State: AOUpUlHw/+Ybfg8Aj/ePGDD86LN9bqx5xVEYnHOvEsJpcQCuYLBunryT tiQ//QepLqIw+tOrl6dCMH7Yjg== X-Google-Smtp-Source: AAOMgpff/wTKlsZDKBN0khbOl8oUSJkBiPbDuMXrZmeGNnJSukoAyB4jeMo01QoBJ6gmBTZjX8WIJw== X-Received: by 2002:adf:e0cc:: with SMTP id e12-v6mr11378417wri.199.1532436784156; Tue, 24 Jul 2018 05:53:04 -0700 (PDT) Received: from boomer.lan (cag06-3-82-243-161-21.fbx.proxad.net. [82.243.161.21]) by smtp.googlemail.com with ESMTPSA id e7-v6sm20834235wrm.14.2018.07.24.05.53.03 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 24 Jul 2018 05:53:03 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Subject: [PATCH 12/14] arm64: dts: meson-axg: add spdif-dit codec Date: Tue, 24 Jul 2018 14:52:36 +0200 Message-Id: <20180724125238.14567-13-jbrunet@baylibre.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180724125238.14567-1-jbrunet@baylibre.com> References: <20180724125238.14567-1-jbrunet@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180724_135313_556347_8ECCB636 X-CRM114-Status: GOOD ( 11.71 ) 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 SPDIF playback codec to the axg s400 board Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts index d318647c86a7..d5c01427a5ca 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts +++ b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts @@ -197,6 +197,13 @@ status = "okay"; sound-name-prefix = "Lineout"; }; + + spdif_dit: audio-codec@2 { + #sound-dai-cells = <0>; + compatible = "linux,spdif-dit"; + status = "okay"; + sound-name-prefix = "DIT"; + }; }; ðmac { From patchwork Tue Jul 24 12:52:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10542119 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 055BA184F for ; Tue, 24 Jul 2018 12:55:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E40FC2874A for ; Tue, 24 Jul 2018 12:55:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D5C14287AC; Tue, 24 Jul 2018 12:55:24 +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 7574B2874A for ; Tue, 24 Jul 2018 12:55:24 +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=5xr2hFdsszSD8JseK57ihTFCfpHuTB7tJjA0cHoo+ng=; b=SYKtGDC544xeBRglPlpqAFJ31Q FRic+m1fsDPEgzfMw357fWrk85l4iFJdKIEZFTaYR6ZRuKoVT9JqolF/YhS79qLIJOi0qP+vzyBdg JavBYJlcby+ljMXVNV+2uMrCRJlhYSC34rtYUyCv6bSzMjmIOVysQQvvsOj/1rP38vBcj53b0SYE5 mQm6rrzSLqJiZF3gmMtGpNUW5rJae62oqS9srxKG8D8quKMyq2kYK4vvX9XFjWi7tZV6zf3HSKY9U zhcmc0rnlUFazkZl8QBQ8qG5Y3dDvQRNugulABhk1k4UZXZIenQX6dTUxcGypWJJ08Sm7KXK8RqMj vjcyrtig==; 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 1fhwqS-0007bu-Ax; Tue, 24 Jul 2018 12:55:16 +0000 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fhwoW-0005KS-Ub for linux-arm-kernel@lists.infradead.org; Tue, 24 Jul 2018 12:53:20 +0000 Received: by mail-wm0-x242.google.com with SMTP id o18-v6so2457705wmc.0 for ; Tue, 24 Jul 2018 05:53:06 -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=dhrrIcplKhvGFZAEbzKElBLgg626+Wi/iYjqAD2M6x0=; b=JNLybOwn6vRuzPrP37W4MX/FrfsfugO7W6itZPdJ0ViYJWndkcpQjJahS1LJuZrUmI t+7oSjPZRB51KmFL+pLQOtY2WInIDF6Bv8AB74leBtYC2q7X9pg92VaDc25JgSowTXyT hWZkZxW1PCoRaVp9/gthp9L50CiE1CyVqqFSG39CCMROIfXSlKPr8IVdUG6rilEQb3Yd /i6Zhthx0kIbNqp+0SnxLMJ0W+uSUfz3GOPgeE/zck9P9NJuUZINyInIqJU+8yuyqr30 XABPCbgD51gPdAltiBqq+M2hcBu+77vp4Pg61vu9pJ3WnH4nqv7NcmUMg+KXkSdCJDJN w4sw== 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=dhrrIcplKhvGFZAEbzKElBLgg626+Wi/iYjqAD2M6x0=; b=Kc1lU5KHy4F5SRoZ7Gi/l/kdXa7pPY6WnZyoi6IM9QwDwwLneBSxIQoC+aS7RqNl5j aS4jqzzgZHpzukDxkuNB5w9Nys6FbdCpF+QTaxjjTEoSEK0HwI1YX4uHyd2+QdAenwQY hbOxseQ89wF7x8q6UQQQRzF7KJqKpnZRUb34r6yZUSxwNn8RlLe5At3JCnnDP+vze4ck vJh1VhA9d7B8YIl6JZOPkY8BWp9ys1/7SqRVL+1RBKr8yePyssGQW1/n3V8jjX5IyfQ4 sWsmQvvH2pZjYH7eIOXqHl1ZftRddON7EW1uUqsVS2Tl0BxDkB2bnNgiMc/gNqfiaKg1 V0vg== X-Gm-Message-State: AOUpUlEYdv1FgX3e157GxSTUxvtLGpjAskYkVn4YVtQYAtQhAKXL9Qi7 HBQ0vh8R9F3aQtJHlPYkXeOYwAYaXUHUgw== X-Google-Smtp-Source: AAOMgpeP+tNWtj0OZOU2nCVUHLfprPBnnfu0+/gn3SipY1Fh0nVuS0FdLVj5Ym+YTgXSaOOFRKg7kQ== X-Received: by 2002:a1c:aa8f:: with SMTP id t137-v6mr1842498wme.54.1532436785292; Tue, 24 Jul 2018 05:53:05 -0700 (PDT) Received: from boomer.lan (cag06-3-82-243-161-21.fbx.proxad.net. [82.243.161.21]) by smtp.googlemail.com with ESMTPSA id e7-v6sm20834235wrm.14.2018.07.24.05.53.04 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 24 Jul 2018 05:53:04 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Subject: [PATCH 13/14] arm64: dts: meson-axg: s400: enable audio devices Date: Tue, 24 Jul 2018 14:52:37 +0200 Message-Id: <20180724125238.14567-14-jbrunet@baylibre.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180724125238.14567-1-jbrunet@baylibre.com> References: <20180724125238.14567-1-jbrunet@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180724_055317_404791_7ED13BBE X-CRM114-Status: GOOD ( 11.79 ) 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 Enable the audio devices on the s400. Signed-off-by: Jerome Brunet --- .../arm64/boot/dts/amlogic/meson-axg-s400.dts | 72 +++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts index d5c01427a5ca..9f5d81c3ee29 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts +++ b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts @@ -226,6 +226,18 @@ }; }; +&frddr_a { + status = "okay"; +}; + +&frddr_b { + status = "okay"; +}; + +&frddr_c { + status = "okay"; +}; + &uart_A { status = "okay"; pinctrl-0 = <&uart_a_pins>; @@ -334,3 +346,63 @@ status = "okay"; vref-supply = <&vddio_ao18>; }; + +&spdifout { + pinctrl-0 = <&spdif_out_a20_pins>; + pinctrl-names = "default"; + status = "okay"; +}; + +&tdmin_a { + status = "okay"; +}; + +&tdmin_b { + status = "okay"; +}; + +&tdmin_c { + status = "okay"; +}; + +&tdmin_lb { + status = "okay"; +}; + +&tdmout_c { + status = "okay"; +}; + +&tdmif_a { + pinctrl-0 = <&tdma_sclk_pins>, <&tdma_fs_pins>, + <&tdma_din0_pins>, <&tdma_dout0_x15_pins>; + pinctrl-names = "default"; + status = "okay"; +}; + +&tdmif_b { + pinctrl-0 = <&tdmb_sclk_pins>, <&tdmb_fs_pins>, + <&tdmb_din3_pins>, <&mclk_b_pins>; + pinctrl-names = "default"; + status = "okay"; +}; + +&tdmif_c { + pinctrl-0 = <&tdmc_sclk_pins>, <&tdmc_fs_pins>, + <&tdmc_din1_pins>, <&tdmc_dout2_pins>, + <&mclk_c_pins>; + pinctrl-names = "default"; + status = "okay"; +}; + +&toddr_a { + status = "okay"; +}; + +&toddr_b { + status = "okay"; +}; + +&toddr_c { + status = "okay"; +}; From patchwork Tue Jul 24 12:52:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10542121 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3EB9690E3 for ; Tue, 24 Jul 2018 12:55:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2D10E287FF for ; Tue, 24 Jul 2018 12:55:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 21343287CE; Tue, 24 Jul 2018 12:55:47 +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 A9D3C287C5 for ; Tue, 24 Jul 2018 12:55:46 +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=qzFjP//tYSPlOhF97BW+bsq05az3p02Gf5R4DvIZKgo=; b=twBTq8LV15fT/7CfoPnvnlOLOt ADOuao0Dzb9FSbqibgYCfBttfVcNJXJFuN24ybqn1VP3E54p3MeI24Crhu6DbF60sX1+NdnVlVTg/ uBHHHN6kQyYX495c8VMeqN23u87E2VwP/9rjQgKWsk5dGgH9CNTMNSvRc5RlXnVBQaVUaUgtukW+V CfnySammfXifbBOfWQavQ61eMVzGQrhOoQ+2c5ya1bdXSRPIijmHEoQBfGeNKFpMVRBNN2oF5Ow7L P4DV+yVqWdctUrNnYzVdIq9NI220I2jYTGn7S/Yan+igcPvk9HrTvReg0OBQz1r1tMJjKhFtinkVw 1WGP7omw==; 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 1fhwqr-0008Je-SC; Tue, 24 Jul 2018 12:55:41 +0000 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fhwoW-0005LM-Ul for linux-arm-kernel@lists.infradead.org; Tue, 24 Jul 2018 12:53:21 +0000 Received: by mail-wm0-x242.google.com with SMTP id y2-v6so1806277wma.1 for ; Tue, 24 Jul 2018 05:53:07 -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=njyBULs9PWdQsY4lJgbDOmtKYIvdlYmmdmZvKuVltz0=; b=fuH8dCAK5dL4DEvbRZ5B/31dsANpfszp+xtD4biMJrnlEEZRSJu9nU4xbWWZtqV9NC mDAFkg/bJhouqSWOxlozENSPswvaTA/r/gxfbKs1mdPXpQhhmarI/NkbkxaGHolFXgou YCUM0NiiVPQZLokGV9n6xv69Rzsq1REHNjlogOCb/E1Yn4x6+dAcv43WpjzU69QUHv7M gFYohocDFGz0QPj0jJN3Rpy6PmdCRHgPB642R8GeOYw0XmZVACAGV/Oz6TAxUMG6cx0H jUolWLUC1FYSgfACdfZuH3Af59TKgVBzL+xbBuOqJp17wfcKbtr6b4O/N/6/J6JvgdFI golg== 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=njyBULs9PWdQsY4lJgbDOmtKYIvdlYmmdmZvKuVltz0=; b=IOO7+C07Qe75gNU4JXc5a1IKDWE6YU/9x5IxZz7Zkr3irFLUH3Ty/TcRKhVV8IDIhP BirFmAuNjpGqzU9r+CvnLSwE2r8fBYLvUsJUyq7VajnRkv5o/aWhM9bD9JYoTY0zc7o/ fVaxDga3qw9vOcuGPJxP6lSKLQ+N8JTvLNNjMbmT0GMIlB1PUpGHrYpz4OZFZh+IJ9cY vs+E18oBPHmKLxsbx1lSI6rslu2qaxMCBElJPveODgzCsfuwxIhqgAj1WpXTZOm9Sy69 UjcW2hELhHnOzQAYX1sW/MctK61Zont0efeAkH6Y+cUSxHmrsdspt2GNQfxgTYs88VQR 6KIQ== X-Gm-Message-State: AOUpUlGF5oPy9owgzCIQH7/BssDKGwvqINlAhOaSCFcN9qKLjm+mfSrA fSoymvyoppsHkr4oSQIC8xr2TA== X-Google-Smtp-Source: AAOMgpc+v8Ky9ij1yBrHiITaTzlGJQSHFky+JAwFsVsDNKEUtrqSYcz5aGeQOnuqtV2/G35OX/vWag== X-Received: by 2002:a1c:1802:: with SMTP id 2-v6mr1824985wmy.81.1532436786436; Tue, 24 Jul 2018 05:53:06 -0700 (PDT) Received: from boomer.lan (cag06-3-82-243-161-21.fbx.proxad.net. [82.243.161.21]) by smtp.googlemail.com with ESMTPSA id e7-v6sm20834235wrm.14.2018.07.24.05.53.05 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 24 Jul 2018 05:53:05 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Subject: [PATCH 14/14] arm64: dts: meson-axg: add s400 sound card Date: Tue, 24 Jul 2018 14:52:38 +0200 Message-Id: <20180724125238.14567-15-jbrunet@baylibre.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180724125238.14567-1-jbrunet@baylibre.com> References: <20180724125238.14567-1-jbrunet@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180724_055317_540114_94514997 X-CRM114-Status: GOOD ( 11.74 ) 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 sound card of the s400. With it the following interface should be working: * Lineout * Daugther card speaker 1 (same output as lineout) * Linein * SPDIF output Signed-off-by: Jerome Brunet --- Compared to what is actually available on the platform, the following is not provided ATM: * SPDIF input: WIP. * PDM DMICs: WIP. * TDM A - BT Codec: missing BT codec. * TDM B - Speaker analog loopback: missing tlv320adc codec. .../arm64/boot/dts/amlogic/meson-axg-s400.dts | 108 ++++++++++++++++++ 1 file changed, 108 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts index 9f5d81c3ee29..1b89c2cc5414 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts +++ b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts @@ -204,6 +204,113 @@ status = "okay"; sound-name-prefix = "DIT"; }; + + sound { + compatible = "amlogic,axg-sound-card"; + amlogic,name = "AXG-S400"; + amlogic,aux-devs = <&tdmin_a>, <&tdmin_b>, <&tdmin_c>, + <&tdmin_lb>, <&tdmout_c>; + amlogic,widgets = "Line", "Lineout", + "Line", "Linein", + "Speaker", "Speaker1 Left", + "Speaker", "Speaker1 Right"; + amlogic,routing = "TDMOUT_C IN 0", "FRDDR_A OUT 2", + "SPDIFOUT IN 0", "FRDDR_A OUT 3", + "TDMOUT_C IN 1", "FRDDR_B OUT 2", + "SPDIFOUT IN 1", "FRDDR_B OUT 3", + "TDMOUT_C IN 2", "FRDDR_C OUT 2", + "SPDIFOUT IN 2", "FRDDR_C OUT 3", + "TDM_C Playback", "TDMOUT_C OUT", + "TDMIN_A IN 2", "TDM_C Capture", + "TDMIN_A IN 5", "TDM_C Loopback", + "TDMIN_B IN 2", "TDM_C Capture", + "TDMIN_B IN 5", "TDM_C Loopback", + "TDMIN_C IN 2", "TDM_C Capture", + "TDMIN_C IN 5", "TDM_C Loopback", + "TDMIN_LB IN 2", "TDM_C Loopback", + "TDMIN_LB IN 5", "TDM_C Capture", + "TODDR_A IN 0", "TDMIN_A OUT", + "TODDR_B IN 0", "TDMIN_A OUT", + "TODDR_C IN 0", "TDMIN_A OUT", + "TODDR_A IN 1", "TDMIN_B OUT", + "TODDR_B IN 1", "TDMIN_B OUT", + "TODDR_C IN 1", "TDMIN_B OUT", + "TODDR_A IN 2", "TDMIN_C OUT", + "TODDR_B IN 2", "TDMIN_C OUT", + "TODDR_C IN 2", "TDMIN_C OUT", + "TODDR_A IN 6", "TDMIN_LB OUT", + "TODDR_B IN 6", "TDMIN_LB OUT", + "TODDR_C IN 6", "TDMIN_LB OUT", + "Lineout", "Lineout AOUTL", + "Lineout", "Lineout AOUTR", + "Speaker1 Left", "SPK1 OUT_A", + "Speaker1 Left", "SPK1 OUT_B", + "Speaker1 Right", "SPK1 OUT_C", + "Speaker1 Right", "SPK1 OUT_D", + "Linein AINL", "Linein", + "Linein AINR", "Linein"; + assigned-clocks = <&clkc CLKID_HIFI_PLL>, + <&clkc CLKID_MPLL0>, + <&clkc CLKID_MPLL1>; + assigned-clock-parents = <0>, <0>, <0>; + assigned-clock-rates = <589824000>, + <270950400>, + <393216000>; + status = "okay"; + + amlogic,dai-link@0 { + sound-dai = <&frddr_a>; + }; + + amlogic,dai-link@1 { + sound-dai = <&frddr_b>; + }; + + amlogic,dai-link@2 { + sound-dai = <&frddr_c>; + }; + + amlogic,dai-link@3 { + sound-dai = <&toddr_a>; + }; + + amlogic,dai-link@4 { + sound-dai = <&toddr_b>; + }; + + amlogic,dai-link@5 { + sound-dai = <&toddr_c>; + }; + + amlogic,dai-link@6 { + sound-dai = <&tdmif_c>; + dai-format = "i2s"; + dai-tdm-slot-tx-mask-2 = <1 1>; + dai-tdm-slot-rx-mask-1 = <1 1>; + mclk-fs = <256>; + + codec@0 { + sound-dai = <&lineout>; + }; + + codec@1 { + sound-dai = <&speaker_amp1>; + }; + + codec@2 { + sound-dai = <&linein>; + }; + + }; + + amlogic,dai-link@7 { + sound-dai = <&spdifout>; + + codec { + sound-dai = <&spdif_dit>; + }; + }; + }; }; ðmac { @@ -272,6 +379,7 @@ PVDD_B-supply = <&main_12v>; PVDD_C-supply = <&main_12v>; PVDD_D-supply = <&main_12v>; + sound-name-prefix = "SPK1"; }; };