Perdez dès maintenant jusqu'à 4 kilos par mois

2012-07-09 Thread Perdez dès maintenant jusqu'à 4 kilos par mois par Duano
Pour voir le message, veuillez utiliser un lecteur de mail compatible HTML

Lien miroir : 
http://m10-fr.com/mc10_m/YT0xMyZiPTE1NjQ1JmM9NDgzNjEyJmQ9MjAxMi0wNy0xMCAwNTo1MDowMSZlPTEmaD0xNTY0NCZmPTE1NjQ1Jmc9MTU2NDU=

Lien de désinscription : 
http://m10-fr.com/mc10_unsub/YT0xMyZiPTE1NjQ1JmM9NDgzNjEyJmQ9MjAxMi0wNy0xMCAwNTo1MDowMSZlPTEmaD0xNTY0NCZmPTE1NjQ1Jmc9MTU2NDU=


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
spi-devel-general mailing list
spi-devel-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/spi-devel-general


Re: [PATCH RFC] spi/gpio: start with CS non-active

2012-07-09 Thread Linus Walleij
On Mon, Jul 9, 2012 at 2:08 PM, Mark Brown  wrote:
> On Thu, Jul 05, 2012 at 09:45:40AM +0200, Uwe Kleine-K?nig wrote:
>> On Thu, Feb 09, 2012 at 10:21:45PM +0100, Uwe Kleine-K?nig wrote:
>> > The chip select line was configured as output with the initial value
>> > being active explicitly. It was later deasserted during
>> > spi_bitbang_setup() without any clock activity in between. So it makes
>> > no sense to activate the device at all and the chip select line can
>> > better start non-active.
>> >
>> > Signed-off-by: Uwe Kleine-K?nig 
>> > ---
>> > Hello,
>> >
>> > I'm not sure if an active chip select line without any clock activity can
>> > confuse a device. If so, this patch might qualify as fix. But with my
>> > limited knowledge about spi it's also possible that I just miss why the
>> > active chip select is important. For the devices I have it doesn't seem
>> > to make a difference.
>> ping
>
> You probably want to resend this with Linus W in the CCs.

It all makes sense to me so:
Acked-by: Linus Walleij 

Now the SPI maintainer needs to pick it up though, if your proposal
to pick it up goes through this patch is all yours now.

Yours,
Linus Walleij

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
spi-devel-general mailing list
spi-devel-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/spi-devel-general


[PATCH v4] spi/pl022: add devicetree support

2012-07-09 Thread Alexandre Pereira da Silva
Add the chipselect array and cur_cs properties to pl022 main structure

Add a wrapper function to decide if the cs should be controlled by the
cs_control callback or the chipselect gpio

Populate chipselect property from cs-gpios

Populate master->dev.of_node, so the spi bus can find child spi
devices and register them

At pl022 setup, fill chip_data structure from dt nodes, if not provided
by platform.

Signed-off-by: Alexandre Pereira da Silva 
Tested-by: Roland Stigge 
---
Applies to v3.5-rc6

Changes since v3:
* use if (IS_ENABLED(CONFIG_OF)) instead of preprocessor #ifdef so we
  have better code build coverage

Changes since v2:
* Use IS_ENABLED instead of #ifdef
* Remove bogus const change

Changes since v1:
return EPROBE_DEFFER if gpios are not initialized yet

 .../devicetree/bindings/spi/spi_pl022.txt  |   15 +++
 drivers/spi/spi-pl022.c|  114 
 2 files changed, 110 insertions(+), 19 deletions(-)

diff --git a/Documentation/devicetree/bindings/spi/spi_pl022.txt 
b/Documentation/devicetree/bindings/spi/spi_pl022.txt
index 306ec3f..b089ec7 100644
--- a/Documentation/devicetree/bindings/spi/spi_pl022.txt
+++ b/Documentation/devicetree/bindings/spi/spi_pl022.txt
@@ -6,7 +6,22 @@ Required properties:
 - interrupts : Should contain SPI controller interrupt
 
 Optional properties:
+- pl022,num-chipselects : total number of chipselects
 - cs-gpios : should specify GPIOs used for chipselects.
   The gpios will be referred to as reg =  in the SPI child nodes.
   If unspecified, a single SPI device without a chip select can be used.
 
+SPI slave nodes must be children of the SPI master node and can
+contain the following properties.
+See include/linux/amba/pl022.h for more details
+
+- pl022,hierarchy : master or slave interface
+- pl022,interface : interface type
+- pl022,slave-tx-disable : disconnect tx line in slave mode
+- pl022,com-mode : polling, interrupt or dma
+- pl022,rx-level-trig : Rx FIFO watermark level
+- pl022,tx-level-trig : Tx FIFO watermark level
+- pl022,ctrl-len : Microwire interface: Control length
+- pl022,wait-state : Microwire interface: Wait state
+- pl022,duplex : Microwire interface: Full/Half duplex
+
diff --git a/drivers/spi/spi-pl022.c b/drivers/spi/spi-pl022.c
index 400ae21..d8d7d21 100644
--- a/drivers/spi/spi-pl022.c
+++ b/drivers/spi/spi-pl022.c
@@ -40,6 +40,8 @@
 #include 
 #include 
 #include 
