From: Lukasz Majewski <lukma@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 8/9] spl: Introduce SPL_DM_GPIO Kconfig define
Date: Thu, 26 Sep 2019 09:52:03 +0200 [thread overview]
Message-ID: <20190926095203.56b9488d@jawa> (raw)
In-Reply-To: <20190925212116.GH11486@bill-the-cat>
Hi Tom, Simon,
> On Wed, Sep 25, 2019 at 02:42:03PM -0600, Simon Glass wrote:
> > Hi Lukasz,
> >
> > On Tue, 17 Sep 2019 at 15:06, Lukasz Majewski <lukma@denx.de>
> > wrote:
> > >
> > > On Tue, 17 Sep 2019 14:19:33 -0500
> > > Adam Ford <aford173@gmail.com> wrote:
> > >
> > > > On Tue, Sep 17, 2019 at 1:34 PM Simon Glass <sjg@chromium.org>
> > > > wrote:
> > > > >
> > > > > Hi Lukasz,
> > > > >
> > > > > On Tue, 17 Sep 2019 at 00:22, Lukasz Majewski <lukma@denx.de>
> > > > > wrote:
> > > > > >
> > > > > > Hi Simon,
> > > > > >
> > > > > > > On Sun, 18 Aug 2019 at 19:30, Peng Fan <peng.fan@nxp.com>
> > > > > > > wrote:
> > > > > > > >
> > > > > > > > > Subject: [PATCH v2 8/9] spl: Introduce SPL_DM_GPIO
> > > > > > > > > Kconfig define
> > > > > > > > >
> > > > > > > > > This define indicates if DM_GPIO shall be supported
> > > > > > > > > in SPL. This allows proper operation of DM converted
> > > > > > > > > GPIO drivers in SPL, which use #if
> > > > > > > > > !CONFIG_IS_ENABLED(DM_GPIO) to also support not yet
> > > > > > > > > DM/DTS converted boards.
> > > >
> > > > Many of the drivers list the SPL_DM options under their
> > > > respective heading. For example, SPL_DM_USB is under the USB
> > > > menu right next to the option to select CONFIG_DM_USB.
> > > > If we're going to add the option to separate DM_GPIO from
> > > > SPL_DM_GPIO, I would suggest following that pattern and place
> > > > it in the GPIO menu so they are next to each other and make the
> > > > dependency obvious.
> > >
> > > For the current patch I've followed the pattern and added
> > > SPL_DM_GPIO to the "spl" submenu of menuconfig.
> > >
> > > And as I've written in the other mail - I think that SPL_DM_GPIO
> > > shall depend on DM_GPIO.
> > >
> > > Considering the above - shall I place SPL_DM_GPIO next to DM_GPIO
> > > section or to the "spl" submenu?
> >
> > That makes sense to me. At some point we should change them all.
> >
> > +Tom Rini for comment too
>
> Should we get consistent? Yes. One of our not yet solved well enough
> problems is what are we going to do about SPL/TPL, image size and
> conflicting requirements. For now I think having these options be in
> the spl menu makes some future shuffling easier to do.
>
Ok. So I will add SPL_DM_GPIO to spl menu and make it dependent on
DM_GPIO.
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190926/55671ebd/attachment.sig>
next prev parent reply other threads:[~2019-09-26 7:52 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-18 21:35 [U-Boot] [PATCH v2 0/9] imx: mxs: Fixes and DM/DTS conversion code for several i.MX28 drivers Lukasz Majewski
2019-08-18 21:35 ` [U-Boot] [PATCH v2 1/9] doc: fix: Replace SPL_OF_PLATDATA with OF_PLATDATA in examples Lukasz Majewski
2019-08-19 1:19 ` Peng Fan
2019-09-17 5:47 ` Simon Glass
2019-08-18 21:35 ` [U-Boot] [PATCH v2 2/9] dts: imx28: Remove #include "imx28.dtsi" from imx28-u-boot.dtsi file Lukasz Majewski
2019-08-19 1:20 ` Peng Fan
2019-08-18 21:35 ` [U-Boot] [PATCH v2 3/9] spl: Init proper struct driver member (platdata_auto_alloc_size) for mxs_spi Lukasz Majewski
2019-08-19 1:25 ` Peng Fan
2019-08-18 21:35 ` [U-Boot] [PATCH v2 4/9] spi: fix: Call mxs_reset_block() during DM/DTS probe Lukasz Majewski
2019-08-19 1:26 ` Peng Fan
2019-08-18 21:35 ` [U-Boot] [PATCH v2 5/9] spi: Add support for SPL_OF_PLATDATA to mxs_spi.c driver Lukasz Majewski
2019-08-19 1:27 ` Peng Fan
2019-08-18 21:35 ` [U-Boot] [PATCH v2 6/9] mmc: Convert mxsmmc eMMC driver for i.MX2{38} to DM/DTS Lukasz Majewski
2019-08-18 21:36 ` [U-Boot] [PATCH v2 7/9] mmc: Replace printf with debug call for timeouts in the i.MX28 mxs driver Lukasz Majewski
2019-08-18 21:36 ` [U-Boot] [PATCH v2 8/9] spl: Introduce SPL_DM_GPIO Kconfig define Lukasz Majewski
2019-08-19 1:30 ` Peng Fan
2019-09-17 5:47 ` Simon Glass
2019-09-17 7:22 ` Lukasz Majewski
2019-09-17 18:34 ` Simon Glass
2019-09-17 19:19 ` Adam Ford
2019-09-17 21:06 ` Lukasz Majewski
2019-09-25 20:42 ` Simon Glass
2019-09-25 21:21 ` Tom Rini
2019-09-26 7:52 ` Lukasz Majewski [this message]
2019-09-17 21:04 ` Lukasz Majewski
2019-08-18 21:36 ` [U-Boot] [PATCH v2 9/9] spi: Add support for SPL_OF_PLATDATA to mxs_gpio.c driver Lukasz Majewski
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=20190926095203.56b9488d@jawa \
--to=lukma@denx.de \
--cc=u-boot@lists.denx.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