Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp366196pxb; Thu, 12 Nov 2020 06:00:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJwPCm4p2NnqxgYelvrCjILu51+qmi8UndG+SykhbFFgVEuk5Hya2KUrEeWd1jByKUjTrfxy X-Received: by 2002:aa7:d48d:: with SMTP id b13mr5153560edr.264.1605189621188; Thu, 12 Nov 2020 06:00:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605189621; cv=none; d=google.com; s=arc-20160816; b=vGVCytirlOR39Ocs2eSZTXXidm58IppP0SzjMJWcq36Y+gek3fIENJXLWLv3Uy+KK8 FLRvZMCjSSPRKaJknhQHIWLueM32vb94h/mMRIHdhVUJBc+huRR68PKkUrvYqrrA3Sz8 qdQ4Z6m6gv/No1lLPHgIH4doDiWDjMAPI1uiSPG7U51prg6pSbXvu2K71RRQIOaZvtj9 pUnipQi6QzWFihpRrRVwSavatq/HV40WiXKPOQYSCvORQlSf4FZEXXCPEq/71H1scbm+ DdCLOYTCTbYI+aGHRAmaV4y6MLZKnk/JmYBjKyxGmLh2hnkXhTy/j+limwf4BuozMSiF GbvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:to:from; bh=Kq2znIFC9tcUzBuPqZ+urMI3Yr8lOE3cssxKmbE1vgU=; b=AEnXjF2tARPYPskCqhpVSoezkl+KWjxPT9Xdn1M30mhyOj7oJaQh4vEYiPGo8FK0yc q2HROy5kC0SAqri0I5ux6FOWSJAF+TYLH4uhfA2koJ0nVpz60NxBv3lRQVLsQ4X2GWU+ vQQShvN0sD1w3u68o38FmOZsJl1+TK6mhEyqHStNH/wLX+GxvWKVXw4Rj7seAUws8+BV geZeruhCCAwxMz3sct3DKSJCBxbulyxas2btsnL/wfE/srLaRNY8CAZ31429CdS8phBS R+9eWC6uNkXmsYvll6reKcNUvEdaGOsu3XHwK3bjyWEGD+K1tb7e76DtKbyz6mMZjkSR Hqsg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jp23si3753095ejb.561.2020.11.12.05.59.55; Thu, 12 Nov 2020 06:00:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728271AbgKLN6k (ORCPT + 99 others); Thu, 12 Nov 2020 08:58:40 -0500 Received: from szxga07-in.huawei.com ([45.249.212.35]:7890 "EHLO szxga07-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727796AbgKLN6k (ORCPT ); Thu, 12 Nov 2020 08:58:40 -0500 Received: from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga07-in.huawei.com (SkyGuard) with ESMTP id 4CX38w5XD2z74lb; Thu, 12 Nov 2020 21:58:24 +0800 (CST) Received: from huawei.com (10.151.151.249) by DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id 14.3.487.0; Thu, 12 Nov 2020 21:58:26 +0800 From: Dongjiu Geng To: , , , , , , Subject: [PATCH v2 1/2] dt-bindings: Document the hi3559a clock bindings Date: Thu, 12 Nov 2020 22:22:59 +0000 Message-ID: <20201112222300.19860-1-gengdongjiu@huawei.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.151.151.249] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add DT bindings documentation for hi3559a SoC clock. Signed-off-by: Dongjiu Geng --- .../bindings/clock/hi3559av100-clock.txt | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/hi3559av100-clock.txt diff --git a/Documentation/devicetree/bindings/clock/hi3559av100-clock.txt b/Documentation/devicetree/bindings/clock/hi3559av100-clock.txt new file mode 100644 index 000000000000..0fb4ccc72cfe --- /dev/null +++ b/Documentation/devicetree/bindings/clock/hi3559av100-clock.txt @@ -0,0 +1,40 @@ +* Hisilicon Hi3559A Clock Controller + +The Hi3559A clock controller generates and supplies clock to various +controllers within the Hi3559A SoC. + +Required Properties: + +- compatible: the compatible should be one of the following strings to + indicate the clock controller functionality. + + - "hisilicon,hi3559av100-clock" + +- reg: physical base address of the controller and length of memory mapped + region. + +- #clock-cells: should be 1. + +Each clock is assigned an identifier and client nodes use this identifier +to specify the clock which they consume. + +All these identifier could be found in . + +Examples: + + clock: clock0 { + compatible = "hisilicon,hi3559av100-clock", "syscon"; + #clock-cells = <1>; + #reset-cells = <2>; + #address-cells = <1>; + #size-cells = <1>; + reg = <0x0 0x12010000 0x0 0x10000>; + }; + + uart0: uart@12100000 { + compatible = "arm,pl011", "arm,primecell"; + reg = <0x12100000 0x1000>; + interrupts = <0 6 4>; + clocks = <&clock HI3559AV100_UART0_CLK>; + clock-names = "apb_pclk"; + }; -- 2.17.1