Received: by 10.223.176.46 with SMTP id f43csp402714wra; Thu, 18 Jan 2018 19:26:44 -0800 (PST) X-Google-Smtp-Source: ACJfBotl0VrzWtfYLL6aphpajoREAyew8A29tKRIIeRlis98sl5XTS4UhoeIQ4o2Br8ijY/tcPqP X-Received: by 10.99.160.26 with SMTP id r26mr13813546pge.230.1516332404751; Thu, 18 Jan 2018 19:26:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516332404; cv=none; d=google.com; s=arc-20160816; b=eb0OM49bQTKTtT2MDHGAjgYRbitAfaRjhlYCg4/cSQ+SuGIf0G1hW0tToKhNCY72T+ SnlJFN3QKdNJfTar7Lsx/ZT90sPhLuGaUS3LHSBymk/SUqxeZyspXPSVWHXOBeLsta3g gjL3nJIW5faxRa/EzYYDTgqzC4BtLRiTzmjw8i1siwlAEzw9jMQa4e9A6e/WJJbGJQQ6 yaqt6CprZJw6jsuHsEgETVYoIl53ioMfr7OrY4rMaCL7IjGiJHd/vKwloHkh69a4EWCy H4m3KwdiJXozT/5VuUClTiWwAlph4i1tyYN6gsiZimVDPjTuqFvhh/GZIavV7J+4V+qP 2q7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=hvx2USRlyDoVkTGPpDQGob6ABmYX6s1CEqkKClJ2B2w=; b=eC7Hx1DmozWRQ9H8RJrf3r1XuJ44P62UHqnVoBwbKMHDQ+F5KR9IGx3gke/M+z1/c9 4iCA27la0yKR5Z3CnvX1e46MVrMNJVVHrOK+A66fOgnLcqskD2VJl+/ZpuDC+yXlNYZn l844A/qBADXb0DioLADs9MUQIi6vU5lBtwuSwPOznyP+a20v7pKmHzXOTTb1udWi6K9U D05CiJ7LMf+WLTNt1nsLOg0W4NRlHqCaytWRkwGqhdGfHljFgIQyROQbd0CoFFN13T5v 0oeZIVepTsNl/fGnTIdFwxpFWGDV34NYv8u7/MMgCaDrBwzVLggVLQlye5KXVe3UaBvG /jLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=BMrs1bqF; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y11si7420464pgv.424.2018.01.18.19.26.19; Thu, 18 Jan 2018 19:26:44 -0800 (PST) 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=@chromium.org header.s=google header.b=BMrs1bqF; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755331AbeASDXm (ORCPT + 99 others); Thu, 18 Jan 2018 22:23:42 -0500 Received: from mail-vk0-f67.google.com ([209.85.213.67]:40337 "EHLO mail-vk0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754836AbeASDXg (ORCPT ); Thu, 18 Jan 2018 22:23:36 -0500 Received: by mail-vk0-f67.google.com with SMTP id w75so195139vkd.7 for ; Thu, 18 Jan 2018 19:23:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=hvx2USRlyDoVkTGPpDQGob6ABmYX6s1CEqkKClJ2B2w=; b=BMrs1bqFJvARoWRqqqqNCwc+UQ9slVFFQKGB60ChFDSD0zfhvoUwAGAPR/3dE3Ej/F UvBsdtbt/cCfuYZtqPkneB1aVLGXrYiZgqqO1pIjTKi9FYS61bKGDAA/t9fGwX8UgWKI XOhpduIsR3fKPnVDNuXWmXfFEEkoNX7h30T3I= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=hvx2USRlyDoVkTGPpDQGob6ABmYX6s1CEqkKClJ2B2w=; b=lOlPkkSA9AkSF2Lm9JNkGbwqpj2EZo5rhOfkBb7VjNx7Py2dogGi5uKnLJ98rt97ZV Htqpzn6pMkLTzs5Px1sgc4J5Y2tf+AWkTsR5bIShtNscFijVXFt3wYp82o5ZuWPwpzV2 OmMnYJE6ntep1yiS6RYO2ibAMdmbbV0PgDaB6Tg0creeJM0pdLXEj3lAVvtEnTc1rKPO oBcAlM7UTt/9WZR4h0U/YQ1VjejfgCHR1JVuvYb23ocpbVDZpGlW7RQY7htHX4EiKpFt MjYtd7yB2XsvwbIT/WQqRZw55xuUlksHzMSgsEzZ5Ae2KTp27+BnZu+YGZ3WMCe4HuZ+ 7wGw== X-Gm-Message-State: AKwxyteuRyPeQCuxd1svGEZCqpL3dvIT2UurIjZDfj2JSt4zMVrK6NLR 18YTRpRvUrAlxNmmVeDwplhJTQAUgRo= X-Received: by 10.31.94.207 with SMTP id s198mr6114881vkb.23.1516332215317; Thu, 18 Jan 2018 19:23:35 -0800 (PST) Received: from mail-vk0-f47.google.com (mail-vk0-f47.google.com. [209.85.213.47]) by smtp.gmail.com with ESMTPSA id s70sm1196358vke.37.2018.01.18.19.23.32 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 18 Jan 2018 19:23:33 -0800 (PST) Received: by mail-vk0-f47.google.com with SMTP id q62so191049vkb.11 for ; Thu, 18 Jan 2018 19:23:32 -0800 (PST) X-Received: by 10.31.138.72 with SMTP id m69mr5918018vkd.13.1516332211873; Thu, 18 Jan 2018 19:23:31 -0800 (PST) MIME-Version: 1.0 Received: by 10.159.45.142 with HTTP; Thu, 18 Jan 2018 19:23:11 -0800 (PST) In-Reply-To: <20180118115251.5542-8-jeffy.chen@rock-chips.com> References: <20180118115251.5542-1-jeffy.chen@rock-chips.com> <20180118115251.5542-8-jeffy.chen@rock-chips.com> From: Tomasz Figa Date: Fri, 19 Jan 2018 12:23:11 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v4 07/13] ARM: dts: rockchip: add clocks in vop iommu nodes To: Jeffy Chen Cc: linux-kernel@vger.kernel.org, Ricky Liang , Robin Murphy , simon xue , devicetree@vger.kernel.org, Heiko Stuebner , "open list:ARM/Rockchip SoC..." , Rob Herring , Mark Rutland , Russell King , "list@263.net:IOMMU DRIVERS , Joerg Roedel ," Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 18, 2018 at 8:52 PM, Jeffy Chen wrote: > Add clocks in vop iommu nodes, since we are going to control clocks in > rockchip iommu driver. > > Signed-off-by: Jeffy Chen > --- > > Changes in v4: None > Changes in v3: None > Changes in v2: None > > arch/arm/boot/dts/rk3036.dtsi | 2 ++ > arch/arm/boot/dts/rk3288.dtsi | 4 ++++ > 2 files changed, 6 insertions(+) > > diff --git a/arch/arm/boot/dts/rk3036.dtsi b/arch/arm/boot/dts/rk3036.dtsi > index 3b704cfed69a..95b0ebc7a40f 100644 > --- a/arch/arm/boot/dts/rk3036.dtsi > +++ b/arch/arm/boot/dts/rk3036.dtsi > @@ -197,6 +197,8 @@ > reg = <0x10118300 0x100>; > interrupts = ; > interrupt-names = "vop_mmu"; > + clocks = <&cru ACLK_LCDC>, <&cru SCLK_LCDC>, <&cru HCLK_LCDC>; > + clock-names = "aclk_vop", "dclk_vop", "hclk_vop"; We should remove clock-names from IOMMU nodes. The Rockchip IOMMU bindings don't define clock names and only the clocks property should be given. Not even saying that the names currently listed are not good examples, they name SoC clock controller output, rather than device inputs. Best regards, Tomasz