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: 10404253 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 96585601C8 for ; Wed, 16 May 2018 15:53:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 836F62852B for ; Wed, 16 May 2018 15:53:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 77A222853E; Wed, 16 May 2018 15:53:37 +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 02E782852B for ; Wed, 16 May 2018 15:53:36 +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=5wOdJjuXGzP/V99KRpWpyEiV44gPS7QYAETPV2IWkUI=; b=GR5rxJjIFDL7I21EMP0vsLFg32 9GwlD9feG7X4X0/iH5tQWK9ENV05m30XsmiHfGdEJ6DGiJwEbL9YqrM1+immscaw+ednPD/KOeJW2 zBzJpQM4JWGHxdLdktg/gPnxgGt1kUswYNFt072qyBHsH/n3kvLqBKFfWaAPeoeJq4jUcISFAPsSs xXVMVN9S7bVWD2LJWTb+1jwGKiIpIoVvT+F+rDdX2gT5oLoPWQvAwCXn/aG0iS+AjzeXYqhxEME9x DIhyKU1MlzoEwU941E7EfMd1RRT8FeU2Gb5HnSevA7lXPg1h6xqys1JJ3Y0sv1WeIaNKb0T638tIe sN32UqxA==; 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 1fIyk0-0002sP-MH; Wed, 16 May 2018 15:53:24 +0000 Received: from mail-wr0-x242.google.com ([2a00:1450:400c:c0c::242]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fIyj5-0002R4-PV for linux-arm-kernel@lists.infradead.org; Wed, 16 May 2018 15:52:30 +0000 Received: by mail-wr0-x242.google.com with SMTP id v5-v6so1970320wrf.9 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=YuraJNPpGIjuNrQR/HvG34egl/sTjdqvubCfY18eUmYStPtXJtGoh+WiPXDDUwZnHC okOdmvytWz/VUCXnbtoMJ0dJOYlPbMcTNZZZzqb9/8zgXgA3JV669vAsJkeEoty9cG2j QGvxBIsZrHs4+80uMllCImT8sSY6Ug7RZbB1eGTgx/d7j3uGoBG+dPR8Z2mOCNdVY30g NyRSy+eNIPMLZeTTGLL60gTP30TmpHXR4pCED3vj6r4Fzr/C6andFHn3kmPYMECyzD1I kDKbN9mmMn14mYi6VtdQea7ceyfiIur5dbJZzKeTAYHJXiDpwcDNI2aIcINXEWOBfJNr WX7A== X-Gm-Message-State: ALKqPwfEFmS8oFdJ07vo3ccQ9qJUXPNpJBevUKCU+b0tiZoVL91caG2Q YrqH+e3Y5rQBTbIDM7CbsUZPPA== 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_887429_1ECAEB83 X-CRM114-Status: GOOD ( 14.06 ) 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 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";