All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lee Jones <lee@kernel.org>
To: chengwei <foxfly.lai.tw@gmail.com>
Cc: pavel@ucw.cz, linux-kernel@vger.kernel.org,
	linux-leds@vger.kernel.org, GaryWang@aaeon.com.tw,
	musa.lin@yunjingtech.com, jack.chang@yunjingtech.com,
	chengwei <larry.lai@yunjingtech.com>,
	Javier Arteaga <javier@emutex.com>,
	Nicola Lunghi <nicola.lunghi@emutex.com>
Subject: Re: [PATCH] mfd: Add support for UP board CPLD/FPGA
Date: Mon, 3 Oct 2022 08:39:42 +0100	[thread overview]
Message-ID: <YzqRvsfsREslOuW2@google.com> (raw)
In-Reply-To: <20221001090547.24899-1-larry.lai@yunjingtech.com>

On Sat, 01 Oct 2022, chengwei wrote:

> The UP Squared board <http://www.upboard.com> implements certain
> features (pin control, onboard LEDs or CEC) through an on-board FPGA.
> 
> This mfd driver implements the line protocol to read and write registers
> from the FPGA through regmap. The register address map is also included.
> 
> The UP boards come with a few FPGA-controlled onboard LEDs:
> * UP Board: yellow, green, red
> * UP Squared: blue, yellow, green, red
> 
> The UP Boards provide a few I/O pin headers (for both GPIO and
> functions), including a 40-pin Raspberry Pi compatible header.
> 
> This patch implements support for the FPGA-based pin controller that
> manages direction and enable state for those header pins.
> 
> Partial support UP boards:
> * UP core + CREX
> * UP core + CRST02
> 
> Signed-off-by: Javier Arteaga <javier@emutex.com>
> [merge various fixes]
> Signed-off-by: Nicola Lunghi <nicola.lunghi@emutex.com>
> Signed-off-by: chengwei <larry.lai@yunjingtech.com>
> ---
>  drivers/leds/Kconfig             |  10 +
>  drivers/leds/Makefile            |   1 +
>  drivers/leds/leds-upboard.c      |  90 ++++++
>  drivers/mfd/Kconfig              |   9 +
>  drivers/mfd/Makefile             |   1 +
>  drivers/mfd/upboard-fpga.c       | 486 +++++++++++++++++++++++++++++++
>  include/linux/mfd/upboard-fpga.h |  53 ++++

Please separate the LED and MFD changes into their own patches.

>  7 files changed, 650 insertions(+)
>  create mode 100644 drivers/leds/leds-upboard.c
>  create mode 100644 drivers/mfd/upboard-fpga.c
>  create mode 100644 include/linux/mfd/upboard-fpga.h

-- 
Lee Jones [李琼斯]

  parent reply	other threads:[~2022-10-03  8:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-01  9:05 [PATCH] mfd: Add support for UP board CPLD/FPGA chengwei
2022-10-01 12:59 ` kernel test robot
2022-10-03  7:39 ` Lee Jones [this message]
2022-10-03 12:23 ` Andy Shevchenko
  -- strict thread matches above, loose matches on Subject: below --
2022-10-04  7:47 chengwei

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=YzqRvsfsREslOuW2@google.com \
    --to=lee@kernel.org \
    --cc=GaryWang@aaeon.com.tw \
    --cc=foxfly.lai.tw@gmail.com \
    --cc=jack.chang@yunjingtech.com \
    --cc=javier@emutex.com \
    --cc=larry.lai@yunjingtech.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-leds@vger.kernel.org \
    --cc=musa.lin@yunjingtech.com \
    --cc=nicola.lunghi@emutex.com \
    --cc=pavel@ucw.cz \
    /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.