All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: devicetree-discuss@lists.ozlabs.org
Cc: linux-mtd@lists.infradead.org,
	Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 4/6 V2] of/mtd/nand: add generic bindings and helpers
Date: Tue, 7 Feb 2012 10:45:30 +0100	[thread overview]
Message-ID: <201202071045.30128.sr@denx.de> (raw)
In-Reply-To: <20120207041606.GD15647@game.jcrosoft.org>

On Tuesday 07 February 2012 05:16:06 Jean-Christophe PLAGNIOL-VILLARD wrote:
> > > - nand-on-flash-bbt: boolean to enable on flash bbt option if not
> > > present false
> > 
> > Why not use an "empty" type (without argument) for nand-on-flash-bbt
> > then?
> 
> I want to be able to disable it

Then just don't add this property.
 
> I send a patch to add a helper to manage boolean
> 
> this will allow to disable a boolean
> 
>     is-ok;          => true
>     is-ok = <1>;    => true
>     is-ok = <0>;    => false

Okay, fine with me.

Thanks,
Stefan

WARNING: multiple messages have this Message-ID (diff)
From: sr@denx.de (Stefan Roese)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 4/6 V2] of/mtd/nand: add generic bindings and helpers
Date: Tue, 7 Feb 2012 10:45:30 +0100	[thread overview]
Message-ID: <201202071045.30128.sr@denx.de> (raw)
In-Reply-To: <20120207041606.GD15647@game.jcrosoft.org>

On Tuesday 07 February 2012 05:16:06 Jean-Christophe PLAGNIOL-VILLARD wrote:
> > > - nand-on-flash-bbt: boolean to enable on flash bbt option if not
> > > present false
> > 
> > Why not use an "empty" type (without argument) for nand-on-flash-bbt
> > then?
> 
> I want to be able to disable it

Then just don't add this property.
 
> I send a patch to add a helper to manage boolean
> 
> this will allow to disable a boolean
> 
>     is-ok;          => true
>     is-ok = <1>;    => true
>     is-ok = <0>;    => false

Okay, fine with me.

Thanks,
Stefan

WARNING: multiple messages have this Message-ID (diff)
From: Stefan Roese <sr-ynQEQJNshbs@public.gmane.org>
To: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org
Cc: linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Subject: Re: [PATCH 4/6 V2] of/mtd/nand: add generic bindings and helpers
Date: Tue, 7 Feb 2012 10:45:30 +0100	[thread overview]
Message-ID: <201202071045.30128.sr@denx.de> (raw)
In-Reply-To: <20120207041606.GD15647-RQcB7r2h9QmfDR2tN2SG5Ni2O/JbrIOy@public.gmane.org>

On Tuesday 07 February 2012 05:16:06 Jean-Christophe PLAGNIOL-VILLARD wrote:
> > > - nand-on-flash-bbt: boolean to enable on flash bbt option if not
> > > present false
> > 
> > Why not use an "empty" type (without argument) for nand-on-flash-bbt
> > then?
> 
> I want to be able to disable it

Then just don't add this property.
 
> I send a patch to add a helper to manage boolean
> 
> this will allow to disable a boolean
> 
>     is-ok;          => true
>     is-ok = <1>;    => true
>     is-ok = <0>;    => false

Okay, fine with me.

Thanks,
Stefan

  reply	other threads:[~2012-02-07  9:45 UTC|newest]

