Received: by 10.223.176.46 with SMTP id f43csp3158609wra; Mon, 22 Jan 2018 09:17:43 -0800 (PST) X-Google-Smtp-Source: AH8x224/SbsfcQXqKZKZlS3+Z/EwZhGPCMeaEhPN3uO/Psbq5ICx8Mk74j+cvapVOqe88G704/mV X-Received: by 10.107.130.233 with SMTP id m102mr8644449ioi.304.1516641463184; Mon, 22 Jan 2018 09:17:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516641463; cv=none; d=google.com; s=arc-20160816; b=RK0O3vC8zIPPEhxB1WzRYtM7kwasHsiQqiotGIY8tJ8tTS2clYdW/ZFJHaUeE81ZiF LJXdapO3A6CI0ryRgXmo2kxkeJyx9RtSSbTysTDKYZ+fa+8oHJo3QTMNKpBvWB3u/ADP 09I1QiTvK9fxGjahbA9zPFdmVuqXB12l6q0/u60KYpoKqdjJuH75XtipxhTjgfrHbMDo jLiJA0cVyj5m4WJWYJY3gLs3EB5u7b3dqd6CuZwPXNFd6o0Dp99lWpEUdflrYMWkFybv naOwGGhzF7WQ8MU79hKBYx5pyj1072+znbh0hTXn5JhTj4aHldZLeAqddN59j526PiC4 L4Kg== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=o5cQ3Oqp9VUVptJCZLqzGNm9uOhmGVLK0HdYH1/vTOM=; b=00eLzGb3QoHasadcKajB5VIYbbPxgFlefIiOS2MCD+hXdicgC0wTHRO0pQv29b46e6 wvYiBVwkq2gtz245WAFwyHhKAyv18xq3mGyV7ZTNnT4btKyNcERLlWoodzgTUU6exfpD aTW3FIIPugVzZwa0qPr9XpNrcdrnbyehVRXO7JQEWCITP8c68KeyYdqb6HfCyUVW4huc DZtrGMk6XfELsyRG+2wpoDasgmH9TSLzWqgke3WwYI/fRV1uJslVqTH6hYL7f3KlZMZd g5wLslWmll8ZIMgB2zm08eGQM2tSaHus5udOi2zNCjXZ4SyDSzxQO6aztUyjEHEB5rg4 MSHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lechnology.com header.s=default header.b=BTYeb4bo; 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 b64si6049280ite.46.2018.01.22.09.17.30; Mon, 22 Jan 2018 09:17:43 -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; dkim=fail header.i=@lechnology.com header.s=default header.b=BTYeb4bo; 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 S1751199AbeAVRRH (ORCPT + 99 others); Mon, 22 Jan 2018 12:17:07 -0500 Received: from vern.gendns.com ([206.190.152.46]:52558 "EHLO vern.gendns.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751091AbeAVRRF (ORCPT ); Mon, 22 Jan 2018 12:17:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lechnology.com; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=o5cQ3Oqp9VUVptJCZLqzGNm9uOhmGVLK0HdYH1/vTOM=; b=BTYeb4bo6XoGHvUazbCGhNwcbh bUynVa6d2OYwnHAuva/lIj9LjIu5PDr/AMOPBhkLhDr4RvdY0LNHSjCd4IvPuBY+OD+OB7rtRFf7z jMviLG9c5ps47BwPzbIP1CSZTb7zttGVoArfuwFkkoaJbG5NlK4Tlzq6G5PdQ531LKzVnFzYbWmOM owhsJ/99SCYkMqhckRz3000F3VgR7YYWTmMDWaJJ5fw0+2k1aC5OzPgEkRXCbW6tZUTE3UuRyz+Os RY8KUO/QfnKSIEUzvWBsSKeXWt6AUJxPcYt6jhDu9G/2JSsDaIxjqbtoR6jtneWi6OmDDLgv+8KZh QTRLNylg==; Received: from 108-198-5-147.lightspeed.okcbok.sbcglobal.net ([108.198.5.147]:33200 helo=[192.168.0.134]) by vern.gendns.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.89_1) (envelope-from ) id 1edfhv-003Akz-Et; Mon, 22 Jan 2018 12:16:31 -0500 Subject: Re: [PATCH v6 26/41] ARM: da8xx: add new USB PHY clock init using common clock framework To: linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Michael Turquette , Stephen Boyd , Rob Herring , Mark Rutland , Sekhar Nori , Kevin Hilman , Bartosz Golaszewski , Adam Ford , linux-kernel@vger.kernel.org References: <1516468460-4908-1-git-send-email-david@lechnology.com> <1516468460-4908-27-git-send-email-david@lechnology.com> From: David Lechner Message-ID: Date: Mon, 22 Jan 2018 11:17:03 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <1516468460-4908-27-git-send-email-david@lechnology.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vern.gendns.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lechnology.com X-Get-Message-Sender-Via: vern.gendns.com: authenticated_id: davidmain+lechnology.com/only user confirmed/virtual account not confirmed X-Authenticated-Sender: vern.gendns.com: davidmain@lechnology.com X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/20/2018 11:14 AM, David Lechner wrote: > This adds the new USB PHY clock init in mach-davinci/usb-da8xx.c using > the new common clock framework drivers. > > The #ifdefs are needed to prevent compile errors until the entire > ARCH_DAVINCI is converted. > > Signed-off-by: David Lechner > --- > > v6 changes: > - rename stuff to match changes in "clk: davinci: New driver for TI DA8XX USB > PHY clocks" > - take advantage of syscon lookup changes in "mfd: syscon: Add syscon_register() > function" > > arch/arm/mach-davinci/usb-da8xx.c | 78 ++++++++++++++++++++++++++++++++++++++- > 1 file changed, 77 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/mach-davinci/usb-da8xx.c b/arch/arm/mach-davinci/usb-da8xx.c ... > +/** > + * da8xx_register_usb20_phy_clk - register USB0PHYCLKMUX clock > + * > + * @use_usb_refclkin: Selects the parent clock - either "usb_refclkin" if true > + * or "pll0_aux_clk" if false. > + */ Should say "pll0_auxclk" instead of "pll0_aux_clk".