From patchwork Mon May 8 16:21:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 9716453 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 C08E960234 for ; Mon, 8 May 2017 16:22:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B26E3205A4 for ; Mon, 8 May 2017 16:22:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A60FA20855; Mon, 8 May 2017 16:22:17 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 14260205A4 for ; Mon, 8 May 2017 16:22:17 +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=ZN1rgsr5UX4CWUcVvrZYAgM7J6p9hF7x09GT2TUkuig=; b=ajyb+3m/YCj2+ZBLHLzdYMP2J4 Z1L8L+XxHcM2RTGa8iGMacfugIY0T3Rpro/df8oFIXSMyWQvQtoK47I9VahEsuagcoW0abOFSNKtQ FCUR3VqlMnl5VYUKvjYhnjGoXPgE/ygcqs//jx0TrlftwqwcizZfXgxIA+vS6MIaZPZn/xTnUvAO2 ro0t3Isg/eVCzE2TTxCEM2wXAnl+3ADR8Lim5QuiI1Zy8STMhzZD6Uufc9rGqGva7dDfETXCg5RiK UcdssHK/7bu1a4Zxfbwt/aawLTN9GPGODQLXp5KOt2fDu4XxmNgy0GGIKnA2E+wpOszDbX8Z0dBvo Nuk9uSsA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1d7lQO-0007A1-J3; Mon, 08 May 2017 16:22:16 +0000 Received: from mail-wm0-x22f.google.com ([2a00:1450:400c:c09::22f]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1d7lPw-0006AK-V1 for linux-arm-kernel@lists.infradead.org; Mon, 08 May 2017 16:21:51 +0000 Received: by mail-wm0-x22f.google.com with SMTP id b84so60647730wmh.0 for ; Mon, 08 May 2017 09:21:28 -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=8OPtFoDnFVfRGNNxJxoOVYOC8Mdmlu53GVINyJ9C/jE=; b=IqHTSsRZOvsN0AsDf34nQ1dOidGAjDv8b+XiR1MGnndzHmqJwy2LlxFD1B3rz3zXtx 5dEJ9gniAKzHUXQ6Zm48l1pg3/Z73nzRavgcwd3lijxkd6wwMK1ZOtIDFNnPyRc50rFO MPKt8wwGY7mSuNAv6x7PQaF0PFKJb9qHsBHWA= 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=8OPtFoDnFVfRGNNxJxoOVYOC8Mdmlu53GVINyJ9C/jE=; b=Ns1gzo9CciTnwMq4uyqqmN4ZeRvlGbRLZMvDZo2DnlWbbkwgHb5m+o9R6WDsGbyEPT 7hFT6LygrpPJVAiLvY0RYxygtHY3ngwWiu+4cwAKr4GhC86rUaj4Lav89Q4dL30rUEcz 67NAL/ZLGfYqq28eo+epLOQN8slSQQgR+kfZvnAXnsMc6LyE6cPfPU2vBg5sbbv7CHYE n7UVdwC1VJHMFJrnSDZYLhiiRI0QMg1jELkVBU9kPR2LHY+1Mm2bQtGzhhXo3Cho4q+O DfiGSWdxeD8rQJVob13IYVmQrgXuJedsx//4kIbkb9Htxhnfij6ZWEkyK1g3rcKCNPni ErBw== X-Gm-Message-State: AODbwcCygU3DronvdLchRl81hjaWFjEedWtxTtpnlu0gnCuAX7ZHOybv kIQ048jEPiWfgt0zAcnnug== X-Received: by 10.25.29.145 with SMTP id d139mr4348550lfd.126.1494260487166; Mon, 08 May 2017 09:21:27 -0700 (PDT) Received: from localhost.localdomain (h-155-4-221-67.na.cust.bahnhof.se. [155.4.221.67]) by smtp.gmail.com with ESMTPSA id 1sm1600724ljn.59.2017.05.08.09.21.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 08 May 2017 09:21:26 -0700 (PDT) From: Ulf Hansson To: Wei Xu , linux-arm-kernel@lists.infradead.org Subject: [PATCH 3/8] mfd: dts: hi655x: Add clock binding for the pmic Date: Mon, 8 May 2017 18:21:12 +0200 Message-Id: <1494260477-25163-4-git-send-email-ulf.hansson@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1494260477-25163-1-git-send-email-ulf.hansson@linaro.org> References: <1494260477-25163-1-git-send-email-ulf.hansson@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170508_092149_148143_FD2D9A16 X-CRM114-Status: GOOD ( 11.71 ) 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: Ulf Hansson , Daniel Lezcano 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 From: Daniel Lezcano The hi655x PMIC provides the regulators but also a clock. The latter is missing in the definition, so extend the documentation to include this as well. Signed-off-by: Daniel Lezcano Acked-by: Rob Herring Acked-by: Lee Jones [Ulf: Split patch and updated changelog] Signed-off-by: Ulf Hansson --- Documentation/devicetree/bindings/mfd/hisilicon,hi655x.txt | 6 ++++++ 1 file changed, 6 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>; }