Thread overview: 64+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-28  5:10 [FOR 3.3 PATCH 1/6] ATMEL: fix nand ecc support Jean-Christophe PLAGNIOL-VILLARD
2012-01-28  5:10 ` Jean-Christophe PLAGNIOL-VILLARD
2012-01-28  5:10 ` [FOR 3.3 PATCH 2/6] mtd/atmel_nand: add on_flash_bbt to enable the use of On Flash BBT Jean-Christophe PLAGNIOL-VILLARD
2012-01-28  5:10   ` Jean-Christophe PLAGNIOL-VILLARD
2012-01-28  5:10 ` [FOR 3.3 PATCH 3/6] ARM: at91: enable on flash bbt for Atmel Reference and DT boards Jean-Christophe PLAGNIOL-VILLARD
2012-01-28  5:10 ` [FOR 3.4 PATCH 4/6] of/mtd/nand: add generic bindings and helpers Jean-Christophe PLAGNIOL-VILLARD
2012-01-28  5:10   ` Jean-Christophe PLAGNIOL-VILLARD
2012-01-28 20:05   ` Grant Likely
2012-01-28 20:05     ` Grant Likely
2012-01-28  5:10 ` [FOR 3.4 PATCH 5/6] atmel/nand: add DT support Jean-Christophe PLAGNIOL-VILLARD
2012-01-28  5:10   ` Jean-Christophe PLAGNIOL-VILLARD
2012-01-28 20:08   ` Grant Likely
2012-01-28 20:08     ` Grant Likely
2012-01-28 20:08     ` Grant Likely
2012-01-29 18:31   ` Simon Glass
2012-01-29 18:31     ` Simon Glass
2012-01-29 18:31     ` Simon Glass
2012-01-30  5:56     ` Jean-Christophe PLAGNIOL-VILLARD
2012-01-30  5:56       ` Jean-Christophe PLAGNIOL-VILLARD
2012-01-30  5:56       ` Jean-Christophe PLAGNIOL-VILLARD
2012-01-28  5:10 ` [FOR 3.4 PATCH 6/6] ARM: at91: board-dt nand switch to DT Jean-Christophe PLAGNIOL-VILLARD
2012-02-06 10:35 ` [PATCH 4/6 V2] of/mtd/nand: add generic bindings and helpers Jean-Christophe PLAGNIOL-VILLARD
2012-02-06 10:35   ` Jean-Christophe PLAGNIOL-VILLARD
2012-02-06 16:20   ` Stefan Roese
2012-02-06 16:20     ` Stefan Roese
2012-02-07  4:16     ` Jean-Christophe PLAGNIOL-VILLARD
2012-02-07  4:16       ` Jean-Christophe PLAGNIOL-VILLARD
2012-02-07  4:16       ` Jean-Christophe PLAGNIOL-VILLARD
2012-02-07  9:45       ` Stefan Roese [this message]
2012-02-07  9:45         ` Stefan Roese
2012-02-07  9:45         ` Stefan Roese
2012-02-07 10:10         ` Jean-Christophe PLAGNIOL-VILLARD
2012-02-07 10:10           ` Jean-Christophe PLAGNIOL-VILLARD
2012-02-07 10:10           ` Jean-Christophe PLAGNIOL-VILLARD
2012-02-07 16:18   ` [PATCH 4/6 v3] " Jean-Christophe PLAGNIOL-VILLARD
2012-02-07 16:18     ` Jean-Christophe PLAGNIOL-VILLARD
2012-02-08  7:16     ` Stefan Roese
2012-02-08  7:16       ` Stefan Roese
2012-02-06 10:35 ` [PATCH 5/6 V2] atmel/nand: add DT support Jean-Christophe PLAGNIOL-VILLARD
2012-02-06 10:35   ` Jean-Christophe PLAGNIOL-VILLARD
2012-02-07 10:30   ` Nicolas Ferre
2012-02-07 10:30     ` Nicolas Ferre
2012-02-07 10:30     ` Nicolas Ferre
2012-02-07 11:53     ` Jean-Christophe PLAGNIOL-VILLARD
2012-02-07 11:53       ` Jean-Christophe PLAGNIOL-VILLARD
2012-02-21  9:22       ` Nicolas Ferre
2012-02-21  9:22         ` Nicolas Ferre
2012-02-21  9:22         ` Nicolas Ferre
2012-02-21  9:32         ` Jean-Christophe PLAGNIOL-VILLARD
2012-02-21  9:32           ` Jean-Christophe PLAGNIOL-VILLARD
2012-02-20 17:17   ` Jean-Christophe PLAGNIOL-VILLARD
2012-02-20 17:17     ` Jean-Christophe PLAGNIOL-VILLARD
2012-02-20 17:17     ` Jean-Christophe PLAGNIOL-VILLARD
2012-02-20 21:37     ` David Woodhouse
2012-02-20 21:37       ` David Woodhouse
2012-02-20 21:37       ` David Woodhouse
2012-02-21  9:46   ` [PATCH 5/6 V3] " Jean-Christophe PLAGNIOL-VILLARD
2012-02-21  9:46     ` Jean-Christophe PLAGNIOL-VILLARD
2012-02-21  9:59     ` Nicolas Ferre
2012-02-21  9:59       ` Nicolas Ferre
2012-02-21  9:59       ` Nicolas Ferre
2012-02-21 11:00       ` Jean-Christophe PLAGNIOL-VILLARD
2012-02-21 11:00         ` Jean-Christophe PLAGNIOL-VILLARD
2012-02-21 11:00         ` Jean-Christophe PLAGNIOL-VILLARD

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=201202071045.30128.sr@denx.de \
    --to=sr@denx.de \
    --cc=devicetree-discuss@lists.ozlabs.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=plagnioj@jcrosoft.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.