mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Antony Pavlov <antonynpavlov@gmail.com>
To: Sascha Hauer <s.hauer@pengutronix.de>
Cc: barebox@lists.infradead.org, Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: Re: [RFC 0/4] Run barebox on sc6531e-based feature phone
Date: Wed, 5 Jul 2023 12:37:27 +0300	[thread overview]
Message-ID: <20230705123727.a70825cc4fb03f0c92511257@gmail.com> (raw)
In-Reply-To: <20230704120356.GD18491@pengutronix.de>

On Tue, 4 Jul 2023 14:03:56 +0200
Sascha Hauer <s.hauer@pengutronix.de> wrote:

> Hi Antony,
> 
> This has stayed unanswered for some time.
> 
> I am not sure what I should do with it. In the current form I think it's
> a bit too basic to be useful. Maybe we can add it once the LCD and
> Keypad driver is ready?

It's just RFC. With LCD and keypad support SC6531E barebox port will be a nice
demo for barebox presentation and can be added to mainline repo.

There are some ready-to-use SC6531E drivers in the https://github.com/strongtz/linux-sprd repo.
LCD display is connected via SPI so drivers/spi/spi-sprd.c can be used,
also we need backlight driver.
Keypad is supported by drivers/input/keyboard/sprd_keypad.c.


> Sascha
> 
> On Sat, Jun 10, 2023 at 01:32:16PM +0300, Antony Pavlov wrote:
> > This patch series adds initial support for SC6531E chip.
> > 
> > SC6431E chip is specially designed solution for creating
> > feature phones. It contains
> > 
> >   * ARM926EJ-S core (up to 208 MHz)
> >   * embedded PSRAM
> >   * peripherals: USB, SPI, UART, IIS, PCM, I2C, keypad, LCD
> >   * SIM card and GSM/GPRS/FM/BT stuff
> > 
> > This work is based on FPDoom, see [1], [2], [3] for details.
> > 
> > At the moment only timer and debug_ll output via USB
> > are supported.
> > 
> > After adding lcd and keypad driver running bareDOOM [4]
> > on SC6531E will be possible.
> > 
> >   [1] https://github.com/ilyakurdyukov/fpdoom
> >   [2] https://habr.com/ru/articles/706766/
> >   [3] https://www.youtube.com/watch?v=tln_Iace1O8
> >   [4] https://github.com/a3f/bareDOOM
> > 
> > Antony Pavlov (4):
> >   clocksource: add sc6531e driver
> >   ARM: add sc6531e and F+ Ezzy 4 phone support
> >   sc6531e: add debug_ll support
> >   Documentation: add sc6531e instructions
> > 
> >  Documentation/boards/sc6531e.rst          | 187 +++++++++
> >  arch/arm/Kconfig                          |  10 +
> >  arch/arm/Makefile                         |   1 +
> >  arch/arm/boards/Makefile                  |   1 +
> >  arch/arm/boards/ezzy-4/Makefile           |   6 +
> >  arch/arm/boards/ezzy-4/env/init/automount |  27 ++
> >  arch/arm/boards/ezzy-4/lowlevel.c         |  19 +
> >  arch/arm/boards/ezzy-4/usbio.c            | 449 ++++++++++++++++++++++
> >  arch/arm/configs/ezzy-4_defconfig         |  49 +++
> >  arch/arm/cpu/uncompress.c                 |   7 +
> >  arch/arm/dts/Makefile                     |   1 +
> >  arch/arm/dts/ezzy-4.dts                   |  22 ++
> >  arch/arm/include/asm/debug_ll.h           |   2 +
> >  arch/arm/mach-sc6531e/Kconfig             |  17 +
> >  arch/arm/mach-sc6531e/Makefile            |   3 +
> >  drivers/clocksource/Makefile              |   1 +
> >  drivers/clocksource/timer-sc6531e.c       |  70 ++++
> >  include/mach/sc6531e/debug_ll.h           |  17 +
> >  18 files changed, 889 insertions(+)
> >  create mode 100644 Documentation/boards/sc6531e.rst
> >  create mode 100644 arch/arm/boards/ezzy-4/Makefile
> >  create mode 100644 arch/arm/boards/ezzy-4/env/init/automount
> >  create mode 100644 arch/arm/boards/ezzy-4/lowlevel.c
> >  create mode 100644 arch/arm/boards/ezzy-4/usbio.c
> >  create mode 100644 arch/arm/configs/ezzy-4_defconfig
> >  create mode 100644 arch/arm/dts/ezzy-4.dts
> >  create mode 100644 arch/arm/mach-sc6531e/Kconfig
> >  create mode 100644 arch/arm/mach-sc6531e/Makefile
> >  create mode 100644 drivers/clocksource/timer-sc6531e.c
> >  create mode 100644 include/mach/sc6531e/debug_ll.h
> > 
> > -- 
> > 2.39.0
> > 
> > 
> 
> -- 
> Pengutronix e.K.                           |                             |
> Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
> 31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
> Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |


-- 
Best regards,
  Antony Pavlov



      reply	other threads:[~2023-07-05  9:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-10 10:32 Antony Pavlov
2023-06-10 10:32 ` [RFC 1/4] clocksource: add sc6531e driver Antony Pavlov
2023-06-10 10:32 ` [RFC 2/4] ARM: add sc6531e and F+ Ezzy 4 phone support Antony Pavlov
2023-06-10 10:32 ` [RFC 3/4] sc6531e: add debug_ll support Antony Pavlov
2023-06-10 10:32 ` [RFC 4/4] Documentation: add sc6531e instructions Antony Pavlov
2023-07-04 12:03 ` [RFC 0/4] Run barebox on sc6531e-based feature phone Sascha Hauer
2023-07-05  9:37   ` Antony Pavlov [this message]

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=20230705123727.a70825cc4fb03f0c92511257@gmail.com \
    --to=antonynpavlov@gmail.com \
    --cc=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=s.hauer@pengutronix.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox