From patchwork Thu May 17 09:30:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 136131 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp2039298lji; Thu, 17 May 2018 02:31:25 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqMXgGFktE3l2Xkfo+n8ZWZONkm6Z5EqBix27EsBc4vA2IyNg7vVW4Lifl78VxnfoCKxgvM X-Received: by 2002:a17:902:868b:: with SMTP id g11-v6mr4385742plo.305.1526549485303; Thu, 17 May 2018 02:31:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526549485; cv=none; d=google.com; s=arc-20160816; b=UNKjQcBl5mMyrHTzGGOZ4HCtGNoPDGuoLKTPsGYB5+cKSy+O8ajXcTKqeuXMzPy+9p bFv2VWC6JPFLmLpst8mS/ZEL5tc+N1Rc1QoIyb7VXhdFWRfoU8OPh1Ic//BZMzaN3goM twmaXgo7gThnTuLtgOrnmt++nZOGmItDB84T9Lx0hWdrJvBtsUV1qZSWs5tDaj06vkoN ae7iy8gKkO+HPmRkj20w2jnXlfEODkA491l+UZTIYQpM4j9g6E8lTodVhZKyI1dBbniF wSFoQo9FC64SE73CjFLdchQOBmYJ8Ujxyk9XYOBtS8WtbRL0YIO5/LAOKjL1AB7itUCS uTFg== 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=ZAENHVW6VfKTVxi5fmw5RhntssK79AglJ/HvEFl4/pA=; b=x7AgG25ditdQ5RKHBTNXyAib4zkGNBZSZX/E1WFIYnVIyoBY4smcz7XT84XIkLrMRU czMQP3Kmtj7nbi6C7j4ZDPIi1fnB3VH8CTZbOQMpPlo4t28xVboyc3BscPF+2Olaed4L JrYAK/TYgr/T0J054if1ovlQj1WNs8Lw5bZzMzgA2/r2hPrbu9VNmUddPgKnXT45c7Q0 Fwlb37WSCmaKLvtyq9r/hCH4K8NZ/IxGY/cIpRKD/CSxbAp+IPEVFTzg5NY6LqtYTpEb pSnPt91+LUg9e5JplUZdg1hrplF6PvvBpMiwk++uem+IKvJvYBFIVwEj2VbM82kOLgCs SVEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=b0mN0JCP; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 d9-v6si3751029pgv.330.2018.05.17.02.31.24; Thu, 17 May 2018 02:31:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=b0mN0JCP; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752320AbeEQJbT (ORCPT + 29 others); Thu, 17 May 2018 05:31:19 -0400 Received: from mail-wr0-f196.google.com ([209.85.128.196]:35682 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751715AbeEQJbQ (ORCPT ); Thu, 17 May 2018 05:31:16 -0400 Received: by mail-wr0-f196.google.com with SMTP id i14-v6so4929805wre.2 for ; Thu, 17 May 2018 02:31:15 -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=ZAENHVW6VfKTVxi5fmw5RhntssK79AglJ/HvEFl4/pA=; b=b0mN0JCPfgaMksdPSG77rp9Xt5YEzvq7q+5I5tpXVaAP5b3/u1IsLbv36aLRUoOrNd /7OhX38ndjKgy1dzrQez6WchPwmwaYtoUXufwn4A3HFtFTwgjZDz0iXFQt4+hI9Duy7e aAIXy0uf7rsQ6qTDiDm4lQQdf/NHlYfz0elOljFoORZzVXTLYQOVpEVazUysCE5vkeXy vkGDCpWqzfPJJzawcAo20MhfE7T7hgH4cJlHsy3xPqCb+c4uuy2pd7GxlOmZDxmds357 5zcVaIhImA3wzrbsXX/b4ax4hhb438IVKHKUbBodhpA2h/kn8Cy6zTnMg/1IxHtasP/W EmZw== 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=ZAENHVW6VfKTVxi5fmw5RhntssK79AglJ/HvEFl4/pA=; b=s/ye2wJ1ht90JjdtwAxl3B+LrVetIrN0CO3ue9Qu1VCp8w3hFrmZmo3V9zSlQhf60P mMRO2H8QjbSNO+iizAVZwDmCsYXH+X1rm9sGlN1+EA7nqcOzxMEJgle3Up9+hnHyDtZw pu7w6hjC4V6HrGyCiUk/OX67GwRBemrG9hvGNp5hY2TswH/548pnJyl0NfPHkc3c0xIr hxlkmkj4SLluaYQTK4fG96vDQLVxk6d2jnpSSqEqxTIFQYWx5Aubs2Bug2tojgjMRM+x 03bG4cyMiABAr7xSEWnNbM34rjSfo7LT40Jc7xkx4AF7Lmm/ZIrPq3cKj6GL/0qrJf4O 8dFw== X-Gm-Message-State: ALKqPwfJ+UqUl4eSms0QVOXFi7Z8E+lfsCjAf+O+FGfgpb9kbeZZhF9n idymQT0eY6TQBlDHnNVa4p91HA== X-Received: by 2002:adf:db0b:: with SMTP id s11-v6mr3309203wri.241.1526549475275; Thu, 17 May 2018 02:31:15 -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 w31-v6sm12726078wrb.93.2018.05.17.02.31.13 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 17 May 2018 02:31:14 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Cc: Jerome Brunet , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/4] ARM64: dts: meson-axg: clean-up i2c nodes Date: Thu, 17 May 2018 11:30:57 +0200 Message-Id: <20180517093100.22225-2-jbrunet@baylibre.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180517093100.22225-1-jbrunet@baylibre.com> References: <20180517093100.22225-1-jbrunet@baylibre.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove undocumented and unused "clk_i2c" clock name and the second interrupt from i2c nodes of meson-axg platform. Those seems to have been copy/pasted from the vendor kernel Fixes: dc6f858e2690 ("ARM64: dts: meson-axg: add I2C DT info for Meson-AXG SoC") Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 37 +++++++++++------------------- 1 file changed, 14 insertions(+), 23 deletions(-) -- 2.14.3 diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi index 381bd2c707a7..b59f341104d7 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi @@ -214,50 +214,42 @@ i2c0: i2c@1f000 { compatible = "amlogic,meson-axg-i2c"; - status = "disabled"; reg = <0x0 0x1f000 0x0 0x20>; - interrupts = , - ; + interrupts = ; + clocks = <&clkc CLKID_I2C>; #address-cells = <1>; #size-cells = <0>; - clocks = <&clkc CLKID_I2C>; - clock-names = "clk_i2c"; + status = "disabled"; }; i2c1: i2c@1e000 { compatible = "amlogic,meson-axg-i2c"; + reg = <0x0 0x1e000 0x0 0x20>; + interrupts = ; + clocks = <&clkc CLKID_I2C>; #address-cells = <1>; #size-cells = <0>; - reg = <0x0 0x1e000 0x0 0x20>; status = "disabled"; - interrupts = , - ; - clocks = <&clkc CLKID_I2C>; - clock-names = "clk_i2c"; }; i2c2: i2c@1d000 { compatible = "amlogic,meson-axg-i2c"; - status = "disabled"; reg = <0x0 0x1d000 0x0 0x20>; - interrupts = , - ; + interrupts = ; + clocks = <&clkc CLKID_I2C>; #address-cells = <1>; #size-cells = <0>; - clocks = <&clkc CLKID_I2C>; - clock-names = "clk_i2c"; + status = "disabled"; }; i2c3: i2c@1c000 { compatible = "amlogic,meson-axg-i2c"; - status = "disabled"; reg = <0x0 0x1c000 0x0 0x20>; - interrupts = , - ; + interrupts = ; + clocks = <&clkc CLKID_I2C>; #address-cells = <1>; #size-cells = <0>; - clocks = <&clkc CLKID_I2C>; - clock-names = "clk_i2c"; + status = "disabled"; }; uart_A: serial@24000 { @@ -1116,13 +1108,12 @@ i2c_AO: i2c@5000 { compatible = "amlogic,meson-axg-i2c"; - status = "disabled"; reg = <0x0 0x05000 0x0 0x20>; interrupts = ; + clocks = <&clkc CLKID_I2C>; #address-cells = <1>; #size-cells = <0>; - clocks = <&clkc CLKID_I2C>; - clock-names = "clk_i2c"; + status = "disabled"; }; uart_AO: serial@3000 { From patchwork Thu May 17 09:30:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 136134 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp2039931lji; Thu, 17 May 2018 02:32:07 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqWCyBbBdva21Gj85fTc2mLSif9SjJQwjNDr944kDp5IESBlwilJ03qKBWelh1YKM/vdZeK X-Received: by 2002:a17:902:1023:: with SMTP id b32-v6mr4469186pla.145.1526549526899; Thu, 17 May 2018 02:32:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526549526; cv=none; d=google.com; s=arc-20160816; b=cPE0NZMKPBqY5Db5xnGYdzDCwFU8e3cOVhA/hAuBnH2k0IjRtem0LWpNn0/FgYpa6r ZgZcsvYw7cFYWTt+pGMO75Z+ZehVnQoBTOewqvhymmX+IbYJDFe2KNyXSpPiwGUwgd5V Fx1NLsV1H1RRamPdxt//u5QWneM25OQa8/4SRWf0SCbhZK+cYjUY8nwUqh5H1KXmm/UY Y9F6Z/BJqE7bcBw9vm0SBMw+921V4gC9m89k+i/pSk/zF3c4kcUts2BMcY2o8/L8phaQ ZYDi0SUVwzCKHZWp7+e1BZ4m60/QMs4ne+uqDQvLJChRuCO1MyZd5AlPNUZ4H5c3UD/F Ct+w== 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=Bh/gDPwsBSwrGv4RPOHyFIJYMnx5PEefTohMB7rf//Q=; b=K8S1Hnla/Z2jzHbivcbZoAbOdy2MmMwIH7sYX2VFuazfmJS9YzHdPSZOlMijEiW93f KAjMB4x54hrfECsNH0aLZxvQBdOG7gzPatjZ/DXyrEJLK/2SoZ86wA5PTRXMTdVZyT3k KgVc6RNcbD3O0dGe2ECVDO11e/x1Dc66PUdmdQaaDqFv1LkH/Nsi73czR4sqfsapGEu9 9USzeX3eQ57H9VIV2XyohYSL+a4Ui7xUnX5KrHuJsvIVWHyHHxdP8IBXfVhwQseFClcr EQtu4CS42PVESz22E+9CTkQ6rfQZehX99vqrxQVh/GPtr9CU1elSxQBAzXoE8Q4mbmSz fYTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=hxQdIIK3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 d124-v6si4881165pfc.176.2018.05.17.02.32.06; Thu, 17 May 2018 02:32:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=hxQdIIK3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752343AbeEQJcD (ORCPT + 29 others); Thu, 17 May 2018 05:32:03 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:55910 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751907AbeEQJbR (ORCPT ); Thu, 17 May 2018 05:31:17 -0400 Received: by mail-wm0-f66.google.com with SMTP id a8-v6so7168568wmg.5 for ; Thu, 17 May 2018 02:31:17 -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=Bh/gDPwsBSwrGv4RPOHyFIJYMnx5PEefTohMB7rf//Q=; b=hxQdIIK3nPmkRXDx4hvgWGECgn1ZbtsdQJevrAc5/poWJu3vFGn/UPiUPOydsWjjrw 0T0EaMyDlBMs8+bDhmrVIXCPICXlozZr/12tQjOTtF11qfhjcTOe2oHta6aK6fpstrs7 tVqtd9Gp1EIrFX1gdUWP4EKrmgqlcoDs06h7m934B9dHFFUXhzuLlpRDH9GNb6RqNFBm sSXjNxeit/06s9fES4GZD2eUT2pOUSamE0xmluVFcxkqfqciMFDiMl+EnDJgdsbb6mRq pXZaKobt14Yy1TQb6b6l/Rc2vly+kOTnpS+MoOw5MTOUlaoNu2L/hNM8HvdYMC0v0Von zB+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=Bh/gDPwsBSwrGv4RPOHyFIJYMnx5PEefTohMB7rf//Q=; b=GEli5kSNQHNFwHbgYk3cdbf8MD+zY2us4Kz68F+azEE98n+bZUUq7SK5opawGbFQdS OLRyymKqm3iC1keJNemSKiCXZFDePm5a1INhuyzydkhtmIlreZhn+obJkKuFrtVJSLdY Ist1wZKdXlBGm42K8iXJoJOHdUEcOmXkXZ9vD85mXI30GPxA5zlPBPddJZUXOAbPC1sc sQc6/WZEX4y33a0oGzHScYg9ibf+RO6iSxzjxOMGPZ+dt8eqb4D149EjV5bFsrTkGiqu LC4oG8r+jG2mUou6UiTQPd4iRoySvHqtbRnN1Z/gNNGrF/t1GlGXWXK58nfufXe24lzu ot9Q== X-Gm-Message-State: ALKqPweVMp/MrREEtbi6bH8MYOVa/dp6VgjYLyZeTlV1cjFPjC12A2eL lZOj8KTRapF5AP7knUz/4e26Bg== X-Received: by 2002:a1c:d1c2:: with SMTP id i185-v6mr1240086wmg.10.1526549476746; Thu, 17 May 2018 02:31:16 -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 w31-v6sm12726078wrb.93.2018.05.17.02.31.15 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 17 May 2018 02:31:16 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Cc: Jerome Brunet , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/4] ARM64: dts: meson-axg: correct i2c AO clock Date: Thu, 17 May 2018 11:30:58 +0200 Message-Id: <20180517093100.22225-3-jbrunet@baylibre.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180517093100.22225-1-jbrunet@baylibre.com> References: <20180517093100.22225-1-jbrunet@baylibre.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The clock specified for the i2c AO controller is the one for the EE domain, which is incorrect as this controller needs the clock for AO i2c controller. Fixes: dc6f858e2690 ("ARM64: dts: meson-axg: add I2C DT info for Meson-AXG SoC") Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.14.3 diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi index b59f341104d7..d213ab715e03 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi @@ -1110,7 +1110,7 @@ compatible = "amlogic,meson-axg-i2c"; reg = <0x0 0x05000 0x0 0x20>; interrupts = ; - clocks = <&clkc CLKID_I2C>; + clocks = <&clkc CLKID_AO_I2C>; #address-cells = <1>; #size-cells = <0>; status = "disabled"; From patchwork Thu May 17 09:30:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 136133 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp2039362lji; Thu, 17 May 2018 02:31:28 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoE8GpdPkOFuqhzS5C+u2cQhjdVMsDSDnHH5+oeTfndcqDKBJR2MxCkkPYeQzOSGhRwZrGf X-Received: by 2002:a62:303:: with SMTP id 3-v6mr4454849pfd.255.1526549488797; Thu, 17 May 2018 02:31:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526549488; cv=none; d=google.com; s=arc-20160816; b=hXJwlUqkERxBEBXnB3UCcHkrwcUS+nLr2gpUlOLyrm8Rg3XbZJFQH36uc4ccK2d82/ 5t3zUgVPBaFsfuyS5rWuYYTe4RbBHzXC0Am0thos+x+n+rCOTo/bjwmzPzO9ImyQbYX+ tC3aoiKNgQPzR/EFkntqRnq1uNV8jRhJ02yIdniASMWU+W2C0PhfYlnMrqbWBk5OzUrb 0VLpEAhG/ZCmWkPhQC8DJTWdj395lsUGG9573PlYT92zJz/fF9HtOzWqhcy3axhtm+py SHH8cCRq8LYD/jT79phR1ELTvHJhM9g1jsmiqJe7kYMbfP3gSvCffajpIgrr2POJYuNo CdzA== 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=Zskt7UQoHwTVlBF1pasnf2haHN0pNOXFlMoKx0AMDqI=; b=lTHynufsgSoCiHJSg41wxXx3PEscB/avVNr7cjm9oNBEQIWm5mYd0TuhLRBkk4PFxg EHvNWCc74M1iZmfUVZeWQQGyalOZetYJGDbzIu8HBO2OyGDzwGZe131Sh0G72CjnYHSM fyAG6ff9UxhFVxs+QMX2rHwq+gBcKYyh6F91HjuATJgjfAbDmbMi6trrQ6r7IPSxQCol X7iqhQGrNl90360wv635trkc/iRI08xxkACy9ez9voTrnwpRHA2r5SyvMuw3a5qXmd3Q eqPAblY1+3ijEfm2zdyh9KcS+4LhkUcezkeKu9FXKtNQXUdrfQyHTgU3JNu5OIUANm7T 2CbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=emsv0NSY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 f9-v6si4392902plo.568.2018.05.17.02.31.28; Thu, 17 May 2018 02:31:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=emsv0NSY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752485AbeEQJb0 (ORCPT + 29 others); Thu, 17 May 2018 05:31:26 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:46189 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752237AbeEQJbT (ORCPT ); Thu, 17 May 2018 05:31:19 -0400 Received: by mail-wr0-f193.google.com with SMTP id x9-v6so2057034wrl.13 for ; Thu, 17 May 2018 02:31:18 -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=Zskt7UQoHwTVlBF1pasnf2haHN0pNOXFlMoKx0AMDqI=; b=emsv0NSYmkTuUZPYB+CAWWycSKF2ZVgOgmOZTfgiE31aRXPyAXz6ab3r/R+W0rjdWE kne3kDVQ09oNmXJnSkQkmo/fFjmC+M520ElASabjP3FWxjVmeIc91J9T4mE8VWW722eh U3WCPzfFCSgpoV5riuzjTyzii+DUBQtu4QwTOE5zCWA3RpSDkg3emB55GaZtaGafLrBM qCxImSjfZv8q5i9g48cHx8Kfwn8G4Cv6KT86c1aKik6pps3KUfSwYZr2MByzyYQXdZHZ FyRErvvOiBMRTZEp8vJk4A3mWvWitGSREQ6wWy/hEDTkISVNd+GtmtRq+XdOfR9Leuyd 04WA== 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=Zskt7UQoHwTVlBF1pasnf2haHN0pNOXFlMoKx0AMDqI=; b=Aue9D4u5O76TS6rf7fuvXYSjq6D+TDgKd0vl/5L49eb7qkTSUvjOByWKXWtjFtgPi/ mQGcDSE3xtUq84e6JlaKg/l0U2z4xdhkoxuN52K6tXLl+34oSc+8+RkQxXommEo3Cq3L 3y+iYe+Yk2bN3Ya9Z648YD+SxmMW1k6EV9pDgTwOAxAABHLdtQH1tgp4cjoiZxMNJt32 zLqzJv7PH+VajKAxAKh4XQUc3rhi+r4Ss8SRw26BtgMkmv9DMnPJChSfJ09+p8IBGvj5 QdIj/o7On6Bl1v8ddyMhv4yOEzQp8AFUkTo4mewN/MAyEYw+Foue1YNHvrVlrLrUzmF+ 9ahQ== X-Gm-Message-State: ALKqPwd8tk/Bv4+EXJAupaD7o3KCjs/u0WGcRPFihcu4a2XS3YYXlizy Q93vYra5gZxQ9lYVKaBdhOowyA== X-Received: by 2002:adf:d1d1:: with SMTP id m17-v6mr3742493wri.96.1526549478082; Thu, 17 May 2018 02:31:18 -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 w31-v6sm12726078wrb.93.2018.05.17.02.31.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 17 May 2018 02:31:17 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Cc: Jerome Brunet , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 3/4] ARM64: dts: meson-axg: add i2c AO pins Date: Thu, 17 May 2018 11:30:59 +0200 Message-Id: <20180517093100.22225-4-jbrunet@baylibre.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180517093100.22225-1-jbrunet@baylibre.com> References: <20180517093100.22225-1-jbrunet@baylibre.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the pins related to the i2c AO controller of the meson-axg platform Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 42 ++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) -- 2.14.3 diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi index d213ab715e03..e315701cb6ac 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi @@ -1046,6 +1046,48 @@ gpio-ranges = <&pinctrl_aobus 0 0 15>; }; + i2c_ao_sck_4_pins: i2c_ao_sck_4 { + mux { + groups = "i2c_ao_sck_4"; + function = "i2c_ao"; + }; + }; + + i2c_ao_sck_8_pins: i2c_ao_sck_8 { + mux { + groups = "i2c_ao_sck_8"; + function = "i2c_ao"; + }; + }; + + i2c_ao_sck_10_pins: i2c_ao_sck_10 { + mux { + groups = "i2c_ao_sck_10"; + function = "i2c_ao"; + }; + }; + + i2c_ao_sda_5_pins: i2c_ao_sda_5 { + mux { + groups = "i2c_ao_sda_5"; + function = "i2c_ao"; + }; + }; + + i2c_ao_sda_9_pins: i2c_ao_sda_9 { + mux { + groups = "i2c_ao_sda_9"; + function = "i2c_ao"; + }; + }; + + i2c_ao_sda_11_pins: i2c_ao_sda_11 { + mux { + groups = "i2c_ao_sda_11"; + function = "i2c_ao"; + }; + }; + remote_input_ao_pins: remote_input_ao { mux { groups = "remote_input_ao"; From patchwork Thu May 17 09:31:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 136132 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp2039333lji; Thu, 17 May 2018 02:31:27 -0700 (PDT) X-Google-Smtp-Source: AB8JxZog06cnEdtCk3NaXPam31l/f5wN/sepN+4zWyNAgpV/S7Kowy/GpXUQYJ2qab4ZmZQqC/QN X-Received: by 2002:a62:481d:: with SMTP id v29-v6mr4449012pfa.57.1526549487193; Thu, 17 May 2018 02:31:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526549487; cv=none; d=google.com; s=arc-20160816; b=ZuT5aAs+qnUGLSu8f0hInyfrdO3ueYVVr70spVOUi+noCnztOqeBqNDSYS1MffKnUR 6By+OLcxxVFyBktWqOralKWrIssg+yaEbI5NORPVcX+UZe2cS3HZADvvhIFj6WOYesig SxZCIvIRyPktd+w/67zKenuoPBws6/3ATC/G7/BERlP0AQNUZ5nzrMX9Lp8bK5QYHGhA WO8MnafFKP4DqF0ji3E6ert5jcgyuYWcEhMkawgrdJYfpY/rgRD+nY7SRm4pscYOBU2u YyEnSi9Wx1cp5AE/uUl+mIY8tksj1XN2qqdp26SNRqBaIC2ijHD+cB8PU5lp+1hkgUwz JdIw== 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=sAQzhD95siE1GseGtDFTsgGImHFUOUBoyMBl6+yC4tY=; b=xNBIy8hzm6gVgrI1rYadp6ZlvgBHL5kdVsZLqm5Z7ryIn31FMFUle4c4/H6ZDCLU64 FqjXIaM8me4XjsXOMuJIvvGPUU1USvBseS+uHkf1CVU6WXuRyXrqy31w7U2PJP3JWXHD 2GWuq5drTlON+t/m0q2s7zwuMuryu4bGWUE6NqhhqBtTxIRrIThhRhqIklKGS3hS+xf0 sC0n5Bzcs0NhoFBUiVvAiGpLeJ0B/lvzrtdY5BTYlPMQTDoktwWQXL/UASsBK1aUGgfL iBdw9DZEofZNwtRFKOjg6pZrO4tw05sDeiErWVTCkbzuWAqexVkbPVJCEre8OPorNL/a mYgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=11W8AUAC; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 f9-v6si4392902plo.568.2018.05.17.02.31.26; Thu, 17 May 2018 02:31:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=11W8AUAC; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752441AbeEQJbY (ORCPT + 29 others); Thu, 17 May 2018 05:31:24 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:38286 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752106AbeEQJbU (ORCPT ); Thu, 17 May 2018 05:31:20 -0400 Received: by mail-wm0-f65.google.com with SMTP id m129-v6so7704611wmb.3 for ; Thu, 17 May 2018 02:31:20 -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=sAQzhD95siE1GseGtDFTsgGImHFUOUBoyMBl6+yC4tY=; b=11W8AUAClwmKpnFsdiXCqsaJoDtSp3LVm5zpWdpsw6rtSGXQDltPRr+DKahMECt8bb YpduTZF+wiBEhyEK4diVJblItKqlTiCrv4wzMKj/JlovQT/XjgK0+Rbl3PvVRFfo0kWl AR0vnlEdNpdX4O0HkNZmysDv2bzP1zKysJHKw64joG4dwQOZk1/B/g+8UGN60iux2U6t y4S/0wL12ewPHdojXc8Nc6Pw/Ax0MNR8DvB2GrtTMg5hYikZkEG/160IYPreOivkrc85 0Q5riifkI5nZY7AcCuwSy1v4L/70oGUw+crUUz44fM1YGm0gsNU31rmJQy1r7ZuAncsI G24w== 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=sAQzhD95siE1GseGtDFTsgGImHFUOUBoyMBl6+yC4tY=; b=JVoBnT2XM2z4YVvAxIm0a8AuYvZi3dVa84L6WaqdJSB0LvF55uY/efNtiaJ5bqxwwK 7NvW7p8gxWcO0IIiJBJAAOims9pnh5VWkskw1EV+aQ9kqTpbeeQ1b68cAqgp/9N7WSng IdTs5w7cHmsIPkooWPC5VnxZ0mlpDW7vD3xX1KmSKbPQuOoI4smotdckAIdUkkMj5xWc znOsdmQSRpybANPYEHIgDjAb40ugr2kNQSQeMxciSsXl2Bj57/F33SBBfsRsFLTfCh+X JqLQrcVjMVjL4NCNJIn1WbHBdA6Fxb5pbPvB8rTB9lr0MRvwb5A9eyfoeb7vJ3Zi5Nhp 9WNg== X-Gm-Message-State: ALKqPwcLTLkI8xqBCK/JgXRCCooxdnlTvbo4SagY1IFZYi2S3a1AsblE LugkrgywjSKIrJ75B8k9mWcQMg== X-Received: by 2002:a1c:acc2:: with SMTP id v185-v6mr1148139wme.67.1526549479522; Thu, 17 May 2018 02:31:19 -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 w31-v6sm12726078wrb.93.2018.05.17.02.31.18 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 17 May 2018 02:31:18 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Cc: Jerome Brunet , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 4/4] ARM64: dts: meson-axg: enable i2c AO on the S400 board Date: Thu, 17 May 2018 11:31:00 +0200 Message-Id: <20180517093100.22225-5-jbrunet@baylibre.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180517093100.22225-1-jbrunet@baylibre.com> References: <20180517093100.22225-1-jbrunet@baylibre.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The i2c AO is used for the MIC daughter card of the S400 board Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 6 ++++++ 1 file changed, 6 insertions(+) -- 2.14.3 diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts index b3e1bdca32bb..4b3331fbfe39 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts +++ b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts @@ -95,6 +95,12 @@ pinctrl-names = "default"; }; +&i2c_AO { + status = "okay"; + pinctrl-0 = <&i2c_ao_sck_10_pins>, <&i2c_ao_sda_11_pins>; + pinctrl-names = "default"; +}; + &pwm_ab { status = "okay"; pinctrl-0 = <&pwm_a_x20_pins>;