From patchwork Mon Apr 17 17:19:26 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 9683993 X-Patchwork-Delegate: sboyd@codeaurora.org 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 C7D9160375 for ; Mon, 17 Apr 2017 17:20:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B359E24DA2 for ; Mon, 17 Apr 2017 17:20:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A52B726AE3; Mon, 17 Apr 2017 17:20:30 +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=-6.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E1955262FF for ; Mon, 17 Apr 2017 17:20:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752415AbdDQRUX (ORCPT ); Mon, 17 Apr 2017 13:20:23 -0400 Received: from mail-wm0-f51.google.com ([74.125.82.51]:35185 "EHLO mail-wm0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752480AbdDQRUT (ORCPT ); Mon, 17 Apr 2017 13:20:19 -0400 Received: by mail-wm0-f51.google.com with SMTP id w64so38219439wma.0 for ; Mon, 17 Apr 2017 10:20:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=AsFcmHgAKWiTjEnzhGJLqXgSUPavCjXjVW5g7j4jzi0=; b=Qx41OyaL9HTg8z1vyvxPRc0oVG7ajNjjOemn8GoIjQMs5ArJ2eVkK++c3NW+5nQSPH qXvXZMUdGP20X2IvWUMvhwQhaPVwfbDZUrlK9qvqq1lk6oSLu+KtzLj52dLAyeYn1O9e J0wtn5rI1vmLUlqM1hF5/jReyjZmip++slzog= 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=AsFcmHgAKWiTjEnzhGJLqXgSUPavCjXjVW5g7j4jzi0=; b=qGu/e916SmHkYhQfMzoPksQf/x8ZMfxfuCZ8gYXQZjSXCQZBHn4s50qeO1lRhu9PdQ ZkBah7bVBrIDXf41UCtGqz2Q8ohNFq0Emnb8YaNEGkY6NuujelAd01JK/ITn4yraGTzQ eUAETE3Srfp4DoqcRyDwlYjBGV2+6ZV+x0XHRUlMMO+5utKW7LoLkYgH5taTwe42WX7+ V7qfg0DyezH7JFD8mN27UCxDkWPxYAvWAl7HRTDWOhy9hYYzXo6v/GISX20c60hLcV/v 60+CitewxN21sD9nL6uTiIiU3l5uoMqU/raM9NgGMACCAzzPzOk6MZZg70eeJpZXRQbZ XCWg== X-Gm-Message-State: AN3rC/5RivUgh7N1AAk4zgqszwFkCbatYa6LvUJ8pFZHZbUgPL1jI2Sk Xtboufb/yE83A/cI X-Received: by 10.28.107.129 with SMTP id a1mr10012233wmi.47.1492449618059; Mon, 17 Apr 2017 10:20:18 -0700 (PDT) Received: from localhost.localdomain (lft31-1-88-121-166-205.fbx.proxad.net. [88.121.166.205]) by smtp.gmail.com with ESMTPSA id y66sm15166777wrb.39.2017.04.17.10.20.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 17 Apr 2017 10:20:17 -0700 (PDT) From: Daniel Lezcano To: sboyd@codeaurora.org, mturquette@baylibre.com Cc: lee.jones@linaro.org, xuwei5@hisilicon.com, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH V3 2/2] ARM64: dts: hi6220-hikey: Add clock binding for the pmic mfd Date: Mon, 17 Apr 2017 19:19:26 +0200 Message-Id: <1492449567-31399-2-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1492449567-31399-1-git-send-email-daniel.lezcano@linaro.org> References: <1492449567-31399-1-git-send-email-daniel.lezcano@linaro.org> Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Daniel Lezcano Acked-by: Rob Herring Acked-by: Lee Jones --- Documentation/devicetree/bindings/mfd/hisilicon,hi655x.txt | 6 ++++++ arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 1 + 2 files changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/hisilicon,hi655x.txt b/Documentation/devicetree/bindings/mfd/hisilicon,hi655x.txt index 0548569..9630ac0 100644 --- a/Documentation/devicetree/bindings/mfd/hisilicon,hi655x.txt +++ b/Documentation/devicetree/bindings/mfd/hisilicon,hi655x.txt @@ -16,6 +16,11 @@ Required properties: - reg: Base address of PMIC on Hi6220 SoC. - interrupt-controller: Hi655x has internal IRQs (has own IRQ domain). - pmic-gpios: The GPIO used by PMIC IRQ. +- #clock-cells: From common clock binding; shall be set to 0 + +Optional properties: +- clock-output-names: From common clock binding to override the + default output clock name Example: pmic: pmic@f8000000 { @@ -24,4 +29,5 @@ Example: interrupt-controller; #interrupt-cells = <2>; pmic-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>; + #clock-cells = <0>; } diff --git a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts index dba3c13..e0496f7 100644 --- a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts +++ b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts @@ -325,6 +325,7 @@ pmic: pmic@f8000000 { compatible = "hisilicon,hi655x-pmic"; reg = <0x0 0xf8000000 0x0 0x1000>; + #clock-cells = <0>; interrupt-controller; #interrupt-cells = <2>; pmic-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;