Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp459149ybk; Wed, 13 May 2020 04:46:20 -0700 (PDT) X-Google-Smtp-Source: APiQypJFrEPVAO63I02jelgEud8mlCFAmBsTAEDh+xcQP3hEVjK3Kap2WsNLd3cifRLyj5iH66Mg X-Received: by 2002:aa7:d342:: with SMTP id m2mr22378731edr.341.1589370380257; Wed, 13 May 2020 04:46:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589370380; cv=none; d=google.com; s=arc-20160816; b=ODPcKJbdJAmR8XnJil7A6Pp1VfKJE/iKVc+5X7g4KZUcJC8h0SR+0uEFe2f+TTDWoG XLpHsLY72fyGPoEsy4HrJCAc+uGTrkddR+hFdWKJxMj4TbTmwIrSHK9XUzHOaPihWcHh KqIX3lEGApl8fVROt9KL9X8whLDI2iEornceYB2yJtnsGTtEwNusvIb57UKetk5L0qWh cPR4M7ICfcAJuW9UqeRHzjJVYKyZoXm6rY/i9X4ARtmqwzlaReGCoHlFMkhSCpb6yVdy +8q5lh3RSbPXbYgvL7ZLVIEY83H9H32jCUhujbBEsqMIU4JO7uhOMutOGxg4msvfTEhW 3IcA== 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; bh=aNck7YTyhSCVLiAZticjNUqnfL6D0ZyE63jcT61CE3c=; b=IhraEGV4GbYfDuC0QEcNiep0lTOgXPmlDhN75/nVA1NgGAWfzsvdZ7x62fSGZ66L/Y eKOqhrIQ/1Bsl9zlF5EcLwDAySsGc8Aql+t+iuxlzjhs8M7AIGVmR/7TwF8fJP76Gn+v IczaAQbNZ0oeZK/e0CDwNyE57xdCst9nYRJm8NHpxF9A0nbhqgZ1MhI6oWo3nZNGAota oDJ2jrOD04+9WmaH57usGOwD4ZSMkT513Tof0gY/7CO3qB+6AmqvTaUOnPMAr7M2zDjz SkC9BxFJAqbkZBIPoVzDLSeYU05QVqfrgykQuF19+uRixKalWj7qihNJdCnwoNr1H3TE /Lvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mm-sol.com header.s=201706 header.b="TG2XL/Lz"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=mm-sol.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c17si9484422edt.167.2020.05.13.04.45.57; Wed, 13 May 2020 04:46:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mm-sol.com header.s=201706 header.b="TG2XL/Lz"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=mm-sol.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731489AbgEMLn1 (ORCPT + 99 others); Wed, 13 May 2020 07:43:27 -0400 Received: from ns.mm-sol.com ([37.157.136.199]:33783 "EHLO extserv.mm-sol.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730865AbgEMLn0 (ORCPT ); Wed, 13 May 2020 07:43:26 -0400 Received: from [192.168.1.2] (212-5-158-106.ip.btc-net.bg [212.5.158.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by extserv.mm-sol.com (Postfix) with ESMTPSA id 9C99ECF91; Wed, 13 May 2020 14:43:22 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mm-sol.com; s=201706; t=1589370203; bh=SfnCIB+8RFBof4rOiXKZEaO1H4Zs48OzWFikIfT1iwQ=; h=Subject:To:Cc:From:Date:From; b=TG2XL/Lz+6wKPzf06k6uckSQT66ndTZ1r1+kKU7cOezGqpnPjSF26SMuR02fm/M+z gwN2M1aaB1stRmsmmmGRGdrmvS3Sdycjc5/r0MOSzPkvgby3hl79aeF7JlDzIybZq5 +vlWZrLULb0105fVqQpL/230Zp0eGCTCIl1oMm2rw7QUJGV4XJLwNEon4QwdRXdoP+ VDE6otKk9QjNaoMaoWnpaNOmW38mXTtqz+aM9gxjNzKcgwL8DbrwAEUD1Le9NKmNBs NkCjPEYfa2+wEpX8EUffhfbT1OS9RMT2rFXja3EJZ1xL0HBBH0i0JChMhW7+la+qJO p5XGs0TOaKsMQ== Subject: Re: R: [PATCH v3 08/11] devicetree: bindings: pci: document PARF params bindings To: Rob Herring , ansuelsmth@gmail.com Cc: 'Bjorn Andersson' , 'Andy Gross' , 'Bjorn Helgaas' , 'Mark Rutland' , 'Lorenzo Pieralisi' , 'Andrew Murray' , 'Philipp Zabel' , linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20200430220619.3169-1-ansuelsmth@gmail.com> <20200430220619.3169-9-ansuelsmth@gmail.com> <20200507181044.GA15159@bogus> <062301d624a6$8be610d0$a3b23270$@gmail.com> <20200512154544.GA823@bogus> From: Stanimir Varbanov Message-ID: <99f42001-0f41-5e63-f6ad-2e744ec86d36@mm-sol.com> Date: Wed, 13 May 2020 14:43:20 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <20200512154544.GA823@bogus> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/12/20 6:45 PM, Rob Herring wrote: > On Thu, May 07, 2020 at 09:34:35PM +0200, ansuelsmth@gmail.com wrote: >>> On Fri, May 01, 2020 at 12:06:15AM +0200, Ansuel Smith wrote: >>>> It is now supported the editing of Tx De-Emphasis, Tx Swing and >>>> Rx equalization params on ipq8064. Document this new optional params. >>>> >>>> Signed-off-by: Ansuel Smith >>>> --- >>>> .../devicetree/bindings/pci/qcom,pcie.txt | 36 +++++++++++++++++++ >>>> 1 file changed, 36 insertions(+) >>>> >>>> diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie.txt >>> b/Documentation/devicetree/bindings/pci/qcom,pcie.txt >>>> index 6efcef040741..8cc5aea8a1da 100644 >>>> --- a/Documentation/devicetree/bindings/pci/qcom,pcie.txt >>>> +++ b/Documentation/devicetree/bindings/pci/qcom,pcie.txt >>>> @@ -254,6 +254,42 @@ >>>> - "perst-gpios" PCIe endpoint reset signal line >>>> - "wake-gpios" PCIe endpoint wake signal line >>>> >>>> +- qcom,tx-deemph-gen1: >>>> + Usage: optional (available for ipq/apq8064) >>>> + Value type: >>>> + Definition: Gen1 De-emphasis value. >>>> + For ipq806x should be set to 24. >>> >>> Unless these need to be tuned per board, then the compatible string for >>> ipq806x should imply all these settings. >>> >> >> It was requested by v2 to make this settings tunable. These don't change are >> all the same for every ipq806x SoC. The original implementation had this >> value hardcoded for ipq806x. Should I restore this and drop this patch? > > Yes, please. I still think that the values for tx deemph and tx swing should be tunable. But I can live with them in the driver if they not break support for apq8064. The default values in the registers for apq8064 and ipq806x are: default your change TX_DEEMPH_GEN1 21 24 TX_DEEMPH_GEN2_3_5DB 21 24 TX_DEEMPH_GEN2_6DB 32 34 TX_SWING_FULL 121 120 TX_SWING_LOW 121 120 So until now (without your change) apq8064 worked with default values. > > Rob > -- regards, Stan