From patchwork Mon Jul 16 10:11:46 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 141985 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2230963ljj; Mon, 16 Jul 2018 03:12:33 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcQ0gtGaztWYPoUWLRCtbsCP5LY4mHu8Fi4pJ34gA9Dk3c/Cw52580VgWVIzqXffSjBM7j7 X-Received: by 2002:a63:614d:: with SMTP id v74-v6mr14801823pgb.328.1531735953654; Mon, 16 Jul 2018 03:12:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531735953; cv=none; d=google.com; s=arc-20160816; b=G3yYNdsSG2JVvUcz8Dyx0Xa3596Ff0STXZ1QXb15jdkaHU9J3O4A14ERg7BmYWfR7K pWTi+QnDxJpg01rLAZB08lmgksHjy+L0UGnJ9h3JUGxvIw8dsldQni/N6In1Mq0M5HOk cqHchJ2X9qbncYgETdSBYvOieEToBcnE4fiuO3c9KHKT/CMZoiGuHfguJBFr9acC1bcI U9G+mM0ocAFV1hM2Ks8LAHHAoIFiXbbBFZ8IUBf8SIx1tNeM3J7MERqyacXC1JNFiG0H +shv4kuXTGWwoOJhxluNEwxkR2ttTgTDrFhyw51Bkcy/LedMYLR5TgU7L0zC4eODAZQl mVeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=8MZ5WN13JuyyzSGS+RLN2LAH4nGPz34cR9/alTTmrRY=; b=Kdh5nLTx9b/8eZ2b90IA0dgIqsQGWfrj2aFInwiBjiErb0hoAnum2PJd1w88GRhro1 18OfYDpBkVHD3kOQThYRoKmmghkKl8/iGcBKwSsjuAVLhy+vCj8KvVhcb8pP32x8MAWt KgqdlIkp1Pnn1YCiHtuszgt6/YkKvhCFSR0ajIyf4rHan8grsDA8Xpy4g49B5vGslf+Q wqBAZh0eqZMiwkRXCgHxNl1MYrk9nNwO/xhl/wxnpFZQHB68QWom8AVKpjOAwzJzF1k8 TLQCB3IfYH4Cbq/aoWvlZGATlqhPz/w9og/mBuQdHPT0i9EBjpBKy+ePBa4MQF7Cbz6X baxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=kXF7li3Y; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t10-v6si5079530plo.336.2018.07.16.03.12.33; Mon, 16 Jul 2018 03:12:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=kXF7li3Y; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728525AbeGPKjM (ORCPT + 5 others); Mon, 16 Jul 2018 06:39:12 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:55857 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731416AbeGPKii (ORCPT ); Mon, 16 Jul 2018 06:38:38 -0400 Received: by mail-wm0-f67.google.com with SMTP id f21-v6so2400012wmc.5 for ; Mon, 16 Jul 2018 03:11: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=KWehxplu+ULl9a/m1vuMcbjaWxLdOrl+tmPJcIPpeww=; b=kXF7li3Y/xkCQYprPoE6RdjkzWlxhW4ulJp24CqFSZYrjCUt7YXo+P7Ud+Azf61GJj EPCr4GMkR2+SGiAU3ExHbWVPUhPFuyDovdKZ+pA9/3i7iPlYYmFLxDY1wFESdSIutmP2 +2wByQVWPdIgkqKhAXisVsibP6EA5SZFdIpWx9aozeR61K/UHbZR1HaGNAD87pU/sJWk 7ylHjv+azMExacgeRYQlQuY39Ox631C2RGbweTWFjF19Zm7gux1AAZgY9uPUcP9svjN1 18DZq3sB33ebGh18QubRtdwgmWH6GuX6S6QmZ987mmFYmAOnnIUCCjYaSjtgBH9VMm77 fTAg== 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=KWehxplu+ULl9a/m1vuMcbjaWxLdOrl+tmPJcIPpeww=; b=tYfeKsqAsD3L1qL1D/H3RV480r8UK6DGIae5NOt3e6GyPi+6dRPJnUmsxTgC4rK8rD xNTpGzh6yqhdxRtIrbn+9Sfp+0ikzjketuOgu7Q9E5jSdW7KmJylwSU8eMxf0RmdVYAb qNoz97rUnqV3y0OhUjjO8kUAq6OA8ECaR7UHPgBznBd0l6KaLq+mTkjwyn+RcdBUYVYw p7LfceVMsdU/FcissYxl5hcJK0h8caTUsMS5pplY0E3RW++eVbxDqA0M8IPEE4BKt3Un 7W5kshk+psfohDnlJNH2GA2vP8frHvvxbsRO6Vg42gQKk8uMN6XoqBxp7RrLYfSPKmFh wYvw== X-Gm-Message-State: AOUpUlGvojvk2GVX9H/42R/7weVjrj6kZfxqSM27T1h7CPmEWc/H2cNN yPWgxwHU5QM9+Gk7s5HC6bLzjg== X-Received: by 2002:a1c:1ad0:: with SMTP id a199-v6mr9568003wma.131.1531735915915; Mon, 16 Jul 2018 03:11:55 -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 h14-v6sm10219094wro.15.2018.07.16.03.11.54 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 16 Jul 2018 03:11:55 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Cc: Jerome Brunet , linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 1/6] ARM64: dts: meson-axg: remove vddio_ao18 from SoC dtsi Date: Mon, 16 Jul 2018 12:11:46 +0200 Message-Id: <20180716101151.31109-2-jbrunet@baylibre.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180716101151.31109-1-jbrunet@baylibre.com> References: <20180716101151.31109-1-jbrunet@baylibre.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Regulator should not be defined inside the SoC dtsi file. vddio_ao18 is already defined in the S400 board dts anyway. Fixes: e1969df34357 ("ARM64: dts: meson-axg: add saradc support") Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 7 ------- 1 file changed, 7 deletions(-) -- 2.14.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi index c87bafc4b101..08e5f431c025 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi @@ -91,13 +91,6 @@ method = "smc"; }; - vddio_ao18: regulator-vddio_ao18 { - compatible = "regulator-fixed"; - regulator-name = "VDDIO_AO18"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - }; - timer { compatible = "arm,armv8-timer"; interrupts = X-Patchwork-Id: 141980 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2230419ljj; Mon, 16 Jul 2018 03:12:00 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcuZ72rjHUarHwPVTLFGjq+glTZZFgC6JmQ1GqGj/yx/eOSIx+kMBTU3Qaghwc1LKq6FyQz X-Received: by 2002:a17:902:8b86:: with SMTP id ay6-v6mr16133291plb.295.1531735920816; Mon, 16 Jul 2018 03:12:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531735920; cv=none; d=google.com; s=arc-20160816; b=PhKMjT77or3xVm1S8VZcaVAGujxb7prvw+uncxJMakIW33LjVCt61WpdnxKFD1mY4h mrISx6UR7CdiDA3Q+Pv08T1r+YDk7YFKj0iZkyQGqMgdLEPeVif3yR5Q0dQRTwyQ/aZQ Lo2h/459hQ64Il+Edc2VawV/BXSRBmryReJpCP5jRy45HM+BhaFIyRof63ZomgJrUhxU VqNyAfSx/DY/e49NspwdO90IOyx/wFOTe1mHRLPq4GxSQ9lJOGf0g9i3bb67ZQPcR8Vy LVh3LI2ArhD55tIpzuWKGRkxgZ3k5KwudV1rLlN8aMeIUAVNpqr1mWlI5ZRX9Uw2X2Tq j2cw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=/0jIXwJ3QHRQ/EVnjg12rY6qvtf5qWnUmBkUUV54IzQ=; b=yUtJBdTV83NSd6mTOwWDLztQXreWhSoYoGCGRAgC0o3m9XJSG55eF6Q9RKBnD2jwAE aEU+CmqSd8P1FJV9dnFi0LLEhsb2Z8dq0tDzrXkmXNWsprVSrIu6dS6O8W418NmJYSjh TI2YFFir1f7Of69ToIsBUeNlb+V0BrElIetggZUNpf78KoOIIbKh5+g7s4xhVbO782DE 1W3Va0N1K9JCuwMUls87W9/gFOc4Bl/BdJynTn3A2NNlCs0heT/TS6cBbzt13epVVCuG EHP6juEnmXmivnLUOydiD7bon430BrN1FAi8r06YtuDCJ90qqe7ueKb2X26QLuEb8yck j2bg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b="l/nqQ5zS"; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s15-v6si29343726pgm.56.2018.07.16.03.12.00; Mon, 16 Jul 2018 03:12:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b="l/nqQ5zS"; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731551AbeGPKik (ORCPT + 5 others); Mon, 16 Jul 2018 06:38:40 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:38785 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731474AbeGPKij (ORCPT ); Mon, 16 Jul 2018 06:38:39 -0400 Received: by mail-wr1-f68.google.com with SMTP id v14-v6so1514897wro.5 for ; Mon, 16 Jul 2018 03:11: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=jsAPxDrKmDni+9ip5t209bPE6nwgW1vjStnIwuNytC4=; b=l/nqQ5zSR95a4wF5kc4HB3HM9h5LVTCQpz12iVgWIGNLqQeNtyjJu0+rQI7sOOxtVa KyJMzooYjs+nxv1K+JVBNr6ANFhyrPdz8ej0wZo7YK5XsMGZ/kYo/z+ZzHsWXMvh5pBj rR7gePXwJjIH1xsgaW54efZ7H10WnAvshSYwjWsYQplriD2Cfd8HYLe9yx12S1eqHJ4J an3b3r9vSzCMPBHWdAKX0QydhilYwanZFgcTMjf2J5Oe2bCC588po/wgR2MziHIowtMb bNeIKSDxuL37CLWEPwdyxD58tR+qo7Wvm9NqwKd11sR4VspuTvydfFFXF1CMPGtxPnrt GK0g== 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=jsAPxDrKmDni+9ip5t209bPE6nwgW1vjStnIwuNytC4=; b=hEzL7DALZSix6ux3ULdxjjMiIMHmT7SNhL9dGXTJho38ufPU5Rd+bYB5fRBow7+axC wZeH0wxTUnHH/rJrCNDrvNLZIePOHJ8rOAm+1woBsir1Rb/pZMi6sV0lQ5023z++fRHZ 9UBAG8quPl8RBgBokbYfkNN14WrhG6qXBN01aJsilMXv9WKmHoDv8guDfzprueZSJUOA U7lb5RDsju1T/Bu1iIOon65RHX4eQumXikDc0rkyE3Sk0vIi0Eu4u5K4sfC0cGZdup9t EKv5CuMe0Twa7yO/FUFkFBgD5PpZpeCoR42IzlDfPa66+sM9yqYcsrJSPWX2D+zEIseO 7pJQ== X-Gm-Message-State: AOUpUlG6v8LHDaSiFSmyTIPTTRwXHZS2iQJOsgpM6CG8TUZZWYDoXArA xTuwZ5JaOAeYoioxuFkG43mrPg== X-Received: by 2002:adf:dfcd:: with SMTP id q13-v6mr11210848wrn.113.1531735917105; Mon, 16 Jul 2018 03:11: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 h14-v6sm10219094wro.15.2018.07.16.03.11.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 16 Jul 2018 03:11:56 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Cc: Jerome Brunet , linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 2/6] ARM64: dts: meson-axg: add adc buttons the S400 Date: Mon, 16 Jul 2018 12:11:47 +0200 Message-Id: <20180716101151.31109-3-jbrunet@baylibre.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180716101151.31109-1-jbrunet@baylibre.com> References: <20180716101151.31109-1-jbrunet@baylibre.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add the 6 adc buttons of the amlogic S400 Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 44 ++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) -- 2.14.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts index f389f84be2e2..fd90fa4a282c 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts +++ b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts @@ -6,11 +6,55 @@ /dts-v1/; #include "meson-axg.dtsi" +#include / { compatible = "amlogic,s400", "amlogic,a113d", "amlogic,meson-axg"; model = "Amlogic Meson AXG S400 Development Board"; + adc_keys { + compatible = "adc-keys"; + io-channels = <&saradc 0>; + io-channel-names = "buttons"; + keyup-threshold-microvolt = <1800000>; + + button-next { + label = "Next"; + linux,code = ; + press-threshold-microvolt = <1116000>; /* 62% */ + }; + + button-prev { + label = "Previous"; + linux,code = ; + press-threshold-microvolt = <900000>; /* 50% */ + }; + + button-wifi { + label = "Wifi"; + linux,code = ; + press-threshold-microvolt = <684000>; /* 38% */ + }; + + button-up { + label = "Volume Up"; + linux,code = ; + press-threshold-microvolt = <468000>; /* 26% */ + }; + + button-down { + label = "Volume Down"; + linux,code = ; + press-threshold-microvolt = <252000>; /* 14% */ + }; + + button-voice { + label = "Voice"; + linux,code = ; + press-threshold-microvolt = <0>; /* 0% */ + }; + }; + aliases { serial0 = &uart_AO; serial1 = &uart_A; From patchwork Mon Jul 16 10:11:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 141981 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2230510ljj; Mon, 16 Jul 2018 03:12:06 -0700 (PDT) X-Google-Smtp-Source: AAOMgpc8+ZKrAO2PQpYXclbtYW8DfcWAOHSSFojdinGw+ZTlJsdNKqbXWyWFpZGGWrNf7qdBuV3D X-Received: by 2002:a62:843:: with SMTP id c64-v6mr17403430pfd.14.1531735926012; Mon, 16 Jul 2018 03:12:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531735926; cv=none; d=google.com; s=arc-20160816; b=MRK9Xjj+f3O9xSFz2mGGGrAwNz2QSHG1rkcKztKXd1IkLuUphrYAQ3eued2QX+hN4k uJjalkUCvNjMvw/RH8nNn2sQ9RdYMtpTZQhZMs2rb4GZ62OQ5HVR110dsLCuD8iYfNgw D9iMZbkBqOX50ux0YdCCElmgOwqecqtJIbQ55hWLlwYkU/P4CfRhEB+q356oc+K/UGCN LsqvMmhwYnMjvqTVLqxoq9oLci5zz3UXuUmiN0q9s5Xz1eKu7KrenHIy3qdIL4az+kGx 82pMn/HD/Hgfzq/vJ/JffUcYVyFOZ/UqLsI2Zk860/usjX1LD5UMjlBZ9JapO9+ZGBpx N/gw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=bQrHdWbSjbLCwmEOP/C8iyy1hWVIMA/Wx0bFINIT8ow=; b=uEVpsry/Y3fOEzqnvsLx2nadsGTyWcTFkDc3JjjDwDmJUDVciANC/ER2PML93/3oO6 wrSjmi+cKZlYu7D/4cUpb7KZVKyfZmmyXGmO9yLtHtYegrJscdASmK4P3vI+Ett2E+6q vLwVFPyg3NygzinxmHBvCxLQG6S3VhqnezoQbjBwk7sxADetl51ZwEyNkw/KUsWi7qA8 E7dnEHiIsZ45SUhyye+AcNbdYZhjAoVHklKJoJeoUXUf/8UeMUp8pPXnTR7CpcEw07V0 4nQYWa7MmwyJKNZAd4sT/rqMxPhCLcffIddIaeFziwq2hwCXBuMTYkiAAztaGYnyPaEj AKDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=YEooTVmc; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e33-v6si30202082pld.231.2018.07.16.03.12.05; Mon, 16 Jul 2018 03:12:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=YEooTVmc; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730552AbeGPKip (ORCPT + 5 others); Mon, 16 Jul 2018 06:38:45 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:33246 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731591AbeGPKio (ORCPT ); Mon, 16 Jul 2018 06:38:44 -0400 Received: by mail-wr1-f65.google.com with SMTP id g6-v6so22364858wrp.0 for ; Mon, 16 Jul 2018 03:12: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=pl/Fz+vGzGyS5mZJHiQjJzwbW2hjtldfbX5N0oksSsk=; b=YEooTVmc58/UG6EQ0V8Fr18DKYoP3sGbb3fJXvKBxbxLVZnm+e/UGG8tNw9vkV8FCn n44gepkn3LIKx3tUA22UcYrjlL+0f5t0sWbAoy7OySzW++PuFnKx76MQAA1TxDnMSGnU X7Do73Kvx03RGjM7qfNKOYEovkdOICxTrqiVlca5DXxF8LVcBePXU0sheo3VaJdT25SX vBN82TPN0aMZYeXMAhGI/HoRhaUhdiLO+t5NUqEh72BG3I8KkwCy9qahAPY9aPynZYdK 5gPq3KyCloAIN5mx2XwWmODg3Bm6xjZz4G4SGWkUWYBzE5Pe1wKWIy2FJA19V0i5R/I0 MScg== 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=pl/Fz+vGzGyS5mZJHiQjJzwbW2hjtldfbX5N0oksSsk=; b=H9yDgqZbP/sptSM/r62wu2i7HdoyPoyk0pGTzPmrdgWCVziiXDXPbtL/zgUywP2ATr yRmSJ68+SCN3JrPbls1UC9EEKIy13ww34nnsNuwYPk/FhFQSxJtaeynyjkuey73owB3s CiLV+de5dz2Gi+atV4ziijRcsCalBiLvb9aeSen7S29J3IIE9neCwBNp23cytrkzgvC5 64188pZj5XyYsDZ8dtELiGbGxV69RnkkcGZl0jvjZn6iKYnpeFzHlJP2juVZBcf4uRIw c/qszdeOUPR4Z2g8G8VfRJNI13hMdIzfHW9EmZzXFvQnlCLfeZhNVz1vSXxUfFnhrfJt eG3Q== X-Gm-Message-State: AOUpUlFETuNdVrX+N1MHdWOL4PyjA+Kj7Nc//pney84VX9d6HFqSAqoS KeqThPj3ZbaS6UOVXEX5D75xHg== X-Received: by 2002:adf:eb0c:: with SMTP id s12-v6mr12319030wrn.174.1531735922146; Mon, 16 Jul 2018 03:12:02 -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 h14-v6sm10219094wro.15.2018.07.16.03.12.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 16 Jul 2018 03:12:01 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Cc: Jerome Brunet , linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 6/6] ARM64: dts: meson-axg: add the audio clock controller Date: Mon, 16 Jul 2018 12:11:51 +0200 Message-Id: <20180716101151.31109-7-jbrunet@baylibre.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180716101151.31109-1-jbrunet@baylibre.com> References: <20180716101151.31109-1-jbrunet@baylibre.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add the audio clock controller which is part of the audio bus This controller takes 8 input plls, and the usual clock gate, from the main clock controller. It provides the clocs for the all the devices of the audio subsystem, such as tdms, spdif, pdm, etc. Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 36 ++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) -- 2.14.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi index 461be4a35f92..6adc8d3dbf0a 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi @@ -6,6 +6,7 @@ #include #include #include +#include #include #include #include @@ -155,6 +156,41 @@ }; }; + audio: bus@ff642000 { + compatible = "simple-bus"; + reg = <0x0 0xff642000 0x0 0x2000>; + #address-cells = <2>; + #size-cells = <2>; + ranges = <0x0 0x0 0x0 0xff642000 0x0 0x2000>; + + clkc_audio: clock-controller@0 { + compatible = "amlogic,axg-audio-clkc"; + reg = <0x0 0x0 0x0 0xb4>; + #clock-cells = <1>; + + clocks = <&clkc CLKID_AUDIO>, + <&clkc CLKID_MPLL0>, + <&clkc CLKID_MPLL1>, + <&clkc CLKID_MPLL2>, + <&clkc CLKID_MPLL3>, + <&clkc CLKID_HIFI_PLL>, + <&clkc CLKID_FCLK_DIV3>, + <&clkc CLKID_FCLK_DIV4>, + <&clkc CLKID_GP0_PLL>; + clock-names = "pclk", + "mst_in0", + "mst_in1", + "mst_in2", + "mst_in3", + "mst_in4", + "mst_in5", + "mst_in6", + "mst_in7"; + + resets = <&reset RESET_AUDIO>; + }; + }; + cbus: bus@ffd00000 { compatible = "simple-bus"; reg = <0x0 0xffd00000 0x0 0x25000>;