Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2155055imu; Tue, 6 Nov 2018 09:52:07 -0800 (PST) X-Google-Smtp-Source: AJdET5e1gyeVGmy9Fa9/ZVJ9ce/gLVv+/mu6gOuEgeY3CHn5xwHjq+RiT0lKgvkYlLNRzTfDgRMA X-Received: by 2002:a63:2109:: with SMTP id h9mr24661822pgh.277.1541526726983; Tue, 06 Nov 2018 09:52:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541526726; cv=none; d=google.com; s=arc-20160816; b=yXVUyF4aGeLLPiYYK/P6T3IYRtKYPZKL47lDkGLI8CvAPWSBXCAfGJu2oZ6fq38LHx +yyigKjGvVJ/OMQdRTYTSD2KW6JY6fNoXe4wpMNhgIX8IlSTneHNQFirWs5t+bUwOFS9 vQJPVDxzueOkeKq84Y9RYYX+HpDkmzFzE7Ru+RPZiAelLe9J8cxr3yjka0Sr+t996Iad yj/61OQATr28PBd3U3IvixAxA/ZEFegttxlDmInPm02fjK2nPXdxEBXN6si9619EpGzb SokUPJcU7vmsQ4vz4+JxIkl1+ZyKrgd4T9B8X1QrNGhn/5UIAFdpYM5KslgZUh+14YqP 1sFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dmarc-filter :dkim-signature:dkim-signature; bh=BBj23cBAtgxhiLOIfDCRc3hHwUlV6ntMxpH3E441FkU=; b=st2bzgGQYAlAvzANxiGFZZHY749O5lplWa92XyRjgDPiQX3jbrzSKvWEmEXLU/bi3S 2HRCfk+pbQrq9OIzBZ8SjyrjwLVPIiLJl3R+BhTZqCFcW6AJzEsTqBTY8gB1GqvFntzD uNrtt/srgJzKbkBQpFYlHuGlXf/JKF5bn+b23RGqI8MH+MH/0kZKTYznWJUrr1S+jhQP QdGdSgcaHGlJq9YJTHInO9FqG1W/zdyJg4mK5ckVAKfLzapSzjWmM5Ut7gjNFue7I5ra 60YU+ADseOf92PZZspVwgrAL096XUSuUmeM5D5ZXOdaND1nBBiovzU7vkxaao0iXOAt3 4Oxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=iEYuFhGR; dkim=pass header.i=@codeaurora.org header.s=default header.b=mc46Nkvl; 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 b2-v6si50463327plk.356.2018.11.06.09.51.49; Tue, 06 Nov 2018 09:52:06 -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=pass header.i=@codeaurora.org header.s=default header.b=iEYuFhGR; dkim=pass header.i=@codeaurora.org header.s=default header.b=mc46Nkvl; 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 S2389625AbeKGDRs (ORCPT + 99 others); Tue, 6 Nov 2018 22:17:48 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:51010 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730671AbeKGDRs (ORCPT ); Tue, 6 Nov 2018 22:17:48 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 26C1060591; Tue, 6 Nov 2018 17:51:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1541526687; bh=3pydGgseVOh8qzszlmwXRs8KbQJa8kox0KVqIwonH18=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=iEYuFhGRNYOfj6w4/eQTGSbiSN9CyrATldeV6H6qg1pVDJASFlt9Tr1Tl2O63IOh5 AwoLN0ZllduXI2HClLwRIdrQzjYvRgf8mSqMUvWx52kvaVxer962kXpJwXqtJQ1fH9 /eI1nBNBgLtnWGchpjU7lYZXQv6yT6ZDIA7c5OI0= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED autolearn=no autolearn_force=no version=3.4.0 Received: from [192.168.0.104] (unknown [183.83.73.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: vbadigan@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 94956601D7; Tue, 6 Nov 2018 17:51:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1541526686; bh=3pydGgseVOh8qzszlmwXRs8KbQJa8kox0KVqIwonH18=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=mc46Nkvl/0rmAh2gW6DrcsDGzUDsF7qftubjUl/kBkWrGNrgOJjun0xlI+d5o5B9T 1j+b9UeG/Ay9f+5aWaa6RZeocYHMmQxs/rjE5bg70WusmqM6lNoSqJtx0m+ITpSPCZ OUnpP53UphAn5lME5grxiLmlD4wVna70FYCD4j3A= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 94956601D7 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=vbadigan@codeaurora.org Subject: Re: [PATCH V3 2/2] mmc: sdhci-msm: Re-initialize DLL if MCLK is gated dynamically To: Doug Anderson Cc: Adrian Hunter , Ulf Hansson , Rob Herring , Evan Green , Asutosh Das , riteshh@codeaurora.org, stummala@codeaurora.org, sayalil@codeaurora.org, LKML References: <1541073999-11752-1-git-send-email-vbadigan@codeaurora.org> <1541073999-11752-3-git-send-email-vbadigan@codeaurora.org> From: Veerabhadrarao Badiganti Message-ID: Date: Tue, 6 Nov 2018 23:21:14 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/2/2018 2:03 AM, Doug Anderson wrote: > Hi, > > On Thu, Nov 1, 2018 at 5:08 AM Veerabhadrarao Badiganti > wrote: >> static const struct sdhci_msm_variant_info sdhci_msm_v5_var = { >> .mci_removed = true, >> + .restore_dll_config = false, >> + .var_ops = &v5_var_ops, >> + .offset = &sdhci_msm_v5_offset, >> +}; >> + >> +static const struct sdhci_msm_variant_info sdm845_sdhci_var = { >> + .mci_removed = true, >> + .restore_dll_config = true, >> .var_ops = &v5_var_ops, >> .offset = &sdhci_msm_v5_offset, >> }; > One last thing: are there actually any "v5" controllers that _don't_ > require restoring the DLL? Since "sdm845" is currently the only v5 > controller maybe just set "restore_dll_config = true" for all v5 > controllers and when there's a new v5 controller that doesn't need it > then match off the SoC-specific compatible string. As per my review > of the bindings patch IMO you should include both the "v5" and the > SoC-specific string for SDM845 (and all future SoCs) so you could make > the generic v5 case do this... > Yes. QCS404 is one of the target which uses "V5" controller and it doesn't need restoring of DLL. I checked your comments on bindings patch. Will update it in the next patchset. > -Doug Thanks, Veera