All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alistair Francis <alistair23@gmail.com>
To: Olof Johansson <olof@lixom.net>
Cc: Alistair Francis <alistair@alistair23.me>,
	Arnd Bergmann <arnd@arndb.de>, Rob Herring <robh+dt@kernel.org>,
	Shawn Guo <shawnguo@kernel.org>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	Sascha Hauer <kernel@pengutronix.de>,
	Fabio Estevam <festevam@gmail.com>,
	dl-linux-imx <linux-imx@nxp.com>,
	Linux ARM Mailing List <linux-arm-kernel@lists.infradead.org>,
	DTML <devicetree@vger.kernel.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 2/2] remarkable2_defconfig: Add initial support for the reMarkable2
Date: Mon, 18 Jan 2021 21:42:42 -0800	[thread overview]
Message-ID: <CAKmqyKNR3+9u966zvZUV8WOFdhPjje0cgkxrJs0F3oeZ8M=uaw@mail.gmail.com> (raw)
In-Reply-To: <CAOesGMh9X3OwzftRQYVsz6=Wv_wkm-wh_ucN91e6FCbjnG3X+g@mail.gmail.com>

On Sun, Jan 17, 2021 at 6:03 PM Olof Johansson <olof@lixom.net> wrote:
>
> Hi,
>
> On Sun, Jan 17, 2021 at 5:36 PM Alistair Francis <alistair23@gmail.com> wrote:
> >
> > On Sun, Jan 17, 2021 at 5:30 PM Olof Johansson <olof@lixom.net> wrote:
> > >
> > > Hi Alistair,
> > >
> > > On Sun, Jan 17, 2021 at 3:09 PM Alistair Francis <alistair@alistair23.me> wrote:
> > > >
> > > > This defconfig is based on the one released by reMarkable with their
> > > > 4.14 kernel. I have updated it to match the latest kernels.
> > > >
> > > > Signed-off-by: Alistair Francis <alistair@alistair23.me>
> > >
> > > It's awesome to see upstream support for contemporary consumer
> > > products being posted, thanks!
> >
> > No worries!
> >
> > >
> > > When it comes to a dedicated defconfig, is that necessary in this
> > > case? The needed drivers should be possible to enable either in
> > > imx_v6_v7_defconfig, or in multi_v7_defconfig (or, rather, both)?
> >
> > Most of the defconfi could be shared with a standard imx7 config, but
> > some of the extra components like the Wacom digitiser,
> > cyttsp5_i2c_adapter, max77818 and bd71815 might be better off in it's
> > own defconfig.
> >
> > If the maintainers are happy with enabling some of those in a imx7
> > defconfig then I'm happy to do that. I have tried to split out the
> > config changes (I have two otehr series that build on this one) so it
> > should be easy to rebase it all on a standard one.
>
> Yeah, enabling those in imx_v6_v7_defconfig and multi_v7_defconfig is
> fine (or, really, desirable and preferred).
>
> Please enable as modules where possible (i.e anything that's fine to
> wait loading until after rootfs is mounted), to avoid kernel image
> growth on platforms that don't need those drivers.

I just sent a v2 of this series. Patch 1 is the same but I'm now using
the imx_v6_v7_defconfig in patch 2 and 3.

I only need a single change so hopefully that's fine. I'm sure more
features will need to be enabled but they can come with future
patches.

Alistair

>
> > > Adding new defconfigs is something we're avoiding as much as possible,
> > > since it adds CI overhead, and defconfigs easily get churny due to
> > > options moving around.
> > >
> > > In some cases we do it once per SoC family (i.e. the i.MX defconfigs),
> > > but we avoid it for products.
> >
> > Makes sense, I will update my patches not to use a custom defconfig.
>
> Awesome, thanks!
>
>
> -Olof

WARNING: multiple messages have this Message-ID (diff)
From: Alistair Francis <alistair23@gmail.com>
To: Olof Johansson <olof@lixom.net>
Cc: DTML <devicetree@vger.kernel.org>, Arnd Bergmann <arnd@arndb.de>,
	Fabio Estevam <festevam@gmail.com>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	Alistair Francis <alistair@alistair23.me>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Rob Herring <robh+dt@kernel.org>,
	dl-linux-imx <linux-imx@nxp.com>,
	Sascha Hauer <kernel@pengutronix.de>,
	Shawn Guo <shawnguo@kernel.org>,
	Linux ARM Mailing List <linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH 2/2] remarkable2_defconfig: Add initial support for the reMarkable2
