Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp9183542imu; Tue, 4 Dec 2018 23:51:47 -0800 (PST) X-Google-Smtp-Source: AFSGD/WKCs2SS5ctuI1n9TnyCUNfK7efnfBrylFR+pBWMUnAP/pslfuyp7MulwCIc4tgoJCRf8tX X-Received: by 2002:a63:9041:: with SMTP id a62mr19110387pge.163.1543996307421; Tue, 04 Dec 2018 23:51:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543996307; cv=none; d=google.com; s=arc-20160816; b=Kz10WktYqVI2V4S+/MnI3w6JmPgo+Nur+ZysRGejvSpy1oEn6GwTzAXI7/k/e4ZwSB GDYcpoJplu673mkzwGbjZ4dBuOxfzcsiwIDPqmrx/rS1y8nhkMv+LUbV99zehJ97BzkW t6mljwFchimIV0nlz8J4il8ggLO6OJnGX0C8LTbVpZZGF62LpsZmfa/xGyo74iqncW/2 4qfm/qdzzNqsXqQO/UGJLczYNZUXN751iYo2WDlqoeWl+0x+KLN/mcC9NJ4AVoBx3RfB qXtO4gHEMaopZjN0NOcMPSFLvDZKBjJXPkRWsetgyMXfkKrYhV12Mq0bLeZyphKcy5A4 QMrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=9PIHBuZvw8JmU00i0ntSVe0Z8xT2DoOSrm1wYKsAjms=; b=MlzBPX/rPAtLkEhWcDzCvZRy8fIftqfZ7CXey6V53g8qB1ozTHeWLSfKxjYJQ/OYzg Pj5DiUaN39mOL4ra3Nqgu4+P4C7KJAXdJI/YwKmjB8SKp9PDH4sq1QWxQ/bJZYt9MMo/ /caMyG70oa5fWUomunm7iiJspQ9dnSBR1ItcmIBFMC9TJTpCzYiUbDV/pqph54MCngbb Tm+JEU0M/4W3UuMFf93wUGiud+lQT/q8V3MM+NeFu2w8Mmf/LbaQnx/ElMVeAmsBneL4 IavpOm83EC1lZg0UyxrsFWnnQ23Z6tRT2BxvtLZ9D290B1cvoQVbSVW+Tki839a5G9uk b9XA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d36si20322296pla.216.2018.12.04.23.51.32; Tue, 04 Dec 2018 23:51:47 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727357AbeLEHtk (ORCPT + 99 others); Wed, 5 Dec 2018 02:49:40 -0500 Received: from relay1.mentorg.com ([192.94.38.131]:41852 "EHLO relay1.mentorg.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727208AbeLEHtk (ORCPT ); Wed, 5 Dec 2018 02:49:40 -0500 Received: from svr-orw-mbx-03.mgc.mentorg.com ([147.34.90.203]) by relay1.mentorg.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-SHA384:256) id 1gURw9-0005jJ-Sa from Jiada_Wang@mentor.com ; Tue, 04 Dec 2018 23:49:37 -0800 Received: from jiwang-OptiPlex-980.tokyo.mentorg.com (147.34.91.1) by svr-orw-mbx-03.mgc.mentorg.com (147.34.90.203) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Tue, 4 Dec 2018 23:49:34 -0800 From: Jiada Wang To: , , , , , CC: , , Subject: [PATCH linux-next v3 7/7] clk: renesas: Add binding document for ADG Date: Wed, 5 Dec 2018 16:49:47 +0900 Message-ID: <20181205074947.28151-1-jiada_wang@mentor.com> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-ClientProxiedBy: svr-orw-mbx-02.mgc.mentorg.com (147.34.90.202) To svr-orw-mbx-03.mgc.mentorg.com (147.34.90.203) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add device tree bindings for Audio Clock Generator (ADG) of R-Car Socs. Signed-off-by: Jiada Wang --- .../clock/renesas,rcar-adg-clocks.txt | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/renesas,rcar-adg-clocks.txt diff --git a/Documentation/devicetree/bindings/clock/renesas,rcar-adg-clocks.txt b/Documentation/devicetree/bindings/clock/renesas,rcar-adg-clocks.txt new file mode 100644 index 000000000000..76fc4f8964e9 --- /dev/null +++ b/Documentation/devicetree/bindings/clock/renesas,rcar-adg-clocks.txt @@ -0,0 +1,24 @@ +* Renesas R-Car Audio Clock Generator (ADG) + +The Audio Clock Generator (ADG) is part of R-Car Audio module, it +selects and supplies the necessary clock for the SSIU, EAVB-IF, SCU, +ADSP or DTCP module. It also divides the frequency of the selected +clock and sends it outside the chip. + +Required Properties: + + - compatible: Must be one of + - "renesas,rcar_sound-gen1" for the R-Car GEN1 SoCs + - "renesas,rcar_sound-gen2" for the R-Car GEN2 SoCs + - "renesas,rcar_sound-gen3" for the R-Car GEN3 SoCs + + - reg: Base address and length of the memory resource used by the ADG + + - clocks: References to the parent clock S0D1. + - clock-names: ADG refer to its parent clock by name "adg". + - #clock-cells: Can be 0, 1 or 2 + - When clock-cells = 0, ADG registers one fixed clock out + - When clock-cells = 1, ADG registers 3 fixed clock out + - When clock-cells = 2, ADG registers 3 fixed clock out and 8 AVB clocks + second clock specifier need to be 0 to refer to fixed clock out, need + to be 1 to refer to AVB clocks -- 2.19.2