From patchwork Wed May 16 15:52:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10404251 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 0D42960383 for ; Wed, 16 May 2018 15:53:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EE6EF2851A for ; Wed, 16 May 2018 15:53:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ECC03204BA; Wed, 16 May 2018 15:53: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=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 E9A062853E for ; Wed, 16 May 2018 15:53:18 +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=zdyRuKDsXK14CkfxecdEeXXTv2vhE9WkIQ8KyBWkXRM=; b=ZY/2if04g7l2e6eEyghIQlyXEq l04LoqQnkCKMkrg3K77H1FfRp2krI1tKY2yr+wun6x9FOLKsjNIaYaOi+Nzx16t0lYI7fRTUN8CLQ IhM2rNvMYd5hbjxul6D2GInceYCWKTn9cRShgGsnLHYNu1xrh/2KcBAGaDp5wb+HAUQl0cSjujhsO Qmh/GsgGBdac5fyF8vSEWcO2eJeokVlP5RfjVlo6txoooc8J1UrRG8Bq5niDQEgBPRUAe2UjJniHi QqRxQ2nPAiiu42EZ4NACG/4KnvlSvehBbyn+HrOSpmQMFUMWJDJn5tqf98J72IYGxFW6T1d7vfIGb ZrqGUzrQ==; 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 1fIyjq-0002pu-CR; Wed, 16 May 2018 15:53:14 +0000 Received: from mail-wr0-x244.google.com ([2a00:1450:400c:c0c::244]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fIyj5-0002R5-Lg for linux-amlogic@lists.infradead.org; Wed, 16 May 2018 15:52:30 +0000 Received: by mail-wr0-x244.google.com with SMTP id v60-v6so1972086wrc.7 for ; Wed, 16 May 2018 08:52: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=Ny1+7SoweqSmja7b88pyHZvGPXZ0074Ny3TyYHa1ZLU=; b=udMMTZrgMfwqiczgze35vJ4vTVsbnyX529PuOul3tKWGizoyJ1ZjI5qY9yunIPDkuN w+ZEH65XgNY3w9RpO5N5Y6Uia2NoaUUzu3ZnBYFTnhHmk1fDdUXW/ZwHFaAcgwp7CaGk pGYPvEcGmbG3q8LY4hbeIu3niNjPoXuWDGiiXKR5EMUXUJp645C5k9xC241bB18oXh8K qXMryvqPUb97YXZGlZsHKktDXTQdhS0grk+e9JcyCpD0e/SGae26pkM5i0SiFigc+whI LrIN8GBcfyKCaKB6LR4aIRhWpYeos/pkoPjh+HD3sAPTycBb2ibBqp5qr/3Nl3dnNEqV zttA== 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=Ny1+7SoweqSmja7b88pyHZvGPXZ0074Ny3TyYHa1ZLU=; b=pT5L9pIGrmMYaUmu+ovnHRvginFkrmlzpqWSQwjcRPuJRnyeJ3kje0/ZNL99TY/i+X QAoqDIWnmyuH9uWkw7/8JQqgZlFRD1FA6GMnTrZkJOSx2UGYG7EyxR5E7D9TUXgFnned A69swwHTQkx9q3pahXSFkp4UmzY2nOcaHWSXH0Cho9A4L56+lFLhAQ8Qqx+l1vUqXiPO EzqzHhHuh14DZCyFv46DDO+B805H4u+/NGc0HmIhQVHSY6P8N2qDWv4WCJ1mczygngrW JZu5/IYbQv3jtHQ8/aJMMxoZFRbCwfCbpTVJJ/fdgcBlnaa3dndgCRIde4VHngNCMCZS jqbQ== X-Gm-Message-State: ALKqPwe6F+4Udw8zGjLxZ50FvFOwBHEQvBFHCX/uaT5e5TukbeVnFIZ0 46aH1/zgV0UDbMYOEcTwDnNesA== X-Google-Smtp-Source: AB8JxZoJ3YfokKmGCkyOICXMNWxWvFgDeeLUAPPPaSd00/m9Cce5g8dwj1AQIc4gqHnV7molftJStA== X-Received: by 2002:adf:a0fd:: with SMTP id n58-v6mr1219820wrn.217.1526485936208; Wed, 16 May 2018 08:52:16 -0700 (PDT) Received: from boomer.baylibre.local ([90.63.244.31]) by smtp.googlemail.com with ESMTPSA id z10-v6sm3747693wre.43.2018.05.16.08.52.15 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 16 May 2018 08:52:15 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Subject: [PATCH 2/2] ARM64: dts: meson-axg: remove incorrect i2c ao clock Date: Wed, 16 May 2018 17:52:03 +0200 Message-Id: <20180516155203.24922-3-jbrunet@baylibre.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180516155203.24922-1-jbrunet@baylibre.com> References: <20180516155203.24922-1-jbrunet@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180516_085227_707650_16DDC31D X-CRM114-Status: GOOD ( 12.19 ) X-BeenThere: linux-amlogic@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-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The clock specified for the i2c AO controller is the one from the EE domain, which is incorrect as this controller needs the clock from AO clock controller. Replace with xtal to avoid claiming an unrelated gate until the required clock controller becomes available. 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 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi index b59f341104d7..b82b9d79ec49 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi @@ -1110,7 +1110,12 @@ compatible = "amlogic,meson-axg-i2c"; reg = <0x0 0x05000 0x0 0x20>; interrupts = ; - clocks = <&clkc CLKID_I2C>; + + /* + * FIXME: replace with the correct clock when + * the controller is available + */ + clocks = <&xtal>; #address-cells = <1>; #size-cells = <0>; status = "disabled";