From patchwork Thu Dec 31 12:37:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 11994059 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=-8.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable 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 23577C433E9 for ; Thu, 31 Dec 2020 12:38:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D353622483 for ; Thu, 31 Dec 2020 12:38:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726356AbgLaMiW (ORCPT ); Thu, 31 Dec 2020 07:38:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59072 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726563AbgLaMiW (ORCPT ); Thu, 31 Dec 2020 07:38:22 -0500 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CDC92C061575 for ; Thu, 31 Dec 2020 04:37:41 -0800 (PST) Received: by mail-lf1-x12b.google.com with SMTP id o19so43876847lfo.1 for ; Thu, 31 Dec 2020 04:37:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=FRvyjzrInJpr3JKYBPCGmHtSIznRuodhBrrQbM80/4I=; b=VmmjIU5Ul+tMl2tDQKoP+sb1H0ZpnytOlddmTpnhtAbZjE8gaQU4t/IeRTRMZ5TLsZ PakilYaLK2ZLnFKkF65UcE22481MPO6enwqz/C+rjTWahfokwrjbxBe+16GSneEEGDHZ /MSQJ0ol2LX/Sdh+WY6m99mCM6IFdv0AB3He+8/Jvctbee1u0OVLDlWFhEa4Y4sJBTTC Kb+yZJq0XcSPgh8qK0UCnUvft1i6bU60GLdfkY1HNfGBGvjFk1mJr9pMAJgOqiEBZ97U tQL+DTuAXiu4aPdSQsQs1aZeSzbmSMOnveg4lU8NHjz74nte75/e8GRaKoqeN22rvmts v6EA== 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:mime-version :content-transfer-encoding; bh=FRvyjzrInJpr3JKYBPCGmHtSIznRuodhBrrQbM80/4I=; b=MFfxwK9EdK3VHokGJ6PAsPL+ykyXi4JfFv60Pd4HjMdX32Wdu+eW6ZKHsZtBxxs5+s v4NZyefsM/bg/9NPJaocSkavO8mSC+f0mPaHdOCCau9tgYMEAdxvqFFXDK5T+rn67LQX G6ErIkcwj6rU5dhITMvF/HyLwyRGGbp54hr0XZO/WE9Pa6Q1FhE0W+r2GTn/1xRs8ddE tAUQDMOl+ya+d78sXooxeAQrMmZ8GQUJIz75SVAoDgtbdcfzY0r3T9AFhzO1uaKQKWFb PpJOLNQrQXhlukRNo3WvEQqEQdnP/++7CwZZUaziTOCygil7jbPblYf2eJrlBywSM5Pl 0CZw== X-Gm-Message-State: AOAM5330ouR4teRGvwhj2cvpWE/vOaWazfvDumC4F8i7wlCXOdbVFc9u m3HuVXoJXtQIhXBzTFwvt9aJLQ== X-Google-Smtp-Source: ABdhPJwZfUAXME/RWsxQic66C4+o11KELhLx7q5JEgO0B4MxXcmjdKKLZxArx/G0ndiU0iRoGzpakA== X-Received: by 2002:a05:651c:c1:: with SMTP id 1mr29848841ljr.124.1609418260317; Thu, 31 Dec 2020 04:37:40 -0800 (PST) Received: from eriador.lumag.spb.ru ([94.25.228.115]) by smtp.gmail.com with ESMTPSA id o11sm6228624lfi.267.2020.12.31.04.37.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 31 Dec 2020 04:37:39 -0800 (PST) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Rob Herring , Lorenzo Pieralisi Cc: linux-arm-msm@vger.kernel.org, Manivannan Sadhasivam , linux-pci@vger.kernel.org Subject: [PATCH v3 0/2] PCI: qcom: fix PCIe support on sm8250 Date: Thu, 31 Dec 2020 15:37:29 +0300 Message-Id: <20201231123731.651908-1-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org Some sm8250 platforms require additional clock to be enabled for PCIe to function. In case it is disabled, PCIe access will result in IOMMU timeouts. Add device tree binding and driver support for this clock. Changes since v2: - Split this clock handling from qcom_pcie_get_resources_2_7_0() - Change comment to point that the clock is required rather than optional Changes since v1: - Added Fixes: tags, as respective patches have hit the upstream Linux tree.