+#include 
+#include 
 
 /*
  * This macro is used to define some register default values.
@@ -389,6 +391,8 @@ struct pl022 {
char*dummypage;
booldma_running;
 #endif
+   int cur_cs;
+   int chipselect[0];
 };
 
 /**
@@ -433,6 +437,14 @@ static void null_cs_control(u32 command)
pr_debug("pl022: dummy chip select control, CS=0x%x\n", command);
 }
 
+static void pl022_cs_control(struct pl022 *pl022, u32 command)
+{
+   if (gpio_is_valid(pl022->cur_cs))
+   gpio_set_value(pl022->cur_cs, command);
+   else
+   pl022->cur_chip->cs_control(command);
+}
+
 /**
  * giveback - current spi_message is over, schedule next message and call
  * callback of this message. Assumes that caller already
@@ -479,7 +491,7 @@ static void giveback(struct pl022 *pl022)
if (next_msg && next_msg->spi != pl022->cur_msg->spi)
next_msg = NULL;
if (!next_msg || pl022->cur_msg->state == STATE_ERROR)
-   pl022->cur_chip->cs_control(SSP_CHIP_DESELECT);
+   pl022_cs_control(pl022, SSP_CHIP_DESELECT);
else
pl022->next_msg_cs_active = true;
 
@@ -813,8 +825,7 @@ static void dma_callback(void *data)
/* Update total bytes transferred */
msg->actual_length += pl022->cur_transfer->len;
if (pl022->cur_transfer->cs_change)
-   pl022->cur_chip->
-   cs_control(SSP_CHIP_DESELECT);
+   pl022_cs_control(pl022, SSP_CHIP_DESELECT);
 
/* Move to next transfer */
msg->state = next_transfer(pl022);
@@ -1247,8 +1258,7 @@ static irqreturn_t pl022_interrupt_handler(int irq, void 
*dev_id)
/* Update total bytes transferred */
msg->actual_length += pl022->cur_transfer->len;
if (pl022->cur_transfer->cs_change)
-   pl022->cur_chip->
-   cs_control(SSP_CHIP_DESELECT);
+   pl022_cs_control(pl022, SSP_CHIP_DESELECT);
/* Move to next transfer */
msg->state = next_transfer(pl022);
tasklet_schedule(&pl022->pump_transfers);
@@ -1333,7 +1343,7 @@ static void pump_transfers(unsigned long data)
 
/* Reselect chip select only if cs_change was requested */
if (previous->cs_change)
-   pl022->cur_chip->cs_control(SSP_CHIP_SELECT);
+

Re: [PATCH 01/10 RESEND] mmc: spi: Move SSP register definitions into separate file

2012-07-09 Thread Marek Vasut
Dear Marek Vasut,

> Move the definitions into separate file so separate SPI driver can be
> implemented. The SSP controller in MXS can act both as a MMC host and
> as a SPI host.
> 
> Based on previous attempt by:
> Fabio Estevam 

[...]

Bump? Can these be applied now (probably without 10/10 patch)?

Best regards,
Marek Vasut

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
spi-devel-general mailing list
spi-devel-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/spi-devel-general


Re: [PATCH RFC] spi/gpio: start with CS non-active

2012-07-09 Thread Mark Brown
On Thu, Jul 05, 2012 at 09:45:40AM +0200, Uwe Kleine-K?nig wrote:
> On Thu, Feb 09, 2012 at 10:21:45PM +0100, Uwe Kleine-K?nig wrote:
> > The chip select line was configured as output with the initial value
> > being active explicitly. It was later deasserted during
> > spi_bitbang_setup() without any clock activity in between. So it makes
> > no sense to activate the device at all and the chip select line can
> > better start non-active.
> > 
> > Signed-off-by: Uwe Kleine-K?nig 
> > ---
> > Hello,
> > 
> > I'm not sure if an active chip select line without any clock activity can
> > confuse a device. If so, this patch might qualify as fix. But with my
> > limited knowledge about spi it's also possible that I just miss why the
> > active chip select is important. For the devices I have it doesn't seem
> > to make a difference.
> ping

You probably want to resend this with Linus W in the CCs.

