Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp1994446rwo; Thu, 3 Aug 2023 03:11:19 -0700 (PDT) X-Google-Smtp-Source: APBJJlHusS9kx3LVut5R37kruaWFVo2jIhX+FfdEEuRxrVgwSC1O/mdX2nH6Yx9uSVvaww62eXab X-Received: by 2002:a05:6870:14c7:b0:177:ad57:cb36 with SMTP id l7-20020a05687014c700b00177ad57cb36mr21328603oab.27.1691057478703; Thu, 03 Aug 2023 03:11:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691057478; cv=none; d=google.com; s=arc-20160816; b=LO2lH1SBaroqSTISsj1f0njXro4A2SUtVXaJ8aBgbiCvDOmksdKj2CNQEAjoyfhgUy niMY6Ux2oeR2FhPGk36qzfHJUxy4NReBPLiZivwSqbeApsWlTDOCXi+qzdBQu5paFI7o +GrWVpa2XOzW7Nx9sr/djkQdPYLvoDv8X+AK96slwlD6ODFoNnPkchuq61XLSMgGdQAM R7AXwr3WESdr2huOA4G5p+K1h9uHUSrNChowLFS8ZEEnFQmROJNixLiQnx6GSCWkk8Iu w/chAY+cxdknXcraX8NI3QdGLfIMCJpOBju1knTj3DZD0T1NxX1rYrbFUx8lfVfY6o7u oT5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id; bh=8Li+KBOqJ9Z82lfKrmfOL0b5cKUGvPLuBJptdbhnPzM=; fh=JXSFajZbQmPKwloUPuFVhRIo0McH9dIgr9ui2nOeU5U=; b=ep5S9hJjsODudUoI8BypvEUMmF+R4PVKMtG2Wt1LuOMkyJH8XN7wZ0f+q03O8C7Ts1 qVLGX6A5Usa9TAtrnuLJjv0EmIFHcSsJhB7c4Jd0C0QTUcOnyZ0zh16VkYv3SGNeEmjn z7YzwSfV6vwl/9tsdsMxtALumHEAmc6FzBKZz10kCTNhbDK/jD1/YqsBh8yV5m2J9WSa x8Bfji7lU7x0rzfqtVaWIuWx4gcyrEZXj2V2ttF/CEYPkfD4tuvaNjS360eHYXdvkOux CsdQ1H4PagXiJP9gDQjRyJna5fnMpw9TSYhS900h0/pc/ZcWRoLSFrIyRL7YyR7mChC9 09OQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w2-20020a17090a4f4200b00262e650abadsi2704764pjl.117.2023.08.03.03.11.06; Thu, 03 Aug 2023 03:11:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235181AbjHCJhU convert rfc822-to-8bit (ORCPT + 99 others); Thu, 3 Aug 2023 05:37:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34036 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235174AbjHCJg1 (ORCPT ); Thu, 3 Aug 2023 05:36:27 -0400 Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 96CC335A1; Thu, 3 Aug 2023 02:36:26 -0700 (PDT) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.95) with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (envelope-from ) id 1qRUkq-001sGb-08; Thu, 03 Aug 2023 11:36:24 +0200 Received: from p57bd9cac.dip0.t-ipconnect.de ([87.189.156.172] helo=suse-laptop.fritz.box) by inpost2.zedat.fu-berlin.de (Exim 4.95) with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (envelope-from ) id 1qRUkp-00321y-Ow; Thu, 03 Aug 2023 11:36:23 +0200 Message-ID: <13c836b31909f2eb64dcf2a5feb22c2a3173bba2.camel@physik.fu-berlin.de> Subject: Re: [PATCH 3/4] sh: remove superhyway bus support From: John Paul Adrian Glaubitz To: Arnd Bergmann , "D. Jeff Dionne" Cc: linux-sh@vger.kernel.org, Rich Felker , Yoshinori Sato , Geert Uytterhoeven , linux-kernel@vger.kernel.org, Arnd Bergmann Date: Thu, 03 Aug 2023 11:36:22 +0200 In-Reply-To: <4a3fae63-cf85-4e18-b785-1a438ec761aa@app.fastmail.com> References: <20230802184849.1019466-3-arnd@kernel.org> <4a3fae63-cf85-4e18-b785-1a438ec761aa@app.fastmail.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT User-Agent: Evolution 3.48.4 MIME-Version: 1.0 X-Original-Sender: glaubitz@physik.fu-berlin.de X-Originating-IP: 87.189.156.172 X-ZEDAT-Hint: PO X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham 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 Hi Arnd! On Thu, 2023-08-03 at 11:19 +0200, Arnd Bergmann wrote: > Applying this first should definitely help with the DT conversion, > especially not having to create a bus specific binding for superhyway > would help, as converting that to DT would be a complete rewrite > but also be untestable without drivers attaching to the bus. OK, we'll discuss this on the #linux-sh IRC channel and if no one objects, I'm going to apply the series. > I would also recommend trying to eliminate most of the SoC > support for chips that only support a reference board but no > products or known user of the reference board itself. While > a lot of the conversion could be done fairly mechanical, at > least the clk driver for each chip is a huge effort. It depends on what Yoshinori plans for the device tree conversion. The latest version of his series was posted here [1]. But he promised to send a rebased and updated version soon. > I looked at the clk conversion in the past, as this is not just > needed for the DT work, but also to remove CONFIG_HAVE_LEGACY_CLK. > The patch series I did a while ago renames the sh clk interfaces > to no longer conflict with COMMON_CLK, which should allow it > to coexist with a DT-enabled platform in the same kernel build. > Let me know if you'd like me to dig out and rebase that series, > it probably still applies and may help you here. Yes, that would be greatly appreciated. Please go ahead. FWIW, I am currently on vacation until August 15th, so I might be a bit slow with open source stuff. I am using the free time to get things done on my TODO list. Adrian > [1] https://lore.kernel.org/all/20180507155543.GJ1392@brightrain.aerifal.cx/t/ -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913