Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1557522imm; Tue, 15 May 2018 22:54:23 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoiHCBoZthjRyUkfgUW4ducemaqk4dzWXJUV2941JQu1GPCQBSJzbbOGZcjdXoMs12G6mn/ X-Received: by 2002:a63:755c:: with SMTP id f28-v6mr15045691pgn.208.1526450063600; Tue, 15 May 2018 22:54:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526450063; cv=none; d=google.com; s=arc-20160816; b=nKDHnsd8Ptq1dCwaYKxsCE3hS7K1+HrJtEnuNU9WAFhDpDT9M/UavcMAtPhSdvmiuU JbA3MILZ1GQvdgsyRA3Ia/2lOEkU8iYn3ViVH9O4J4UJ2LF2uikMBOEI34LkCzNOpKIJ wB4BMjT8NCTF7ZVn7pkdJGeqSTO/s6TcxKzwofkzOdoLLd7ZREzQr02VE9ccBLBZ9EoY YQUNwbSO5YkIP+GlcDRrKAWCZYY1gtzYerqSFntmKL5eZUKxffdIPz74nSvdU6ya0FF6 4QCJwkRUz3JBAa2ARQjZYPj/Ve2YE2ApWNV2/cB/LPbT3Qa58voSpMRTNu8krF02uw0R tNLA== 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=GpRrBWLCJlayA5t9H7oW/DR9/JwFlIDkJAR7AF5QTTQ=; b=Tzdep4tZMyP72xLlQ8Hw5yPGuY6NJBpqoDkrSVBsPuHrAJ6qVPX5VBQS11Go9NH/RL OE858/NwAuALVdwyN6WJfPHT3jx8XU29+XB1sIh0ENpWYuomQK8LIzTd+OO5sPknU8bd 0iGz0tQ196onrCzPwMCVEkUR68pp9ZS0A/DIosHSlvBFLWROqTI8YmW8qmSnpMnnHKOr T/JiCQyXvqNdJx9C8HkxnRQtRdWdGmpvrWG+nGLVwgi/TGAgSXf3xsM9SRQu6y2nZ1jy 6YArsHYB95uDd3zNJ1P7/rawlbk/+FLSJIgqL6CMFdzhsnnI0mXzhaTx0aW5CMMPGqzN F0OA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=f518kzRY; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b26-v6si1960110pff.251.2018.05.15.22.54.09; Tue, 15 May 2018 22:54:23 -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; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=f518kzRY; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752597AbeEPFwf (ORCPT + 99 others); Wed, 16 May 2018 01:52:35 -0400 Received: from lelnx194.ext.ti.com ([198.47.27.80]:39596 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752241AbeEPFwd (ORCPT ); Wed, 16 May 2018 01:52:33 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelnx194.ext.ti.com (8.15.1/8.15.1) with ESMTP id w4G5pKgD001815; Wed, 16 May 2018 00:51:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1526449880; bh=GpRrBWLCJlayA5t9H7oW/DR9/JwFlIDkJAR7AF5QTTQ=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=f518kzRYYAw/p6jWQy5nzzU8IZyZHOxfI/Afvd64ZodG8e5821pD6by1k9Q81U9d8 g9SCC+jPTUxfSD8up5aZOyURgfpLYhUu+4DNf3200wA5/9dSRTTooSW8WSHfUlIeRn JFITCRm3Kr3Hau1OyKteT1cYH/UlNNsVlStWvCr4= Received: from DLEE103.ent.ti.com (dlee103.ent.ti.com [157.170.170.33]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w4G5pJhT011120; Wed, 16 May 2018 00:51:20 -0500 Received: from DLEE104.ent.ti.com (157.170.170.34) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Wed, 16 May 2018 00:51:19 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Wed, 16 May 2018 00:51:19 -0500 Received: from [172.24.190.172] (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w4G5pFFX030767; Wed, 16 May 2018 00:51:16 -0500 Subject: Re: [PATCH v10 02/27] clk: davinci: da850-pll: change PLL0 to CLK_OF_DECLARE To: David Lechner , , , CC: Michael Turquette , Stephen Boyd , Rob Herring , Mark Rutland , Kevin Hilman , Bartosz Golaszewski , Adam Ford , References: <20180509172606.29387-1-david@lechnology.com> <20180509172606.29387-3-david@lechnology.com> <9203489d-0a5a-103a-67ea-d3e89bb7ebc4@ti.com> <88dec9b1-5f4d-a1ac-2b63-b30ae7665851@lechnology.com> From: Sekhar Nori Message-ID: <665f5ea0-1865-0545-a1ef-7e971f3ba9d9@ti.com> Date: Wed, 16 May 2018 11:21:15 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <88dec9b1-5f4d-a1ac-2b63-b30ae7665851@lechnology.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 8bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tuesday 15 May 2018 09:12 PM, David Lechner wrote: > On 05/15/2018 08:31 AM, Sekhar Nori wrote: >> On Wednesday 09 May 2018 10:55 PM, David Lechner wrote: >>> +void of_da850_pll0_init(struct device_node *node) >>>   { >>> -    return of_davinci_pll_init(dev, dev->of_node, &da850_pll0_info, >>> -                   &da850_pll0_obsclk_info, >>> -                   da850_pll0_sysclk_info, 7, base, cfgchip); >>> +    void __iomem *base; >>> +    struct regmap *cfgchip; >>> + >>> +    base = of_iomap(node, 0); >>> +    if (!base) { >>> +        pr_err("%s: ioremap failed\n", __func__); >>> +        return; >>> +    } >>> + >>> +    cfgchip = syscon_regmap_lookup_by_compatible("ti,da830-cfgchip"); > > In your previous review, you pointed out that the error did not need to > be handled here because it is handled later in davinci_pll_clk_register().> > We get a warning there because cfgchip is only needed for unlocking the > PLL for CPU frequency scaling and is not critical for operation of the > clocks. Oops, forgot about that :) Reviewed-by: Sekhar Nori Thanks, Sekhar