Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp4096424ybl; Tue, 20 Aug 2019 07:00:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqxBdU/zUV2bFhuDmh7mTRGEUF6CyqIm/FynxnrNpcu47eulti1YzHh5IKMJp8Ty16aaTtP6 X-Received: by 2002:a63:211c:: with SMTP id h28mr24730106pgh.438.1566309637024; Tue, 20 Aug 2019 07:00:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566309637; cv=none; d=google.com; s=arc-20160816; b=GgGOR/0R6dlSyS1oQlho/tNsDs2pebJDK6+bPBsLLWT16PHON6LBJG6mtcWNt9aKqX BcVcD2HmolllDJPWEfAf8lldYOX6cZ1shiTAsav8V97jQ+XJfnBuEQGJNOFhIm1xS6+f f5GDgGeC3OffUogh01pvjLD/xR7OcbFmjqCjZZlDpOHVW8hpFXxij5PnWBMig6gddkvn kB+sLq4Uv0B2e83YBDd5I6Q5Uf0k1lIBSuzmjS5Owd5/wZSQCGpQW0nXVdvV5tM0IXHV 98D7LpY3pNzJNwECm3SWSSKfF5SQuxbI4WmvMuZ0o/M3azPe7wTVMhkjlTmGnF0D8sHL WYRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=6iIrExtASIshuqYBBdROx19JqtOfJDEcRDWCE2GdQ2s=; b=teFsgLHoa4DeyyE0TxcLewI8Z4gadNipqm7jzmy/LecgyLU3Zk+noBaof4OyS4m9XY nYTxZVFaYMxDnwzgrKwfKP1XmfzsVDkfD2A7ezWxSVgHk6hdhn/bJPn9fnxHq6yxoFJ8 mwBavQftGF2RU5oWBBboVssugFsyGwLTq7nazMBQRrPoC++ybj8jN0/mXcheOZle3tYq uJTU86sqPHwx67ffJtGnXcuPCooE4aWHV8InwPJIoWMbM7iBBf1KzXNujqphNZJgm1rv DuPH1QmFJYTXKJsYf4LyOf0sSc7teuwXybWQ8/KjeDZEx7V0Ye2XpUsa0BPn9pC/YJZO liyA== 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 i3si12178148pgd.554.2019.08.20.07.00.21; Tue, 20 Aug 2019 07:00:36 -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 S1730090AbfHTN70 (ORCPT + 99 others); Tue, 20 Aug 2019 09:59:26 -0400 Received: from mga03.intel.com ([134.134.136.65]:10229 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729762AbfHTN70 (ORCPT ); Tue, 20 Aug 2019 09:59:26 -0400 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Aug 2019 06:59:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,408,1559545200"; d="scan'208";a="172456004" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.145]) by orsmga008.jf.intel.com with ESMTP; 20 Aug 2019 06:59:23 -0700 Received: from andy by smile with local (Exim 4.92.1) (envelope-from ) id 1i04fR-00041P-Gf; Tue, 20 Aug 2019 16:59:21 +0300 Date: Tue, 20 Aug 2019 16:59:21 +0300 From: Andy Shevchenko To: "Ramuthevar,Vadivel MuruganX" 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 Subject: Re: [PATCH v2 2/2] phy: intel-lgm-emmc: Add support for eMMC PHY Message-ID: <20190820135921.GO30120@smile.fi.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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190820135602.GN30120@smile.fi.intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. -- With Best Regards, Andy Shevchenko