Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp5350159rwl; Sun, 8 Jan 2023 13:27:41 -0800 (PST) X-Google-Smtp-Source: AMrXdXugGtP8a8xXkUPCrOgbTL+Rob6dn95ZWcy9/gUPjNTLxUU7vYkJKT8xAB8+O6N09lgFc/Nb X-Received: by 2002:a05:6a00:1a01:b0:580:8d40:cb9d with SMTP id g1-20020a056a001a0100b005808d40cb9dmr74907717pfv.27.1673213261383; Sun, 08 Jan 2023 13:27:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673213261; cv=none; d=google.com; s=arc-20160816; b=h8cZ/7RYi+djKIGnt/4Bz/QYKKFlpIU0gk8TxEI9c/LOudPM9UnQJHMMzP+mLi//im b8nREswwg3B27zJ4u28X9vJd3qfxuePUdIzabIs1S2TvY3tExH94N/driSW3Z6xu79+H 8Bg5jLNl4nzPk7d5pOSIFyuQ0X/aoctE6gm/w9NYX2mA9SG8KzOz+kOVgc5/3g/ig1pi DN2KKf/B9LeSxc1sFTmEzNgSRf80Lqh13SqpCM4rNBu62sxoIRUiPxA/IiAtBH37NPzF 4erjRT8cBBG7FNc9e8mdWLGVI/X4Udm+Sg7bs0bnIlrjEYy6qZXHoo7rQmZZNIs2hm2o kXpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=l1kKJBYwNUCt9hGCKqI4KeCLjdPj9gRmHwnMJ2E9g1g=; b=nDWrpht0TWuokcEsodnoANZD5ZeSjE102Ycx674JjZcAhvfPM/cqkFikUyjdTbVse6 GZGySD0yktPnChR6UHogm5f/w3u7OEQ0myDfio/rLvbaU5pYmxx+trhaR+QaCk7wm/rk zBbZA0XiRdiFmIFz+izemU4XduyYTZVW0EHvWGNCyzEgUZuUwXxfBnBFyU90SS7baWjl 5EpkJc93bXyCIj1j6h9lmMyccBHHpXIrHdV80LJO0HPJpaRm4znSKSYp4ws1KoQPrSZE d/cUGsPapkwHyj0j46Qc+ANj/A5NsgAMPWR7TNFIuwu4s34QJpY2FHyVK7LG0CGHgHW/ aSPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=qAApsNID; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a26-20020aa795ba000000b005808991ba14si8046681pfk.234.2023.01.08.13.27.34; Sun, 08 Jan 2023 13:27:41 -0800 (PST) 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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=qAApsNID; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233278AbjAHVMt (ORCPT + 51 others); Sun, 8 Jan 2023 16:12:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60216 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231410AbjAHVMU (ORCPT ); Sun, 8 Jan 2023 16:12:20 -0500 Received: from mail-ot1-x330.google.com (mail-ot1-x330.google.com [IPv6:2607:f8b0:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CDE09DED3 for ; Sun, 8 Jan 2023 13:12:15 -0800 (PST) Received: by mail-ot1-x330.google.com with SMTP id k44-20020a9d19af000000b00683e176ab01so4163918otk.13 for ; Sun, 08 Jan 2023 13:12:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=l1kKJBYwNUCt9hGCKqI4KeCLjdPj9gRmHwnMJ2E9g1g=; b=qAApsNIDWS6FSUNZDU7BqB1YSIGG77YQ87rZpEcF7vNpMTCF+4gPVg88/ZkZA24h/l RO34JejkpdSUZ8fVC7Ahhm+XsD37GzbJPG7RZIUITTHjQajm6FeUP+twINU8GoqBPzvT KEOdkiEt4hAq/qlk35kjk015U5usJnMQTfL6uysKRAHkB7vCjQHKjpRLAQRSmljEbNHx Ml7QWfp/OMPkNLvXRlrUV/pA4O+YRMttXRC7ywezUBYqUodb7bHlaNKcPBvRG/MwAvbS l3kV+HyK4XlkPu73PuJZTTc62yKXF+axOJoSr6J15sptfGHK5l3AfUsP59UbCRIiWv+O Fh1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=l1kKJBYwNUCt9hGCKqI4KeCLjdPj9gRmHwnMJ2E9g1g=; b=8Gu4loaJ/GZVtjhWB2ymiti1CW1FHPoUR2iwXzGC1iQfvmsUN3NkpdVMJ3kNpkvgXp zQTceNjEoSXqk35ctzjBF7Lov9VGaWf26tgIEzoq3kHSv9TrZmGpyPrZSEfUgJ2nUxPa L7RGq3VD+4pSzEfgT3S0lhsKJyhQKDvxXZkB2a6tTahotGyy3CsLj6YSZC1FgeQbDhcP 9SIKz7DcADFWldDy0HuWVpTD/H/bkiA9r8dcXwbeHm5eDF8w1e3UiYTCQbnLLTDw0muC IZbcXYuZJIArIVTSVbq2/OCZ/irn8Gu40SgK07pTNnv5MXfKYPo5UMPEvVicl9suVXBt MqOg== X-Gm-Message-State: AFqh2krtz948LPz9yeaPKBZZ6nwlz3yRbcb/5UkMzYRdPBC0T7FQ6LMG EMhSgtpyvXo0tuYEEbiXnyKDh64Dl3MMOnTXwROj1PlV X-Received: by 2002:a9d:7843:0:b0:678:1eb4:3406 with SMTP id c3-20020a9d7843000000b006781eb43406mr3901033otm.237.1673212334960; Sun, 08 Jan 2023 13:12:14 -0800 (PST) MIME-Version: 1.0 References: <20230105134622.254560-1-arnd@kernel.org> <20230105134622.254560-2-arnd@kernel.org> <764e558e-0604-4326-a50e-a39578b58612@app.fastmail.com> <8bec242f6f69c87f99309ed5c20e2f0be2b533c7.camel@linuxfoundation.org> <0690759c-8e74-429e-a3f9-c20aaac9c92f@app.fastmail.com> <7a57b319-a774-4f97-af06-fe1a637a45ce@app.fastmail.com> In-Reply-To: <7a57b319-a774-4f97-af06-fe1a637a45ce@app.fastmail.com> From: Dmitry Baryshkov Date: Sun, 8 Jan 2023 23:12:02 +0200 Message-ID: Subject: Re: [PATCH 01/27] ARM: pxa: remove unused board files To: Arnd Bergmann Cc: Richard Purdie , Arnd Bergmann , Robert Jarzmik , Daniel Mack , Haojian Zhuang , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Ales Bardorfer , Ales Snuparek , Alex Osborne , Alex Osborne , Dirk Opfer , Ian Molton , Lennert Buytenhek , Marek Vasut , Michael Petchkovsky , Nick Bane , Paul Parsons , Philipp Zabel , Sergey Lapin , Tomas Cech , Linus Walleij , Marc Zyngier Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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 =D0=B2=D1=81, 8 =D1=8F=D0=BD=D0=B2. 2023 =D0=B3. =D0=B2 23:05, Arnd Bergman= n : > > On Fri, Jan 6, 2023, at 11:06, Dmitry Baryshkov wrote: > > =D0=BF=D1=82, 6 =D1=8F=D0=BD=D0=B2. 2023 =D0=B3. =D0=B2 11:47, Arnd Ber= gmann : > >> > Is there any conversion to DT you can easily point at as an example = of > >> > the kinds of changes needed? > >> > >> Robert Jarzmik and Daniel Mack worked on the conversion of the > >> PXA platform to DT. Daniel contributed the port for Raumfeld, > >> which should be complete, while Robert worked on more driver > >> conversions and mentioned[1] that he had converted additional > >> boards in the past but did not merge it upstream. They > >> can probably point you to whatever is missing. I would expect > >> the generic PXA drivers (spi, mmc, nand, i2c, audio, fb, gpio, > >> keypad) to basically work work a correct DT description, > >> while the machine specific drivers (scoop and pcmcia mainly) > >> will need DT support in the driver. > >> > >> In addition, Linus Walleij and Marc Zyngier have both expressed > >> interest in keeping sa1100 (h3600, collie, assabet, jornada720) > >> alive, but those don't have any DT support yet and require > >> much more work. Also note that while you can now build a kernel > >> that includes support for all little-endian ARMv4T and ARMv5 > >> machines, StrongARM machine still require a separate kernel > >> build. > > > > I looked into converting collie to use DT several years ago. The major > > problem was not in the StrongARM itself , but rather in the locomo > > (platform-specific ASIC) and PCMCIA. Unfortunately I abandoned that > > work ages ago. RMK didn't seem to be very interested, if I remember > > correclty. > > At least locomo and sa1111 are both private to mach-sa1100 > now and no longer shared with pxa, so this should get > a little easier. When I had last looking into cleaning up > sa1100, my impression was that the main work would be converting > most of the drivers to use dynamic resources instead of > hardcoded addresses and interrupts. Looking at locomo again, > my feeling is that this could remain largely unchanged, > as the locomo downstream drivers (led, keyboard, lcd) > are already abstracted enough and locomo itself can > just be an mfd or soc driver. locomo has been used on Sharp Poodle, if I'm not mistaken. And sa1111 is used on the lubbock, one of the crazy devkits. > > > I suspect that the platforms might need to be rebootstrapped from the > > ground up. This sounds like a fun project for the next Connect demo :D > > > > BTW: collie is also supported by the qemu (in fact at some point I > > mostly used qemu for debugging collie). I don't think that the LCD > > emulation works, but the rest should be mostly good. > > Good to know about the LCD. The qemu support was clearly a > strong reason for keeping this machine vs the others. sa1100 LCD controller was significantly different and it used some special format for the buffers, so I just skipped it at that point. > > Arnd --=20 With best wishes Dmitry