Date: Mon, 18 Jan 2021 21:42:42 -0800	[thread overview]
Message-ID: <CAKmqyKNR3+9u966zvZUV8WOFdhPjje0cgkxrJs0F3oeZ8M=uaw@mail.gmail.com> (raw)
In-Reply-To: <CAOesGMh9X3OwzftRQYVsz6=Wv_wkm-wh_ucN91e6FCbjnG3X+g@mail.gmail.com>

On Sun, Jan 17, 2021 at 6:03 PM Olof Johansson <olof@lixom.net> wrote:
>
> Hi,
>
> On Sun, Jan 17, 2021 at 5:36 PM Alistair Francis <alistair23@gmail.com> wrote:
> >
> > On Sun, Jan 17, 2021 at 5:30 PM Olof Johansson <olof@lixom.net> wrote:
> > >
> > > Hi Alistair,
> > >
> > > On Sun, Jan 17, 2021 at 3:09 PM Alistair Francis <alistair@alistair23.me> wrote:
> > > >
> > > > This defconfig is based on the one released by reMarkable with their
> > > > 4.14 kernel. I have updated it to match the latest kernels.
> > > >
> > > > Signed-off-by: Alistair Francis <alistair@alistair23.me>
> > >
> > > It's awesome to see upstream support for contemporary consumer
> > > products being posted, thanks!
> >
> > No worries!
> >
> > >
> > > When it comes to a dedicated defconfig, is that necessary in this
> > > case? The needed drivers should be possible to enable either in
> > > imx_v6_v7_defconfig, or in multi_v7_defconfig (or, rather, both)?
> >
> > Most of the defconfi could be shared with a standard imx7 config, but
> > some of the extra components like the Wacom digitiser,
> > cyttsp5_i2c_adapter, max77818 and bd71815 might be better off in it's
> > own defconfig.
> >
> > If the maintainers are happy with enabling some of those in a imx7
> > defconfig then I'm happy to do that. I have tried to split out the
> > config changes (I have two otehr series that build on this one) so it
> > should be easy to rebase it all on a standard one.
>
> Yeah, enabling those in imx_v6_v7_defconfig and multi_v7_defconfig is
> fine (or, really, desirable and preferred).
>
> Please enable as modules where possible (i.e anything that's fine to
> wait loading until after rootfs is mounted), to avoid kernel image
> growth on platforms that don't need those drivers.

I just sent a v2 of this series. Patch 1 is the same but I'm now using
the imx_v6_v7_defconfig in patch 2 and 3.

I only need a single change so hopefully that's fine. I'm sure more
features will need to be enabled but they can come with future
patches.

Alistair

>
> > > Adding new defconfigs is something we're avoiding as much as possible,
> > > since it adds CI overhead, and defconfigs easily get churny due to
> > > options moving around.
> > >
> > > In some cases we do it once per SoC family (i.e. the i.MX defconfigs),
> > > but we avoid it for products.
> >
> > Makes sense, I will update my patches not to use a custom defconfig.
>
> Awesome, thanks!
>
>
> -Olof

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

  reply	other threads:[~2021-01-19  6:26 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-17  3:51 [PATCH 1/2] imx7d-remarkable2.dts: Initial device tree for reMarkable2 Alistair Francis
2021-01-17  3:51 ` Alistair Francis
2021-01-17  3:51 ` [PATCH 2/2] remarkable2_defconfig: Add initial support for the reMarkable2 Alistair Francis
2021-01-17  3:51   ` Alistair Francis
2021-01-18  1:29   ` Olof Johansson
2021-01-18  1:29     ` Olof Johansson
2021-01-18  1:36     ` Alistair Francis
2021-01-18  1:36       ` Alistair Francis
2021-01-18  2:03       ` Olof Johansson
2021-01-18  2:03         ` Olof Johansson
2021-01-19  5:42         ` Alistair Francis [this message]
2021-01-19  5:42           ` Alistair Francis

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='CAKmqyKNR3+9u966zvZUV8WOFdhPjje0cgkxrJs0F3oeZ8M=uaw@mail.gmail.com' \
    --to=alistair23@gmail.com \
    --cc=alistair@alistair23.me \
    --cc=arnd@arndb.de \
    --cc=devicetree@vger.kernel.org \
    --cc=festevam@gmail.com \
    --cc=kernel@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-imx@nxp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=olof@lixom.net \
    --cc=robh+dt@kernel.org \
    --cc=s.hauer@pengutronix.de \
    --cc=shawnguo@kernel.org \
    /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.