All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Arnd Bergmann" <arnd@arndb.de>
To: "Dmitry Baryshkov" <dbaryshkov@gmail.com>
Cc: "Richard Purdie" <richard.purdie@linuxfoundation.org>,
	"Arnd Bergmann" <arnd@kernel.org>,
	"Robert Jarzmik" <robert.jarzmik@free.fr>,
	"Daniel Mack" <daniel@zonque.org>,
	"Haojian Zhuang" <haojian.zhuang@gmail.com>,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, "Ales Bardorfer" <ales@i-tech.si>,
	"Ales Snuparek" <snuparek@atlas.cz>,
	"Alex Osborne" <ato@meshy.org>,
	"Alex Osborne" <bobofdoom@gmail.com>,
	"Dirk Opfer" <dirk@opfer-online.de>, "Ian Molton" <spyro@f2s.com>,
	"Lennert Buytenhek" <kernel@wantstofly.org>,
	"Marek Vasut" <marek.vasut@gmail.com>,
	"Michael Petchkovsky" <mkpetch@internode.on.net>,
	"Nick Bane" <nick@cecomputing.co.uk>,
	"Paul Parsons" <lost.distance@yahoo.com>,
	"Philipp Zabel" <philipp.zabel@gmail.com>,
	"Sergey Lapin" <slapin@ossfans.org>,
	"Tomas Cech" <sleep_walker@suse.cz>,
	"Linus Walleij" <linusw@kernel.org>,
	"Marc Zyngier" <maz@kernel.org>
Subject: Re: [PATCH 01/27] ARM: pxa: remove unused board files
Date: Sun, 08 Jan 2023 22:05:14 +0100	[thread overview]
Message-ID: <7a57b319-a774-4f97-af06-fe1a637a45ce@app.fastmail.com> (raw)
In-Reply-To: <CALT56yN9aBn+s5rFB1yBdhGtYa6t=c0JeNmy0T=ckh3bNPgh2Q@mail.gmail.com>

On Fri, Jan 6, 2023, at 11:06, Dmitry Baryshkov wrote:
> пт, 6 янв. 2023 г. в 11:47, Arnd Bergmann <arnd@arndb.de>:
>> > 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.

> 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.

     Arnd

WARNING: multiple messages have this Message-ID (diff)
From: "Arnd Bergmann" <arnd@arndb.de>
To: "Dmitry Baryshkov" <dbaryshkov@gmail.com>
Cc: "Richard Purdie" <richard.purdie@linuxfoundation.org>,
	"Arnd Bergmann" <arnd@kernel.org>,
	"Robert Jarzmik" <robert.jarzmik@free.fr>,
	"Daniel Mack" <daniel@zonque.org>,
	"Haojian Zhuang" <haojian.zhuang@gmail.com>,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, "Ales Bardorfer" <ales@i-tech.si>,
	"Ales Snuparek" <snuparek@atlas.cz>,
	"Alex Osborne" <ato@meshy.org>,
	"Alex Osborne" <bobofdoom@gmail.com>,
	"Dirk Opfer" <dirk@opfer-online.de>, "Ian Molton" <spyro@f2s.com>,
	"Lennert Buytenhek" <kernel@wantstofly.org>,
	"Marek Vasut" <marek.vasut@gmail.com>,
	"Michael Petchkovsky" <mkpetch@internode.on.net>,
	"Nick Bane" <nick@cecomputing.co.uk>,
	"Paul Parsons" <lost.distance@yahoo.com>,
	"Philipp Zabel" <philipp.zabel@gmail.com>,
	"Sergey Lapin" <slapin@ossfans.org>,
	"Tomas Cech" <sleep_walker@suse.cz>,
	"Linus Walleij" <linusw@kernel.org>,
	"Marc Zyngier" <maz@kernel.org>
Subject: Re: [PATCH 01/27] ARM: pxa: remove unused board files
Date: Sun, 08 Jan 2023 22:05:14 +0100	[thread overview]
Message-ID: <7a57b319-a774-4f97-af06-fe1a637a45ce@app.fastmail.com> (raw)
In-Reply-To: <CALT56yN9aBn+s5rFB1yBdhGtYa6t=c0JeNmy0T=ckh3bNPgh2Q@mail.gmail.com>

