Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2095322imm; Mon, 16 Jul 2018 02:00:45 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeifP4QA+ad1LmASHSofWbKMXELimml8WJXogJFGYoEy1alZViHadG7xzhK6d3ukq8tajFl X-Received: by 2002:a63:bf43:: with SMTP id i3-v6mr14816885pgo.342.1531731645180; Mon, 16 Jul 2018 02:00:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531731645; cv=none; d=google.com; s=arc-20160816; b=ryR+KVRLOckCJOjBqJ6AmOyI3ZPFWe16erzFPmdC4AmwtnJyEZRpj92BuKgWHtnfYY gh4CW3PLqDJaLR6qmpT2i779TtQaIZWOCrL1WjL6dwC0cv0z+luGEaIUkTY1pKzeUkc0 4iixQjp899I7kgkbm05ytpJfJQnLMjQgeAD4bvs5v2lOVZjFF2rWrhukR+Be55DHF73s 3wC8/gt+XDW1+W8OUljznqEuKVQwsFtz4sS2lM/9KXehYS7Zsc7bkjFv50xkx4WH7c4o noK6VOxiZwZMU8EKE5htnFbfOOyZbRB/+Imsj7L2MlBxWO2w9mkfv2mN0/njXuY+5Jll ZpwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=bunb1GK7feqzWdX7tL4BEdigRV86P9KoljQxmyrodGc=; b=zo+EQSsbW7AlYEWrtDcMwkzLi4De0EmHOSflpQDibtasdzkYazl61/OQOCVIyT7kmY j5c6UwfOveBQvZ/i9OhsFW3LNCYkqOvzBpIDY+mgLAkSseMpKAvT1peXbPTMnAwOcjJo aDIpiATDg4FJpC6Bxh+qaSZTGXz9C4/g45enoEsNOvENmC25yl5DnBQymYKXsdpV9DVQ nwsI1QAa3RJ5wpxKUoXOiA/P8EMHQl4RQxGWCUNtDxEva6YP5tv+PryfhxYyB4P0cNDI IH+KTpYAnRxaTqKvhT/KMFr/R8y3M5DHFv/LXXS7vGajfVFnqXy7q5sWS1ZyZiTpIwOa hUAw== 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 t2-v6si28584944pge.64.2018.07.16.02.00.30; Mon, 16 Jul 2018 02:00:45 -0700 (PDT) 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 S1731066AbeGPJZ4 (ORCPT + 99 others); Mon, 16 Jul 2018 05:25:56 -0400 Received: from relmlor3.renesas.com ([210.160.252.173]:28570 "EHLO relmlie2.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727182AbeGPJZ4 (ORCPT ); Mon, 16 Jul 2018 05:25:56 -0400 Received: from unknown (HELO relmlir1.idc.renesas.com) ([10.200.68.151]) by relmlie2.idc.renesas.com with ESMTP; 16 Jul 2018 17:59:30 +0900 Received: from relmlii2.idc.renesas.com (relmlii2.idc.renesas.com [10.200.68.66]) by relmlir1.idc.renesas.com (Postfix) with ESMTP id 9194F78F29; Mon, 16 Jul 2018 17:59:30 +0900 (JST) X-IronPort-AV: E=Sophos;i="5.51,360,1526310000"; d="scan'208";a="286981862" Received: from unknown (HELO vbox.ree.adwin.renesas.com) ([10.226.37.67]) by relmlii2.idc.renesas.com with ESMTP; 16 Jul 2018 17:59:28 +0900 From: Phil Edworthy To: Rob Herring , Mark Rutland Cc: Geert Uytterhoeven , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Phil Edworthy , devicetree@vger.kernel.org Subject: [PATCH 1/2] dt: snps,designware-i2c: Add clock bindings documentation Date: Mon, 16 Jul 2018 09:59:12 +0100 Message-Id: <1531731553-22979-2-git-send-email-phil.edworthy@renesas.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1531731553-22979-1-git-send-email-phil.edworthy@renesas.com> References: <1531731553-22979-1-git-send-email-phil.edworthy@renesas.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The driver requires an undocumented clock property, so detail it. Add documentation for a separate bus clock. Signed-off-by: Phil Edworthy --- Documentation/devicetree/bindings/i2c/i2c-designware.txt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/i2c/i2c-designware.txt b/Documentation/devicetree/bindings/i2c/i2c-designware.txt index fbb0a6d..e9f4387 100644 --- a/Documentation/devicetree/bindings/i2c/i2c-designware.txt +++ b/Documentation/devicetree/bindings/i2c/i2c-designware.txt @@ -1,16 +1,21 @@ * Synopsys DesignWare I2C Required properties : - - compatible : should be "snps,designware-i2c" - reg : Offset and length of the register set for the device - interrupts : where IRQ is the interrupt number. + - clocks : phandles for the clocks, see the description of clock-names below. + The phandle for the "ic_clk" clock is required. The phandle for the "bus" + clock is optional. If a single clock is specified but no clock-name, it is + the "ic_clk" clock. If both clocks are listed, the "ic_clk" must be first. Recommended properties : - - clock-frequency : desired I2C bus clock frequency in Hz. Optional properties : + - clock-names : Contains the names of the clocks: + "ic_clk", for the core clock used to generate the external I2C clock. + "bus", the bus clock, sometimes described as pclk, for register accesses. - i2c-sda-hold-time-ns : should contain the SDA hold time in nanoseconds. This option is only supported in hardware blocks version 1.11a or newer. -- 2.7.4