Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1042955iob; Fri, 13 May 2022 20:49:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwwXo/p6DzNTjRkslSoQ5uObfPIM7Jl1ykJzI3a9FeO+KF37qVGlXDquqYKipzyBREpsv91 X-Received: by 2002:adf:f0c6:0:b0:20a:d31b:6 with SMTP id x6-20020adff0c6000000b0020ad31b0006mr6162459wro.162.1652500140052; Fri, 13 May 2022 20:49:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652500140; cv=none; d=google.com; s=arc-20160816; b=u9pO1llBQ3gcL912Db4IcJSB1BVlu/cLd3sJeDeMzl4l3KTma+xN1thpKX5rijRvXf 5Y1X/g2+MQYtVJFIieT/X4HY9hICbsmxMe5SPSjufN+z5sx2beiTPkDebJ/aaK2TZIfG bfbZdNbfDVhOtEZwXnKibhRFAKWp0/Ndv44RPUNbJuewGtbLesfAAvZ/Jm9Yj2aR7qU8 c2Ykh3tXV1s/N6hkn5RQux/gdoFZJnDZ2o4LAKjr51Q2Zu3BxHZtB7bkSQlLymaiRuT3 kdeluu4VEo1iBL+F/hdsRtFNBT5CRE3JXa0E5apf6aRLznJiXQyLar2VbTtJG6W9XANu B03w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=xtl42tJGJQcUUZDrUy9vvNDWPlGhgxFeFV6ayMpws/I=; b=vqp4saJEIkjudfOe5iOHUziUGWqoLkWVuptxT/Ec4c+ITHKcwNwg/miY5boA2KcpTB A5zbDjTUkZXKIJKx3pnibvq1HpJrAy+EyufocIKYvtBi4VUsbBTn2eGl0mcvFVc2QPbq 2a8LTpztHFkMB6BXal38fT8gEkiY4RqO7QczABW3SHFy7zT+/QXKAr78oqzGjj/K2xCs Qb2HufLICv3LWCkxlWRO/zGgl6CZqmvPvuZ1btxDD46WyoCO0/ToG9S1qDTrbFJexRoF bLugIxuQG2oB6VnklySJH5UaUXLkQY5piJbii3TBenPpzopCOsvZSyIJcvAflJOs2CF8 54uA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=UWaO8u2k; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id x6-20020a5d6b46000000b0020ce0117e5fsi3747265wrw.718.2022.05.13.20.48.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 20:49:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=UWaO8u2k; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id EECF647170F; Fri, 13 May 2022 17:22:16 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349581AbiELAMR (ORCPT + 99 others); Wed, 11 May 2022 20:12:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34160 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349565AbiELAMN (ORCPT ); Wed, 11 May 2022 20:12:13 -0400 Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3C70D880FF; Wed, 11 May 2022 17:12:01 -0700 (PDT) Received: by mail-lj1-x234.google.com with SMTP id t25so4549739ljd.6; Wed, 11 May 2022 17:12:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=xtl42tJGJQcUUZDrUy9vvNDWPlGhgxFeFV6ayMpws/I=; b=UWaO8u2kTSmF83F31Mtvbda3aS0g8vjozqO84yBEum0G5CNm/1UGKpzavMVKkh/gsa uaKh5AUtdyGxvZyzj4imQYyGSge+8mN3oxOJwohNIyeM9oSRmjZ/KiP4zXBAbzBdmkeP rbpL7a3wCOClcv8G4Q1ZUuQ6azjWoAY5idAbk2NNbldifNAPXC5tf1lpPKMwgeQgf3yf hUKG+1AKW6xEh/DW7qO1E23nYXm7dUx/aRyeUoWVR0zGKpkDnJqg/i0ekYebCmhf/fWU IlIx8xmW70FT3hx/bJNN/C6LFxIqOIbz+aKNmp9nuvQUFT7xejAlS975FyUk4hLE4flU ko3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=xtl42tJGJQcUUZDrUy9vvNDWPlGhgxFeFV6ayMpws/I=; b=qJtHf5WRPfSX9XqLjfy6Nw3yJvIFC0Ac6dfhQejJNHYVIW2+8bJyTdFbxMDWd22n70 PWvDkTdOf9qr62GXEADdDvo1E+LGTrodT2qPfBPCKIo3ykJ8f9DoASJcX7pLm7WHKVQk WJe1mghjCDw1w5htnZY+fwQrVHksA8+KCzBqqTL2auYE1z0Op6AzjYSHhGvLGIu3FweU z1qTvrfVOVLNbSm2VvQJkahYURmJYKZ/ny9Q3SX9uPyfiTacs+V4UNd8i1EyEOnCTYed gInZLIPoO5EzD8UDyl27+JdQ5/zpLaioqDt7E6Mv1kzW3eSDdt0pOdHvZlDGx5tbK60Q MIIg== X-Gm-Message-State: AOAM530udyG/Q01uSYl/E9JzXyLxxo6HEcfsiqlIokYPJxx9WD68Yanz iRkzwcBZDz09JtTe7cV37Wk= X-Received: by 2002:a05:651c:3c2:b0:24f:b91:fcba with SMTP id f2-20020a05651c03c200b0024f0b91fcbamr18331300ljp.154.1652314319465; Wed, 11 May 2022 17:11:59 -0700 (PDT) Received: from mobilestation ([95.79.189.214]) by smtp.gmail.com with ESMTPSA id bi1-20020a0565120e8100b0047255d211f1sm501528lfb.288.2022.05.11.17.11.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 May 2022 17:11:58 -0700 (PDT) Date: Thu, 12 May 2022 03:11:56 +0300 From: Serge Semin To: Jingoo Han , Gustavo Pimentel , Stephen Boyd , Philipp Zabel , Michael Turquette , Lorenzo Pieralisi , Bjorn Helgaas Cc: Alexey Malahov , Pavel Parkhomenko , Rob Herring , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Bjorn Helgaas , Thomas Bogendoerfer , linux-clk@vger.kernel.org, linux-pci@vger.kernel.org, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 0/4] clk: Baikal-T1 DDR/PCIe resets and some xGMAC fixes Message-ID: <20220512001156.x6kqyhi3vjjpqch6@mobilestation> References: <20220503205722.24755-1-Sergey.Semin@baikalelectronics.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220503205722.24755-1-Sergey.Semin@baikalelectronics.ru> X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 03, 2022 at 11:57:18PM +0300, Serge Semin wrote: > This patchset is an initial one in the series created in the framework > of my Baikal-T1 PCIe/eDMA-related work: > > [1: In-progress v3] clk: Baikal-T1 DDR/PCIe resets and some xGMAC fixes > Link: https://lore.kernel.org/linux-pci/20220330144320.27039-1-Sergey.Semin@baikalelectronics.ru/ > [2: In-progress v1] PCI: dwc: Various fixes and cleanups > Link: https://lore.kernel.org/linux-pci/20220324012524.16784-1-Sergey.Semin@baikalelectronics.ru/ > [3: In-progress v1] PCI: dwc: Add dma-ranges/YAML-schema/Baikal-T1 support > Link: https://lore.kernel.org/linux-pci/20220324013734.18234-1-Sergey.Semin@baikalelectronics.ru/ > [4: In-progress v1] dmaengine: dw-edma: Add RP/EP local DMA controllers support > Link: https://lore.kernel.org/linux-pci/20220324014836.19149-1-Sergey.Semin@baikalelectronics.ru/ > > Since some of the patches in the later patchsets depend on the > modifications introduced here, @Lorenzo could you please merge this series > through your PCIe subsystem repo? After getting all the required ack'es of > course. > > Short summary regarding this patchset. A few more modifications are > introduced here to finally finish the Baikal-T1 CCU unit support up and > prepare the code before adding the Baikal-T1 PCIe/xGMAC support. First of > all it turned out I specified wrong DW xGMAC PTP reference clock divider > in my initial patches. It must be 8, not 10. Secondly I was wrong to add a > joint xGMAC Ref and PTP clock instead of having them separately defined. > The SoC manual describes these clocks as separate fixed clock wrappers. > Finally in order to close the SoC clock/reset support up we need to add > the DDR and PCIe interfaces reset controls support. It's done in two > steps. First I've moved the reset-controls-related code into a dedicated > module. Then the DDR/PCIe reset-control functionality is added. > > Link: https://lore.kernel.org/linux-pci/20220324010905.15589-1-Sergey.Semin@baikalelectronics.ru/ > Changelog v2: > - Resubmit the series with adding @Philipp to the list of the recipients. > > Link: https://lore.kernel.org/linux-pci/20220330144320.27039-1-Sergey.Semin@baikalelectronics.ru/ > Changelog v3: > - Rebased from v5.17 onto v5.18-rc3. > - No comments. Just resend the series. No comments for more than a week. There were no comments in v1 and v2 either. Please at least ack or merge in the series. It would be very appreciated to merge it in through one repo with the rest of the patchsets before the next merge window. @Bjorn, @Lorenzo, @Michael? -Sergey > > Signed-off-by: Serge Semin > Cc: Alexey Malahov > Cc: Pavel Parkhomenko > Cc: Rob Herring > Cc: "Krzysztof WilczyƄski" > Cc: Bjorn Helgaas > Cc: Thomas Bogendoerfer > Cc: linux-clk@vger.kernel.org > Cc: linux-pci@vger.kernel.org > Cc: linux-mips@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > > Serge Semin (4): > clk: baikal-t1: Fix invalid xGMAC PTP clock divider > clk: baikal-t1: Define shared xGMAC ref/ptp clocks parent > clk: baikal-t1: Move reset-controls code into a dedicated module > clk: baikal-t1: Add DDR/PCIe directly controlled resets support > > drivers/clk/baikal-t1/Kconfig | 12 +- > drivers/clk/baikal-t1/Makefile | 1 + > drivers/clk/baikal-t1/ccu-div.c | 1 + > drivers/clk/baikal-t1/ccu-div.h | 6 + > drivers/clk/baikal-t1/ccu-rst.c | 373 ++++++++++++++++++++++++++++ > drivers/clk/baikal-t1/ccu-rst.h | 64 +++++ > drivers/clk/baikal-t1/clk-ccu-div.c | 102 ++------ > include/dt-bindings/reset/bt1-ccu.h | 9 + > 8 files changed, 482 insertions(+), 86 deletions(-) > create mode 100644 drivers/clk/baikal-t1/ccu-rst.c > create mode 100644 drivers/clk/baikal-t1/ccu-rst.h > > -- > 2.35.1 >