From patchwork Fri Mar 20 18:34:50 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Marangi X-Patchwork-Id: 189896 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 98222C10F29 for ; Fri, 20 Mar 2020 18:35:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 73A0020781 for ; Fri, 20 Mar 2020 18:35:53 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="IvtmddBb" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727527AbgCTSfw (ORCPT ); Fri, 20 Mar 2020 14:35:52 -0400 Received: from mail-ed1-f68.google.com ([209.85.208.68]:36112 "EHLO mail-ed1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727508AbgCTSfZ (ORCPT ); Fri, 20 Mar 2020 14:35:25 -0400 Received: by mail-ed1-f68.google.com with SMTP id b18so8338222edu.3; Fri, 20 Mar 2020 11:35:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=d5Q+JvD546i1L7ti3v3OL3QeW2KwMU10K29j39zfoQo=; b=IvtmddBbqDS/zvg2gGsbe6VcQKjuOzlgmxrRbAinSOgLeRlIJM6xd3WiGtRDKiy3Kr tjjhTHgrjlw2JGOR5IItPneyx7DDyQxzkiMLi9O3jvxJgJACTnEtpkxxC4vnf3YR5kvj R3t7c6WtOvuVOTFi/GuuJTtoyTz5luCRxyt3GIAe6LDBwkCWKgCKsqpM/w3QWD5q81xO QF+mITnhdrUKandtBzat5xgbxMnWMb5O9eyOG/OsYWogpUv6anlCbLEt86Y4x3n9OHIq OjRbmPkwXyuxvhBRTb4ZzS+k6PocjJF2aw8gA/2VQblipJnGicascnbKGTuvZ5G4Izci uCTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=d5Q+JvD546i1L7ti3v3OL3QeW2KwMU10K29j39zfoQo=; b=gVMoi3Hfpl2s8EtaQ97eZSaj5CS/f+PmbUj1DA+vNWZxy47LjEf4tXDIwJ8qAXVxx4 OObcVDgHQfSwrZZB8hHco1T6CRIjgnOaERIMq0jviZcwprmKBU9ScIQ33uBLOSdyj6gU 8wg7z7ceU3G0B0LkvgcNqu6T0ta7T9Yvez/Vud5yhmI19ywUY0bdAcIZnAs9woDyYaxk OqvOzjU3mfDKiLkHkM5viGwlAy56dNgaKYzkKhMus+i6w6NrrC1Z+w5ZvH3I/XnLjkhh E0BX3Dh8Y4E5yJBG16KpAGn9kRje0rndiR4NOJ2aQSc5yxGwNcIttXChTaJGRD1iBRtW d8Ug== X-Gm-Message-State: ANhLgQ2hBTofP/ofm+/s8muAJuaECofwuecYvKv2GMqfHs0EwEiZt8xK cqLwnl/OmYRqNwSR7mEa6eo= X-Google-Smtp-Source: ADFU+vvesVNF75eHLQc3i/fSa0rd93YziTbREy00MG82rlkjGWnqTGXJ4apvXnbDRDbYAtDm+ZKyhw== X-Received: by 2002:a50:cfc6:: with SMTP id i6mr9390937edk.314.1584729323621; Fri, 20 Mar 2020 11:35:23 -0700 (PDT) Received: from Ansuel-XPS.localdomain (host203-232-dynamic.53-79-r.retail.telecomitalia.it. [79.53.232.203]) by smtp.googlemail.com with ESMTPSA id y13sm172916eje.3.2020.03.20.11.35.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Mar 2020 11:35:22 -0700 (PDT) From: Ansuel Smith To: Stanimir Varbanov Cc: Ansuel Smith , Andy Gross , Bjorn Andersson , Bjorn Helgaas , Rob Herring , 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 Subject: [PATCH 08/12] devicetree: bindings: pci: add phy-tx0-term-offset to qcom, pcie Date: Fri, 20 Mar 2020 19:34:50 +0100 Message-Id: <20200320183455.21311-8-ansuelsmth@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200320183455.21311-1-ansuelsmth@gmail.com> References: <20200320183455.21311-1-ansuelsmth@gmail.com> MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Document phy-tx0-term-offset propriety to qcom pcie driver Signed-off-by: Ansuel Smith --- Documentation/devicetree/bindings/pci/qcom,pcie.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie.txt b/Documentation/devicetree/bindings/pci/qcom,pcie.txt index 6efcef040741..8c1d014f37b0 100644 --- a/Documentation/devicetree/bindings/pci/qcom,pcie.txt +++ b/Documentation/devicetree/bindings/pci/qcom,pcie.txt @@ -254,6 +254,12 @@ - "perst-gpios" PCIe endpoint reset signal line - "wake-gpios" PCIe endpoint wake signal line +- phy-tx0-term-offset: + Usage: optional + Value type: + Definition: If not defined is 0. In ipq806x is set to 7. In newer + revision (v2.0) the offset is zero. + * Example for ipq/apq8064 pcie@1b500000 { compatible = "qcom,pcie-apq8064", "qcom,pcie-ipq8064", "snps,dw-pcie"; @@ -293,6 +299,7 @@ reset-names = "axi", "ahb", "por", "pci", "phy", "ext"; pinctrl-0 = <&pcie_pins_default>; pinctrl-names = "default"; + phy-tx0-term-offset = <7>; }; * Example for apq8084