On Fri, Jan 6, 2023, at 11:06, Dmitry Baryshkov wrote:
> пт, 6 янв. 2023 г. в 11:47, Arnd Bergmann <arnd@arndb.de>:
>> > 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.

> 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.

     Arnd

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2023-01-08 21:06 UTC|newest]

Thread overview: 158+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-05 13:45 [PATCH v2 00/27] ARM: pxa: remove all unused boards&drivers Arnd Bergmann
2023-01-05 13:45 ` Arnd Bergmann
2023-01-05 13:45 ` Arnd Bergmann
2023-01-05 13:45 ` [PATCH 01/27] ARM: pxa: remove unused board files Arnd Bergmann
2023-01-05 13:45   ` Arnd Bergmann
2023-01-05 15:50   ` Dmitry Baryshkov
2023-01-05 15:50     ` Dmitry Baryshkov
2023-01-05 17:05     ` Richard Purdie
2023-01-05 17:05       ` Richard Purdie
2023-01-05 22:16       ` Arnd Bergmann
2023-01-05 22:16         ` Arnd Bergmann
2023-01-05 22:45         ` Richard Purdie
2023-01-05 22:45           ` Richard Purdie
2023-01-06  9:47           ` Arnd Bergmann
2023-01-06  9:47             ` Arnd Bergmann
2023-01-06 10:06             ` Dmitry Baryshkov
2023-01-06 10:06               ` Dmitry Baryshkov
2023-01-08  9:06               ` Robert Jarzmik
2023-01-08  9:06                 ` Robert Jarzmik
2023-01-08 20:36               ` Linus Walleij
2023-01-08 20:36                 ` Linus Walleij
2023-01-08 21:05               ` Arnd Bergmann [this message]
2023-01-08 21:05                 ` Arnd Bergmann
2023-01-08 21:12                 ` Dmitry Baryshkov
2023-01-08 21:12                   ` Dmitry Baryshkov
2023-01-08 21:20                   ` Arnd Bergmann
2023-01-08 21:20                     ` Arnd Bergmann
2023-01-05 13:45 ` [PATCH 02/27] ARM: pxa: remove irda leftover Arnd Bergmann
2023-01-05 13:45   ` Arnd Bergmann
2023-01-05 13:45 ` [PATCH 03/27] ARM: pxa: remove unused pxa3xx-ulpi Arnd Bergmann
2023-01-05 13:45   ` Arnd Bergmann
2023-01-05 14:55   ` Greg Kroah-Hartman
2023-01-05 14:55     ` Greg Kroah-Hartman
2023-01-05 13:45 ` [PATCH 04/27] ARM: pxa: drop pxa310/pxa320/pxa93x support Arnd Bergmann
2023-01-05 13:45   ` Arnd Bergmann
2023-01-05 14:59   ` Ulf Hansson
2023-01-05 14:59     ` Ulf Hansson
2023-01-06  2:19   ` Viresh Kumar
2023-01-06  2:19     ` Viresh Kumar
2023-01-08  8:49   ` Robert Jarzmik
2023-01-08  8:49     ` Robert Jarzmik
2023-01-08 13:40     ` Arnd Bergmann
2023-01-08 13:40       ` Arnd Bergmann
2023-01-09 14:18       ` Arnd Bergmann
2023-01-09 14:18         ` Arnd Bergmann
2023-01-12 17:37       ` Robert Jarzmik
2023-01-12 17:37         ` Robert Jarzmik
2023-01-05 13:46 ` [PATCH 05/27] ARM: pxa: prune unused device support Arnd Bergmann
2023-01-05 13:46   ` Arnd Bergmann
2023-01-05 13:46 ` [PATCH 06/27] power: remove z2_battery driver Arnd Bergmann
2023-01-05 13:46   ` Arnd Bergmann
2023-01-05 16:35   ` Sebastian Reichel
2023-01-05 16:35     ` Sebastian Reichel
2023-01-05 13:46 ` [PATCH 07/27] power: remove tosa_battery driver Arnd Bergmann
2023-01-05 13:46   ` Arnd Bergmann
2023-01-05 16:42   ` Sebastian Reichel
2023-01-05 16:42     ` Sebastian Reichel
2023-01-05 17:16     ` Arnd Bergmann
2023-01-05 17:16       ` Arnd Bergmann
2023-01-05 13:46 ` [PATCH 08/27] ata: remove palmld pata driver Arnd Bergmann
2023-01-05 13:46   ` Arnd Bergmann
2023-01-06  6:25   ` Damien Le Moal
2023-01-06  6:25     ` Damien Le Moal
2023-01-11 17:37   ` Sergey Shtylyov
2023-01-11 17:37     ` Sergey Shtylyov
2023-01-05 13:46 ` [PATCH 09/27] backlight: remove pxa tosa support Arnd Bergmann
2023-01-05 13:46   ` Arnd Bergmann
2023-01-05 14:23   ` Daniel Thompson
2023-01-05 14:23     ` Daniel Thompson
2023-01-20 14:00   ` Lee Jones
2023-01-20 14:00     ` Lee Jones
2023-01-05 13:46 ` [PATCH 10/27] input: remove pxa930_trkball driver Arnd Bergmann
2023-01-05 13:46   ` Arnd Bergmann
2023-01-05 13:46 ` [PATCH 11/27] input: remove pxa930_rotary keyboard driver Arnd Bergmann
2023-01-05 13:46   ` Arnd Bergmann
2023-01-05 13:46 ` [PATCH 12/27] input: remove zylonite touchscreen driver Arnd Bergmann
2023-01-05 13:46   ` Arnd Bergmann
2023-01-05 13:46 ` [PATCH 13/27] pcmcia: remove unused pxa/sa1100 drivers Arnd Bergmann
2023-01-05 13:46   ` Arnd Bergmann
2023-01-05 13:46 ` [PATCH 14/27] ASoC: PXA: make SND_PXA2XX_SOC_AC97 user-selectable Arnd Bergmann
2023-01-05 13:46   ` Arnd Bergmann
2023-01-05 13:46   ` Arnd Bergmann
2023-01-05 13:46 ` [PATCH 15/27] ASoC: pxa: remove unused board support Arnd Bergmann
2023-01-05 13:46   ` Arnd Bergmann
2023-01-05 13:46   ` Arnd Bergmann
2023-01-10 13:58   ` Mark Brown
2023-01-10 13:58     ` Mark Brown
2023-01-10 13:58     ` Mark Brown
2023-01-05 13:46 ` [PATCH 16/27] power: remove pda_power supply driver Arnd Bergmann
2023-01-05 13:46   ` Arnd Bergmann
2023-01-05 16:39   ` Sebastian Reichel
2023-01-05 16:39     ` Sebastian Reichel
2023-01-05 13:46 ` [PATCH 17/27] rtc: remove v3020 driver Arnd Bergmann
2023-01-05 13:46   ` Arnd Bergmann
2023-01-05 13:46 ` [PATCH 18/27] mfd: remove toshiba tmio drivers Arnd Bergmann
2023-01-05 13:46   ` Arnd Bergmann
2023-01-20 14:55   ` Lee Jones
2023-01-20 14:55     ` Lee Jones
2023-01-05 13:46 ` [PATCH 19/27] mfd: remove ucb1400 support Arnd Bergmann
2023-01-05 13:46   ` Arnd Bergmann
2023-01-05 13:46   ` Arnd Bergmann
2023-01-20 14:18   ` Lee Jones
2023-01-20 14:18     ` Lee Jones
2023-01-20 14:18     ` Lee Jones
2023-01-20 14:27     ` Arnd Bergmann
2023-01-20 14:27       ` Arnd Bergmann
2023-01-20 14:27       ` Arnd Bergmann
2023-01-20 14:57       ` Lee Jones
2023-01-20 14:57         ` Lee Jones
2023-01-20 14:57         ` Lee Jones
2023-01-05 13:46 ` [PATCH 20/27] mtd: remove tmio_nand driver Arnd Bergmann
2023-01-05 13:46   ` Arnd Bergmann
2023-01-05 13:46   ` Arnd Bergmann
2023-01-07 15:41   ` Miquel Raynal
2023-01-07 15:41     ` Miquel Raynal
2023-01-07 15:41     ` Miquel Raynal
2023-01-05 13:46 ` [PATCH 21/27] mmc: remove tmio_mmc driver Arnd Bergmann
2023-01-05 13:46   ` Arnd Bergmann
2023-01-05 15:01   ` Ulf Hansson
2023-01-05 15:01     ` Ulf Hansson
2023-01-05 15:44     ` Arnd Bergmann
2023-01-05 15:44       ` Arnd Bergmann
2023-01-16 10:48       ` Ulf Hansson
2023-01-16 10:48         ` Ulf Hansson
2023-01-05 15:14   ` Wolfram Sang
2023-01-05 15:14     ` Wolfram Sang
2023-01-05 13:46 ` [PATCH 22/27] fbdev: remove tmiofb driver Arnd Bergmann
2023-01-05 13:46   ` Arnd Bergmann
2023-01-05 13:46   ` Arnd Bergmann
2023-01-06  9:47   ` Helge Deller
2023-01-06  9:47     ` Helge Deller
2023-01-06  9:47     ` Helge Deller
2023-01-06 11:25     ` Arnd Bergmann
2023-01-06 11:25       ` Arnd Bergmann
2023-01-06 11:25       ` Arnd Bergmann
2023-01-05 13:46 ` [PATCH 23/27] fbdev: remove w100fb driver Arnd Bergmann
2023-01-05 13:46   ` Arnd Bergmann
2023-01-05 13:46   ` Arnd Bergmann
2023-01-05 13:46 ` [PATCH 24/27] leds: remove asic3 driver Arnd Bergmann
2023-01-05 13:46   ` Arnd Bergmann
2023-01-20 14:02   ` Lee Jones
2023-01-20 14:02     ` Lee Jones
2023-01-05 13:46 ` [PATCH 25/27] usb: remove ohci-tmio driver Arnd Bergmann
2023-01-05 13:46   ` Arnd Bergmann
2023-01-05 14:55   ` Greg Kroah-Hartman
2023-01-05 14:55     ` Greg Kroah-Hartman
2023-01-05 15:03     ` Arnd Bergmann
2023-01-05 15:03       ` Arnd Bergmann
2023-01-05 13:46 ` [PATCH 26/27] w1: remove ds1wm driver Arnd Bergmann
2023-01-05 13:46   ` Arnd Bergmann
2023-01-05 13:46 ` [PATCH 27/27] mfd: remove htc-pasic3 driver Arnd Bergmann
2023-01-05 13:46   ` Arnd Bergmann
2023-01-20 14:09   ` Lee Jones
2023-01-20 14:09     ` Lee Jones
2023-01-12 20:01 ` (subset) [PATCH v2 00/27] ARM: pxa: remove all unused boards&drivers Mark Brown
2023-01-12 20:01   ` Mark Brown
2023-01-12 20:01   ` Mark Brown
2023-01-12 20:01   ` Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7a57b319-a774-4f97-af06-fe1a637a45ce@app.fastmail.com \
    --to=arnd@arndb.de \
    --cc=ales@i-tech.si \
    --cc=arnd@kernel.org \
    --cc=ato@meshy.org \
    --cc=bobofdoom@gmail.com \
    --cc=daniel@zonque.org \
    --cc=dbaryshkov@gmail.com \
    --cc=dirk@opfer-online.de \
    --cc=haojian.zhuang@gmail.com \
    --cc=kernel@wantstofly.org \
    --cc=linusw@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lost.distance@yahoo.com \
    --cc=marek.vasut@gmail.com \
    --cc=maz@kernel.org \
    --cc=mkpetch@internode.on.net \
    --cc=nick@cecomputing.co.uk \
    --cc=philipp.zabel@gmail.com \
    --cc=richard.purdie@linuxfoundation.org \
    --cc=robert.jarzmik@free.fr \
    --cc=slapin@ossfans.org \
    --cc=sleep_walker@suse.cz \
    --cc=snuparek@atlas.cz \
    --cc=spyro@f2s.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.