From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8583BC4332F for ; Fri, 21 Oct 2022 11:19:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230243AbiJULTu (ORCPT ); Fri, 21 Oct 2022 07:19:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52942 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230133AbiJULTr (ORCPT ); Fri, 21 Oct 2022 07:19:47 -0400 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BDEE6537FE for ; Fri, 21 Oct 2022 04:19:44 -0700 (PDT) Received: by mail-lf1-x132.google.com with SMTP id bu25so4575285lfb.3 for ; Fri, 21 Oct 2022 04:19:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Ry8J3AzsAYcOp8SmDfnbNUXitGgoYOKaYRQ6uRWnRWU=; b=daE365yCa1g3YT3Ogsc/0phvnpY7BrOOzncWnQ3sfLuU0gpU2cH1cbumKwuTfm12j+ nhkXFut2118tOsAdLXDvjf8sDSNV9p2u9bm/0f9JTNkW9RR3AgB1JXoQrUxUF5okjfwl nlmc7nRkMhb8IcQq9Tp8YXHh2wFFRdj0E4MEE22MFVK4iHWKtZmGMwGiv9aztYevI3Ik y/ECRXjNKpNAAObiSLxryE2yGNyV1A8Q8QUbtTLHpgxLiyjz2Pg9WDNu7b7D87HnZze6 Lel9eKeAAbPws8UExyJh6YIoNl2CIeNOI6hJfr71ChuCnhwEfNp7rg2M9UG84x5QOaKW Yo3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Ry8J3AzsAYcOp8SmDfnbNUXitGgoYOKaYRQ6uRWnRWU=; b=wyniYRJdf1L1emFjn4r+Aszb3IMRdIP9jNwzLvXKHdfYWa3GFysMTo+/KEJJXdSSk2 lIts/dSn2zJDGSvwBfPP8hijKbGMal94lmIOZovjjzZ6qtPNJHiu+l00z2ulN7JU14s6 SJ6ThwQ3c6Wk5E9dpdG2rUoW3AAynGl9xuaX/ORq5MQDaNNv0sd0LybI6fRDan08bxce sekXgJmqMjmLPpVJv8UWBRqQdfyIQfJs1vIXYP30EN10ujcGktajXaXhKkt25VwM3xLd M2YQRhFcNcexICj5/4au1OS7bDNVKtyAM6NbIdbmpp3qHMOZCHPcoyw7xSuEX0e6SHQv xNLg== X-Gm-Message-State: ACrzQf0HaTgSGbxT6nwbQTJ92fj2kAsQ7h/W/pv9LC6jWexSVLiOAWRa g6zlD77+Swhaz+ZURUB7ky7gcw== X-Google-Smtp-Source: AMsMyM4ow9jYgXDgpVjyT18F7PpTAHJgqNxNuwIMrdbae9umBoBzQMLU0ULg0iNON8oQ6+JowOTHQg== X-Received: by 2002:ac2:50da:0:b0:4a2:44dc:b719 with SMTP id h26-20020ac250da000000b004a244dcb719mr6259514lfm.652.1666351183033; Fri, 21 Oct 2022 04:19:43 -0700 (PDT) Received: from [10.27.10.248] ([195.165.23.90]) by smtp.gmail.com with ESMTPSA id f25-20020a19ae19000000b00497aa190523sm3123186lfc.248.2022.10.21.04.19.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 21 Oct 2022 04:19:42 -0700 (PDT) Message-ID: Date: Fri, 21 Oct 2022 14:19:41 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.3 Subject: Re: [PATCH v3 15/15] phy: qcom-qmp-pcie: add support for sc8280xp 4-lane PHYs Content-Language: en-GB To: Johan Hovold , Vinod Koul Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20221021110947.28103-1-johan+linaro@kernel.org> <20221021110947.28103-16-johan+linaro@kernel.org> From: Dmitry Baryshkov In-Reply-To: <20221021110947.28103-16-johan+linaro@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 21/10/2022 14:09, Johan Hovold wrote: > The PCIe2 and PCIe3 controllers and PHYs on SC8280XP can be used in > 4-lane mode or as separate controllers and PHYs in 2-lane mode (e.g. as > PCIe2A and PCIe2B). > > Add support for fetching the 4-lane configuration from the TCSR and > programming the lane registers of the second port when in 4-lane mode. > > Signed-off-by: Johan Hovold > --- > drivers/phy/qualcomm/Kconfig | 1 + > drivers/phy/qualcomm/phy-qcom-qmp-pcie.c | 117 +++++++++++++++++++++++ > 2 files changed, 118 insertions(+) Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry