Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp395866ybl; Tue, 20 Aug 2019 22:35:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqx/GsGtWE8Tob6WWH/lL6I7ZmQsR6w6awK4cQpfdKGOG6JtiN7GSIBAE9eGNQBNASr4ny+O X-Received: by 2002:a63:1c22:: with SMTP id c34mr27624929pgc.56.1566365725851; Tue, 20 Aug 2019 22:35:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566365725; cv=none; d=google.com; s=arc-20160816; b=pBgCiga5/LH41jedi5IeTwWjduaO8fgqx5nnQM9kW2K2HVUIWMJy3y2lO58qNwQk/7 8fR5DkPwrGaP4qEHg90pGWgkc6r1ZU7hjT8M/CdPUCfU57ayIZ0SD9c9b5Z7QIMYGux7 ueOfQX2N5ez/qzJpqV/y1golK68D4sca/Sf41iMNlw6gef+fctfKrUKW6Yqk683H9tdF ZP9ZMdpOyXgMNif2UxXjmtO9q/ua3Fpgpng+sYzTZnKx6qyXSNtIAARs3w2rAcKs2dtW 7O2mIq+HY00zB7jZFkdEP1O9petGNVEGDkJTypCWLDSH6WR2tZ7voCsKR/ecoP/PaF9x mocg== 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; bh=lc0OL3uuxhfv6qJLsuVkSfCIa4XELzG7NlxYzQZ1YLE=; b=LVzfycV7hG0sgfqfCxvH6zUNxAza8BdlqCo7qn1F5xjIAB7Vnb9yuG8U7NK1DyiJvg KuYmNMlmE+BsLil+h6ENZvByVYIYKxhWBo5+fOfpaAQqzX6APy3vGwP4okSijwRWKkp1 Epb8zyff3/T7ZsHoDl9R000Sv8G0GcTuPA3/Jdy4pZf4Brs+UecAZtiWOP8U/A3NL4Al EPz2IIad20S0+waEMlR15PMTkoF6ifmuw1RHyQ8/GDzuykc1/plXtehdCNf9gkwjeLDJ uIRbw7fnGpCON8pOCmALOY5iJGcCU1CEk1YR/tAlsAoOq7mV/W+K4Ei48oy6z4sC3rA1 CwpA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z9si13702256pgk.46.2019.08.20.22.35.10; Tue, 20 Aug 2019 22:35:25 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727253AbfHUFeX (ORCPT + 99 others); Wed, 21 Aug 2019 01:34:23 -0400 Received: from mga18.intel.com ([134.134.136.126]:18832 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726953AbfHUFeX (ORCPT ); Wed, 21 Aug 2019 01:34:23 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Aug 2019 22:34:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,411,1559545200"; d="scan'208";a="169308087" Received: from linux.intel.com ([10.54.29.200]) by orsmga007.jf.intel.com with ESMTP; 20 Aug 2019 22:34:22 -0700 Received: from [10.226.38.21] (vramuthx-mobl1.gar.corp.intel.com [10.226.38.21]) by linux.intel.com (Postfix) with ESMTP id 432D95803FA; Tue, 20 Aug 2019 22:34:20 -0700 (PDT) Subject: Re: [PATCH v2 2/2] phy: intel-lgm-emmc: Add support for eMMC PHY To: Andy Shevchenko Cc: kishon@ti.com, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, cheol.yong.kim@intel.com, qi-ming.wu@intel.com, peter.harliman.liem@intel.com References: <20190820103133.53776-1-vadivel.muruganx.ramuthevar@linux.intel.com> <20190820103133.53776-2-vadivel.muruganx.ramuthevar@linux.intel.com> <20190820135602.GN30120@smile.fi.intel.com> <20190820135921.GO30120@smile.fi.intel.com> From: "Ramuthevar, Vadivel MuruganX" Message-ID: Date: Wed, 21 Aug 2019 13:34:19 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20190820135921.GO30120@smile.fi.intel.com> 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 20/8/2019 9:59 PM, Andy Shevchenko wrote: > On Tue, Aug 20, 2019 at 04:56:02PM +0300, Andy Shevchenko wrote: >> On Tue, Aug 20, 2019 at 06:31:33PM +0800, Ramuthevar,Vadivel MuruganX wrote: >>> +#define DR_TY_50OHM(x) ((~(x) << 28) & DR_TY_MASK) >> For consistency it should be >> >> #define DR_TY_SHIFT(x) (((x) << 28) & DR_TY_MASK) >> >> with explanation about 50 Ohm in the code below. >>> + /* Drive impedance: 50 Ohm */ >> Nice, you have already a comment here. Just use DR_TY_SHIFT(1) > It should be DR_TY_SHIFT(6) now since I dropped the negation. Thanks Andy, will update the review comments. Best Regards Vadivel