> 
> > 
> > Best regards
> > Uwe
> > 
> >  drivers/spi/spi-gpio.c |3 ++-
> >  1 files changed, 2 insertions(+), 1 deletions(-)
> > 
> > diff --git a/drivers/spi/spi-gpio.c b/drivers/spi/spi-gpio.c
> > index 0094c64..0b56cfc 100644
> > --- a/drivers/spi/spi-gpio.c
> > +++ b/drivers/spi/spi-gpio.c
> > @@ -235,7 +235,8 @@ static int spi_gpio_setup(struct spi_device *spi)
> > status = gpio_request(cs, dev_name(&spi->dev));
> > if (status)
> > return status;
> > -   status = gpio_direction_output(cs, spi->mode & 
> > SPI_CS_HIGH);
> > +   status = gpio_direction_output(cs,
> > +   !(spi->mode & SPI_CS_HIGH));
> > }
> > }
> > if (!status)
> > -- 
> > 1.7.9
> > 
> > 
> 
> -- 
> Pengutronix e.K.   | Uwe Kleine-K?nig|
> Industrial Linux Solutions | http://www.pengutronix.de/  |
> 
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> spi-devel-general mailing list
> spi-devel-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/spi-devel-general
> 

-- 
"You grabbed my hand and we fell into it, like a daydream - or a fever."

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
spi-devel-general mailing list
spi-devel-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/spi-devel-general


Jusqu'à moins 70 pourcent sur les bagages et sacs

2012-07-09 Thread Lulu Castagnette par Duano
Pour voir le message, veuillez utiliser un lecteur de mail compatible HTML

Lien miroir : 
http://m10-fr.com/mc10_m/YT0xMyZiPTE1NTQ2JmM9NDgzNjEyJmQ9MjAxMi0wNy0wOSAwODoyMDowMSZlPTEmaD0xNTU0NSZmPTE1NTQ2Jmc9MTU1NDY=

Lien de désinscription : 
http://m10-fr.com/mc10_unsub/YT0xMyZiPTE1NTQ2JmM9NDgzNjEyJmQ9MjAxMi0wNy0wOSAwODoyMDowMSZlPTEmaD0xNTU0NSZmPTE1NTQ2Jmc9MTU1NDY=


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
spi-devel-general mailing list
spi-devel-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/spi-devel-general


[SPAM] Business Proposal

2012-07-09 Thread Patrick Thomas
Can you assist me in contacting the person that handles the promotions and 
marketing for your business?

Our company offers access to 200 Million Consumers and 45 Million Businesses 
through email marketing! 
Email marketing is considered the most cost effective method to promote your 
products and services.

Our Offer:

> Our Creative Department Will Create a Custom Email AD 
> Choose Your Targeted Audience From Our Databases  
> We Send Your Mail Through Our SMTP Servers
> Online Tracking is Available 24/7 
 
Please give us a call today at 1 (800) 504-4880.

All of our services are backed with a 100% Money Back Guarantee.

We look forward to hearing from you.

Patrick Thomas  
1-800-504-4880  
savviermarket...@gmx.com
Email Marketing Experts 

















Click This Link to Stop Future Messages 




--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
spi-devel-general mailing list
spi-devel-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/spi-devel-general


Participez au Jeu Concours Parlons Bebe

2012-07-09 Thread Laboratoires Guigoz par Duano
Pour voir le message, veuillez utiliser un lecteur de mail compatible HTML

Lien miroir : 
http://m10-fr.com/mc10_m/YT0xMyZiPTE1NTQyJmM9NDgzNjEyJmQ9MjAxMi0wNy0wOSAwNTo1MDowMSZlPTEmaD0xNTU0MSZmPTE1NTQyJmc9MTU1NDI=

Lien de désinscription : 
http://m10-fr.com/mc10_unsub/YT0xMyZiPTE1NTQyJmM9NDgzNjEyJmQ9MjAxMi0wNy0wOSAwNTo1MDowMSZlPTEmaD0xNTU0MSZmPTE1NTQyJmc9MTU1NDI=


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
spi-devel-general mailing list
spi-devel-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/spi-devel-general


Votre animal est t-il bien assure

2012-07-09 Thread Assurance Animaux par Duano
Pour voir le message, veuillez utiliser un lecteur de mail compatible HTML

Lien miroir : 
http://m10-fr.com/mc10_m/YT0xMyZiPTE1NTQ0JmM9NDgzNjEyJmQ9MjAxMi0wNy0wOSAwNTo0MDowMSZlPTEmaD0xNTU0MyZmPTE1NTQ0Jmc9MTU1NDQ=

Lien de désinscription : 
http://m10-fr.com/mc10_unsub/YT0xMyZiPTE1NTQ0JmM9NDgzNjEyJmQ9MjAxMi0wNy0wOSAwNTo0MDowMSZlPTEmaD0xNTU0MyZmPTE1NTQ0Jmc9MTU1NDQ=


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
spi-devel-general mailing list
spi-devel-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/spi-devel-general