From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D040BC43387 for ; Tue, 18 Dec 2018 18:41:55 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9E335218A4 for ; Tue, 18 Dec 2018 18:41:55 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="PPB99Zeh"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="DnRvCsH6" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9E335218A4 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Date:From:Subject:To:In-Reply-To: Message-ID:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=FsJ+FL7cYDPz51LbPSZkXSox4l9EjlurE2gYD+zoQpA=; b=PPB99Zehg0oRy/ jQ7I0oGHAxrVZQrf/XpY21OwUfT4WORcBhRhxVhxJvi36lIQXX8hZDwaQrdK1ddUHj1OArLa0i+/6 +YF4PqLyPoUAnTTsJwzT0ADWx4y9qy+tvmnqeORXu5UUhPxk/lZyYtZtTvnNzD8iR8gXeJY/XRZS8 w59XC7KS/ryVRFJjlKbAZJ6RnB3Hap9XgmWiyHWf0QmyARF8pIgFjwvzJpzYDJX13ZKNsTDDbNQeT 8mZYRoimLM8hnBmW9AGKjQqkWnIKgHrxhMK0rK73b2alhUzlefooODUQZJo+aaPg55/KFcFM10nLn EmbjTZk8T7BBZEfta67A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gZKJW-0004fb-HS; Tue, 18 Dec 2018 18:41:54 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gZKJT-0004eE-N3 for linux-arm-kernel@lists.infradead.org; Tue, 18 Dec 2018 18:41:53 +0000 Received: from localhost (unknown [104.132.0.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0728021841; Tue, 18 Dec 2018 18:41:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1545158501; bh=AwdX88LwfF+YuvAm/TFiswVQOd5bxkkc6IXL+wdwNAc=; h=References:In-Reply-To:To:Cc:Subject:From:Date:From; b=DnRvCsH6KgkRsr2MbRc7mO116n5RN5cE/MXOOnfm/gXNQbri1q7evei27gNaREYsp XOS26zxWvLcmnh4566OwUVgDA9kxN8NLm2XfiK6MvjGeAiPaSshQEPrEob9q4yFisN q6O22KBo5RssyplKKX4PCth4IrsRFOy835QbIPMc= MIME-Version: 1.0 References: <20181218091232.23532-1-josephl@nvidia.com> <20181218091232.23532-8-josephl@nvidia.com> Message-ID: <154515850026.238328.7010951773585896961@swboyd.mtv.corp.google.com> In-Reply-To: <20181218091232.23532-8-josephl@nvidia.com> To: Jonathan Hunter , Joseph Lo , Peter De Schrijver , Thierry Reding User-Agent: alot/0.8 Subject: Re: [PATCH V3 07/20] clk: tegra: dfll: support PWM regulator control From: Stephen Boyd Date: Tue, 18 Dec 2018 10:41:40 -0800 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181218_104151_780419_6410CA5F X-CRM114-Status: UNSURE ( 9.93 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-tegra@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Joseph Lo Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org Quoting Joseph Lo (2018-12-18 01:12:19) > The DFLL hardware supports two modes (I2C and PWM) for voltage control > when requesting a frequency. In this patch, we introduce PWM mode support. > > To support that, we re-organize the LUT for unifying the table for both > cases of I2C and PWM mode. And generate that based on regulator info. > For the PWM-based regulator, we get this info from DT. And do the same as > the case of I2C LUT, which can help to map the PMIC voltage ID and voltages > that the regulator supported. > > The other parts are the support code for initializing the DFLL hardware > to support PWM mode. Also, the register debugfs file is slightly > reworked to only show the i2c registers when I2C mode is in use. > > Based on the work of Peter De Schrijver . > > Signed-off-by: Joseph Lo > --- Acked-by: Stephen Boyd _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel