Received: by 2002:ac0:a679:0:0:0:0:0 with SMTP id p54csp634990imp; Thu, 21 Feb 2019 08:12:00 -0800 (PST) X-Google-Smtp-Source: AHgI3IYCkMYrxj2/w17jbw4NqoGk2L/yaucV1l2Iwxpc9adaaISXlh6abkTk4lJNTvbuVaexhF2s X-Received: by 2002:a17:902:bc89:: with SMTP id bb9mr43576219plb.212.1550765520244; Thu, 21 Feb 2019 08:12:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550765520; cv=none; d=google.com; s=arc-20160816; b=WOVZDV7+diypxe14fkoC+HAJVmjElB99E0f8OYMWl3BKvd3y69/jn0V1BjeiX5owBb +MxCb/sNlNNMPGZxuCWIvAPDvgqX1Emn0Q07ZDTbLyhRhF5I6b9hAwA/Etoc+LKJXTvt Qu/zK5KyHMZtRl4VHwwS+YOaOfevOM0TS3XZ0K0sQvi6n5N8pRWDhyz6HWGfPYKy95AH vbpvwKoGr9WJzQ9Vg7keuS+Ah+/9XgJmCDVL7oQDlcLn4HJAFRuakljQ5ixoMpPGAE1T cjsDUN9h9NFjKXbpPL2T+xLe6eDvnjrLygTd4REYgT9h0/mVpTeMmntLOd7U/pVsidsP syDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=VbP8T3HB5M59BNlIR6Kp43hKu0Rre2b8aDb5UBBO1p8=; b=shN3vbtc6MyqOJ8SIEmXbSYVSGnAbm96s8PmQec3LRXtt1CI/JbrIsX85QsdhB66lx zXq8sG2Vu1wJUawuvhAljvbnfc2yLGplWLF2GxEoNsS4ae2CcySDPwkoSfTPaC2FSIyZ Tts4rePvHRaTbM+J3TWWlYAXmvf0sUOVX5+dMrH97j7YfyMSyXbyDbs+NDaxq8VN0HA5 ddp/7QQSJViv9b/y6ixOegUYPqYkBl4TTsspbkUXdOkgxrbdExG4DU3MdjzMsozb20xL 9wmrqC5iP/1eH+RT8tYzL+PEikNp6ZGRpBR+sqbDU/nf0fjJkbOkMpfOG+iURaoSeC6c ve/Q== 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 x1si1770078plo.58.2019.02.21.08.11.43; Thu, 21 Feb 2019 08:12:00 -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 S1728037AbfBUQLR (ORCPT + 99 others); Thu, 21 Feb 2019 11:11:17 -0500 Received: from relmlor1.renesas.com ([210.160.252.171]:30073 "EHLO relmlie5.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725880AbfBUQLR (ORCPT ); Thu, 21 Feb 2019 11:11:17 -0500 X-IronPort-AV: E=Sophos;i="5.58,395,1544454000"; d="scan'208";a="8500145" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie5.idc.renesas.com with ESMTP; 22 Feb 2019 01:11:14 +0900 Received: from renesas-VirtualBox.ree.adwin.renesas.com (unknown [10.226.37.56]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 6BED140A6A10; Fri, 22 Feb 2019 01:11:11 +0900 (JST) From: Gareth Williams To: Rob Herring , Mark Rutland , Alexandre Belloni , Wolfram Sang , Jarkko Nikula , Andy Shevchenko , Mika Westerberg Cc: Gareth Williams , devicetree@vger.kernel.org, linux-i2c@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Phil Edworthy Subject: [PATCH v4 0/2] i2c: designware: Add support for a bus clock Date: Thu, 21 Feb 2019 16:10:57 +0000 Message-Id: <1550765459-14519-1-git-send-email-gareth.williams.jx@renesas.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Synopsys I2C Controller has a peripheral clock that some SoCs require to access the registers. This series also details the new clock property in the bindings documentation. v4: - Code comments and commit messages updated to reference "peripheral clock" instead of "bus clock". - Rebased onto next-20190221. v3: - busclk renamed to pclk. - Added comment with dw_i2c_dev struct definition describing pclk. - Added enable rollback of first clock if second fails to enable. - Changed clocks and clock-names sections to use term "peripheral clock" (pclk) instead of "bus clock" (busclk) in dt-bindings documentation. v2: - Use new devm_clk_get_optional() function as it simplifies handling when the optional clock is not present. Phil Edworthy (2): dt: snps,designware-i2c: Add clock bindings documentation i2c: designware: Add support for a peripheral clock .../devicetree/bindings/i2c/i2c-designware.txt | 9 +++++++++ drivers/i2c/busses/i2c-designware-common.c | 18 ++++++++++++++++-- drivers/i2c/busses/i2c-designware-core.h | 2 ++ drivers/i2c/busses/i2c-designware-platdrv.c | 5 +++++ 4 files changed, 32 insertions(+), 2 deletions(-) -- 2.7.4