From: Srinivas KANDAGATLA <srinivas.kandagatla@st.com>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: Mauro Carvalho Chehab <mchehab@redhat.com>,
"linux-doc@vger.kernel.org" <linux-doc@vger.kernel.org>,
Russell King - ARM Linux <linux@arm.linux.org.uk>,
Samuel Ortiz <sameo@linux.intel.com>,
Stephen Gallimore <stephen.gallimore@st.com>,
"linux-serial@vger.kernel.org" <linux-serial@vger.kernel.org>,
Grant Likely <grant.likely@linaro.org>,
Arnd Bergmann <arnd@arndb.de>,
"devicetree-discuss@lists.ozlabs.org"
<devicetree-discuss@lists.ozlabs.org>,
Rob Herring <rob.herring@calxeda.com>,
Stuart Menefy <stuart.menefy@st.com>,
Mark Brown <broonie@kernel.org>,
John Stultz <john.stultz@linaro.org>,
Thomas Gleixner <tglx@linutronix.de>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Rob Landley <rob@landley.net>, Olof Johansson <olof@lixom.>
Subject: Re: [PATCH v2 05/11] pinctrl:stixxxx: Add pinctrl and pinconf support.
Date: Mon, 17 Jun 2013 14:31:46 +0100 [thread overview]
Message-ID: <51BF0FC2.4000601@st.com> (raw)
In-Reply-To: <CACRpkdYN-6W8tvbWNVOdCKOWObm3PCtzXqZuUnvHddBtyw2pyQ@mail.gmail.com>
Thankyou very much for the comments.
On 16/06/13 13:17, Linus Walleij wrote:
> On Mon, Jun 10, 2013 at 11:22 AM, Srinivas KANDAGATLA
> <srinivas.kandagatla@st.com> wrote:
>
>> About driver:
>> This pinctrl driver manages both PIO and PIO-mux block using pinctrl,
>> pinconf, pinmux, gpio subsystems. All the pinctrl related config
>> information can only come from device trees.
>
> OK that's a good approach!
Thankyou
>> +- #gpio-cells : Should be one. The first cell is the pin number.
>> +- st,retime-in-delay : Should be array of delays in nsecs.
>> +- st,retime-out-delay : Should be array of delays in nsecs.
>
> Please explain more verbosely what is meant by these
> delays. in-delay of what? out-delay of what?
>
Am moving this to the driver too, as these tend to be constant per given
SOC.
>> +- st,retime-pin-mask : Should be mask to specify which pins can be retimed.
>
> Explain what this "retimed" means.
I will explain this bit in more detail.
>
>> +- st,bank-name : Should be a name string for this bank.
>
> Usually we only use an identifier, like a number for this, but
> maybe you need this, so won't judge on it.
It's used for maintaining consistency with pin names from data sheet to
the pinctrl_pin_desc.
>
>> +- st,syscfg : phandle of the syscfg node.
>
> This is pretty clever.
Thankyou.
>
>> +- st,syscfg-offsets : Should be a 5 cell entry which represent offset of altfunc,
>> + output-enable, pull-up , open drain and retime registers in the syscfg bank
>
> No please. Use the compatible string to determine which version of the
> hardware this is and encode a register offset table into the driver instead.
> We do not store register offsets in the device tree, it is not a datasheet
> XML container you know...
Got it, I already moved this to the driver now. And its looking good.
>
>> +- delay is retime delay in pico seconds.
>> + Possible values are: refer to retime-in/out-delays
>
> Earlier it was given in nanoseconds.
>
I will fix this.
> And I still have no clue what "retiming" means.
>
> I'm suspecting you cannot actually use generic pinconfig
> due to all this retiming esoterica but atleast give it a thought.
>
>> +- rt_clk :clk to be use for retime.
>> + Possible values are:
>> + CLK_A
>> + CLK_B
>> + CLK_C
>> + CLK_D
>
> So this is selecting one of four available clock lines?
>
No, It's not related to driver clocks.
It's to do with the retiming. This part configures which clock to retime
output/input data to. CLK_A means retime output data to clkout[0] and
input data on clkin[0].
Will add more documentation on re-timing in general.
> Should this not interact with some clk bindings for your
> clock tree?
>
>> diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig
>> index 8f66924..0c040a3 100644
>> --- a/drivers/pinctrl/Kconfig
>> +++ b/drivers/pinctrl/Kconfig
>> @@ -169,6 +169,17 @@ config PINCTRL_SUNXI
>> select PINMUX
>> select GENERIC_PINCONF
>>
>> +config PINCTRL_STIXXXX
>
> As mentioned elsewhere STIXXXX is a bit too much X:es in.
> Please come up with some better naming if possible.
Are you OK if I use pinctrl-st.c?
>
>> + bool "ST Microelectronics pin controller driver for STixxxx SoCs"
>
> Add:
> depends on OF
Ok, Will add it.
>
>> + select PINMUX
>> + select PINCONF
>> + help
>> + Say yes here to support pinctrl interface on STixxxx SOCs.
>> + This driver is used to control both PIO block and PIO-mux
>> + block to configure a pin.
>> +
>> + If unsure, say N.
>
> (...)
>> +++ b/drivers/pinctrl/pinctrl-stixxxx.c
>> +struct stixxxx_gpio_port {
>> + struct gpio_chip gpio_chip;
>> + struct pinctrl_gpio_range range;
>> + void __iomem *base;
>> + struct device_node *of_node;
>
> Why do you need this? The struct gpio_chip above can contain
> the of_node can it not?
I remove the of_node as part of "simple-bus" cleanup from the pinctrl node.
>
>> + const char *bank_name;
>> +};
>
>> +static struct stixxxx_gpio_port *gpio_ports[STIXXXX_MAX_GPIO_BANKS];
>
> This is complicating things. Can't you just store the array of GPIO ports
> *inside* the struct stixxxx_pinctrl container or something?
Already taken care from previous comment.
>
> (...)
>> +/* Low level functions.. */
>> +static void stixxxx_pinconf_set_direction(struct stixxxx_pio_control *pc,
>> + int pin_id, unsigned long config)
>
> Why is this function called "*_set_direction" when it is also
> messing with PU and OD?
>
> _set_config would be more appropriate.
Yes, I will rename it.
>
> (The code looks fine.)
>
> (...)
>> +static void stixxxx_pinconf_set_retime_packed(
>> + struct stixxxx_pio_control *pc,
>> + unsigned long config, int pin)
>> +{
>> + const struct stixxxx_retime_params *rt_params = pc->rt_params;
>> + const struct stixxxx_retime_offset *offset = rt_params->retime_offset;
>> + struct regmap_field **regs;
>> + unsigned int values[2];
>> + unsigned long mask;
>> + int i, j;
>> + int clk = STIXXXX_PINCONF_UNPACK_RT_CLK(config);
>> + int clknotdata = STIXXXX_PINCONF_UNPACK_RT_CLKNOTDATA(config);
>> + int double_edge = STIXXXX_PINCONF_UNPACK_RT_DOUBLE_EDGE(config);
>> + int invertclk = STIXXXX_PINCONF_UNPACK_RT_INVERTCLK(config);
>> + int retime = STIXXXX_PINCONF_UNPACK_RT(config);
>> + unsigned long delay = stixxxx_pinconf_delay_to_bit(
>> + STIXXXX_PINCONF_UNPACK_RT_DELAY(config),
>> + pc->rt_params, config);
>
> As you can see it's a bit excess of "X" above. Hard to read.
>
> Then it seems like some of these should be bool, because:
Ok, Will make it bool.
>
>> + unsigned long rt_cfg =
>> + ((clk & 1) << offset->clk1notclk0_offset) |
>> + ((clknotdata & 1) << offset->clknotdata_offset) |
>> + ((delay & 1) << offset->delay_lsb_offset) |
>> + (((delay >> 1) & 1) << offset->delay_msb_offset) |
>> + ((double_edge & 1) << offset->double_edge_offset) |
>> + ((invertclk & 1) << offset->invertclk_offset) |
>> + ((retime & 1) << offset->retime_offset);
>
> This is looking strange. Just strange.
> Comments are needed I think. For example why
> arey >> 1 on delay all of a sudden?
>
> I would try to make clk, clknotdata, delay etc into bools.
>
> Then it could be more readable like this:
>
> #include <linux/bitops.h>
>
> unsigned long rt_cfg = 0;
>
> if (clk)
> rt_cfg |= BIT(offset->clk1notclk0_offset);
> if (clknotdata)
> rt_cfg |= BIT(offset->clknotdata_offset);
>
> etc.
Yes, Looks sensible, I will try these changes and see how it turns up.
>
>> + regs = pc->retiming;
>> + regmap_field_read(regs[0], &values[0]);
>> + regmap_field_read(regs[1], &values[1]);
>> +
>> + for (i = 0; i < 2; i++) {
>> + mask = BIT(pin);
>> + for (j = 0; j < 4; j++) {
>> + if (rt_cfg & 1)
>> + values[i] |= mask;
>> + else
>> + values[i] &= ~mask;
>> + mask <<= 8;
>> + rt_cfg >>= 1;
>> + }
>> + }
>
> 2? 4? 8? Not quite readable with so many magic constants.
> Is this "8" identical to STIXXXX_GPIO_PINS_PER_PORT?
>
I agree, all these constants should be #defined in a readable way, and I
will do it. (for all the comments related to constants ...)
>
>> +static int stixxxx_pinconf_get_retime_packed(
>> + struct stixxxx_pio_control *pc,
>> + int pin, unsigned long *config)
>> +{
>> + const struct stixxxx_retime_params *rt_params = pc->rt_params;
>> + const struct stixxxx_retime_offset *offset = rt_params->retime_offset;
>> + unsigned long delay_bits, delay, rt_reduced;
>> + unsigned int rt_value[2];
>> + int i, j;
>> + int output = STIXXXX_PINCONF_UNPACK_OE(*config);
>> +
>> + regmap_field_read(pc->retiming[0], &rt_value[0]);
>> + regmap_field_read(pc->retiming[1], &rt_value[1]);
>> +
>> + rt_reduced = 0;
>> + for (i = 0; i < 2; i++) {
>> + for (j = 0; j < 4; j++) {
>> + if (rt_value[i] & (1<<((8*j)+pin)))
>> + rt_reduced |= 1 << ((i*4)+j);
>> + }
>> + }
>
> Urgh 2, 4, 8??
>
> What is happening here ... atleast a big comment
> explaining the logic would be helpful. Some kind of
> matrix traversal seem to be involved.
Yes, I will add a decent comment here.
>
>> + STIXXXX_PINCONF_PACK_RT(*config,
>> + (rt_reduced >> offset->retime_offset) & 1);
>> + STIXXXX_PINCONF_PACK_RT_CLK(*config,
>> + (rt_reduced >> offset->clk1notclk0_offset) & 1);
>> + STIXXXX_PINCONF_PACK_RT_CLKNOTDATA(*config,
>> + (rt_reduced >> offset->clknotdata_offset) & 1);
>> + STIXXXX_PINCONF_PACK_RT_DOUBLE_EDGE(*config,
>> + (rt_reduced >> offset->double_edge_offset) & 1);
>> + STIXXXX_PINCONF_PACK_RT_INVERTCLK(*config,
>> + (rt_reduced >> offset->invertclk_offset) & 1);
>
> I would rewrite this like
>
> if ((rt_reduced >> offset->retime_offset) & 1)
> STIXXXX_PINCONF_PACK_RT(*config, 1);
>
> See further comments on these macros below.
>
> I prefer if they are only used to set bits to 1, then it just becomes:
>
> if ((rt_reduced >> offset->retime_offset) & 1)
> STIXXXX_PINCONF_PACK_RT(*config);
>
> Simpler.
I will do it.
>
>
> (...)
>> +static void stixxxx_gpio_direction(unsigned int gpio, unsigned int direction)
>> +{
>> + int port_num = stixxxx_gpio_port(gpio);
>> + int offset = stixxxx_gpio_pin(gpio);
>> + struct stixxxx_gpio_port *port = gpio_ports[port_num];
>> + int i = 0;
>> +
>> + for (i = 0; i <= 2; i++) {
>> + if (direction & BIT(i))
>> + writel(BIT(offset), port->base + REG_PIO_SET_PC(i));
>> + else
>> + writel(BIT(offset), port->base + REG_PIO_CLR_PC(i));
>> + }
>
> Can you explain here in a comment why the loop has to hit
> bits 0, 1 and 2 in this register?
Yes, I will add the comments behind the logic of this.
>
> (...)
>> +static int stixxxx_gpio_get(struct gpio_chip *chip, unsigned offset)
>> +{
>> + struct stixxxx_gpio_port *port = to_stixxxx_gpio_port(chip);
>> +
>> + return (readl(port->base + REG_PIO_PIN) >> offset) & 1;
>
> Usually we do this with the double-bang idiom:
>
> return !!(readl(port->base + REG_PIO_PIN) & BIT(offset));
Interesting and very neat.
>
>> +static void stixxxx_pctl_dt_free_map(struct pinctrl_dev *pctldev,
>> + struct pinctrl_map *map, unsigned num_maps)
>> +{
>> +}
>
> Isn't this optional? And don't you need to free this?
>
Its not optional because pinctrl_check_ops returns -EINVAL if set to NULL.
I don't need to free it because its a devm_kzalloc.
> (...)
>> +static void stixxxx_pinconf_dbg_show(struct pinctrl_dev *pctldev,
>> + struct seq_file *s, unsigned pin_id)
>> +{
>> + unsigned long config;
>> + stixxxx_pinconf_get(pctldev, pin_id, &config);
>> +
>> + seq_printf(s, "[OE:%ld,PU:%ld,OD:%ld]\n"
>> + "\t\t[retime:%ld,invclk:%ld,clknotdat:%ld,"
>> + "de:%ld,rt-clk:%ld,rt-delay:%ld]",
>> + STIXXXX_PINCONF_UNPACK_OE(config),
>> + STIXXXX_PINCONF_UNPACK_PU(config),
>> + STIXXXX_PINCONF_UNPACK_OD(config),
>> + STIXXXX_PINCONF_UNPACK_RT(config),
>> + STIXXXX_PINCONF_UNPACK_RT_INVERTCLK(config),
>> + STIXXXX_PINCONF_UNPACK_RT_CLKNOTDATA(config),
>> + STIXXXX_PINCONF_UNPACK_RT_DOUBLE_EDGE(config),
>> + STIXXXX_PINCONF_UNPACK_RT_CLK(config),
>> + STIXXXX_PINCONF_UNPACK_RT_DELAY(config));
>> +}
>
> This looks real nice, but is the output human-friendly?
I will see, If I can come up with a better format.
> Well maybe the format needs to be compact like this...
>
>> + if (of_device_is_compatible(np, "st,stih415-pinctrl")) {
>> + rt_offset = devm_kzalloc(info->dev,
>> + sizeof(*rt_offset), GFP_KERNEL);
>> +
>> + if (!rt_offset)
>> + return -ENOMEM;
>> +
>> + rt_offset->clk1notclk0_offset = 0;
>> + rt_offset->delay_lsb_offset = 2;
>> + rt_offset->delay_msb_offset = 3;
>> + rt_offset->invertclk_offset = 4;
>> + rt_offset->retime_offset = 5;
>> + rt_offset->clknotdata_offset = 6;
>> + rt_offset->double_edge_offset = 7;
>
> This looks awkward and complicated.
>
> Why not just #define these offsets and use them
> directly in the code?
This is more specific to a SOC.
This information now comes as part of the SOC specific compatible node data.
Like this:
const struct stixxxx_retime_offset stih415_retime_offset = {
.clk1notclk0_offset = 0,
.delay_lsb_offset = 2,
.delay_msb_offset = 3,
.invertclk_offset = 4,
.retime_offset = 5,
.clknotdata_offset = 6,
.double_edge_offset = 7,
};
unsigned int stih415_input_delays[] = {0, 500, 1000, 1500};
unsigned int stih415_output_delays[] = {0, 1000, 2000, 3000};
static const struct stixxxx_pctl_data stih415_sbc_data = {
.rt_style = stixxxx_retime_style_packed,
.rt_offset = &stih415_retime_offset,
.input_delays = stih415_input_delays,
.ninput_delays = 4,
.output_delays = stih415_output_delays,
.noutput_delays = 4,
.alt = 0, .oe = 5, .pu = 7, .od = 9, .rt = 16,
};
static struct of_device_id stixxxx_pctl_of_match[] = {
{ .compatible = "st,stih415-sbc-pinctrl", .data = &stih415_sbc_data },
};
>
>> +static int stixxxx_pctl_dt_init(struct stixxxx_pinctrl *info,
>> + struct device_node *np)
>> +{
>> + struct stixxxx_pio_control *pc;
>> + struct stixxxx_retime_params *rt_params;
>> + struct device *dev = info->dev;
>> + struct regmap *regmap;
>> + unsigned int i = 0;
>> + struct device_node *child = NULL;
>> + u32 alt_syscfg, oe_syscfg, pu_syscfg, od_syscfg, rt_syscfg;
>> + u32 syscfg_offsets[5];
>> + u32 msb, lsb;
>> +
>> + pc = devm_kzalloc(dev, sizeof(*pc) * info->nbanks, GFP_KERNEL);
>> + rt_params = devm_kzalloc(dev, sizeof(*rt_params), GFP_KERNEL);
>> +
>> + if (!pc || !rt_params)
>> + return -ENOMEM;
>> +
>> + regmap = syscfg_regmap_lookup_by_phandle(np, "st,syscfg");
>> + if (!regmap) {
>> + dev_err(dev, "No syscfg phandle specified\n");
>> + return -ENOMEM;
>> + }
>> + info->regmap = regmap;
>> + info->pio_controls = pc;
>> + if (stixxxx_pinconf_dt_parse_rt_params(info, np, rt_params))
>> + return -ENOMEM;
>> +
>> + if (of_property_read_u32_array(np, "st,syscfg-offsets",
>> + syscfg_offsets, 5)) {
>> + dev_err(dev, "Syscfg offsets not found\n");
>> + return -EINVAL;
>> + }
>> + alt_syscfg = syscfg_offsets[0];
>> + oe_syscfg = syscfg_offsets[1];
>> + pu_syscfg = syscfg_offsets[2];
>> + od_syscfg = syscfg_offsets[3];
>> + rt_syscfg = syscfg_offsets[4];
>
> This isn't looking any fun either.
>
> #defining the offsets avoid all this strange boilerplate.
>
>> + lsb = 0;
>> + msb = 7;
>
> And this.
>
>> + for_each_child_of_node(np, child) {
>> + if (of_device_is_compatible(child, gpio_compat)) {
>> + struct reg_field alt_reg =
>> + REG_FIELD(4 * alt_syscfg++, 0, 31);
>> + struct reg_field oe_reg =
>> + REG_FIELD(4 * oe_syscfg, lsb, msb);
>> + struct reg_field pu_reg =
>> + REG_FIELD(4 * pu_syscfg, lsb, msb);
>> + struct reg_field od_reg =
>> + REG_FIELD(4 * od_syscfg, lsb, msb);
>> + pc[i].rt_params = rt_params;
>> +
>> + pc[i].alt = devm_regmap_field_alloc(dev,
>> + regmap, alt_reg);
>> + pc[i].oe = devm_regmap_field_alloc(dev,
>> + regmap, oe_reg);
>> + pc[i].pu = devm_regmap_field_alloc(dev,
>> + regmap, pu_reg);
>> + pc[i].od = devm_regmap_field_alloc(dev,
>> + regmap, od_reg);
>> +
>> + if (IS_ERR(pc[i].alt) || IS_ERR(pc[i].oe)
>> + || IS_ERR(pc[i].pu) || IS_ERR(pc[i].od))
>> + goto failed;
>> +
>> + of_property_read_u32(child, "st,retime-pin-mask",
>> + &pc[i].rt_pin_mask);
>> +
>> + stixxxx_pctl_dt_get_retime_conf(info, &pc[i],
>> + &rt_syscfg);
>> + i++;
>> + if (msb == 31) {
>> + oe_syscfg++;
>> + pu_syscfg++;
>> + od_syscfg++;
>> + lsb = 0;
>> + msb = 7;
>> + } else {
>> + lsb += 8;
>> + msb += 8;
>> + }
>
> Can you explain with a comment what is happening here.
Most of this code disappeared as part of merging gpio and pinctrl
platformdriver in to one.
However I will make sure I add more comments in this area.
>
>> +static struct pinctrl_gpio_range *find_gpio_range(struct device_node *np)
>> +{
>> + int i;
>> + for (i = 0; i < STIXXXX_MAX_GPIO_BANKS; i++)
>> + if (gpio_ports[i]->of_node == np)
>> + return &gpio_ports[i]->range;
>> +
>> + return NULL;
>> +}
>
> This looks a bit like it's duplicating pinctrl_find_gpio_range_from_pin()
> or similar already available from the pinctrl core. But it seems you
> may need it here in this case.
You are right, I should have used pinctrl_find_gpio_range_from_pin.
This code disappeared too as part of merging gpio and pinctrl platform
driver in to one.
>
>> +static int stixxxx_pctl_probe(struct platform_device *pdev)
> (...)
>> +static int stixxxx_gpio_probe(struct platform_device *pdev)
> (...)
>> +static struct of_device_id stixxxx_gpio_of_match[] = {
>> + { .compatible = "st,stixxxx-gpio", },
>> + { /* sentinel */ }
>> +};
>> +
>> +static struct platform_driver stixxxx_gpio_driver = {
>> + .driver = {
>> + .name = "st-gpio",
>> + .owner = THIS_MODULE,
>> + .of_match_table = of_match_ptr(stixxxx_gpio_of_match),
>> + },
>> + .probe = stixxxx_gpio_probe,
>> +};
>> +
>> +static struct of_device_id stixxxx_pctl_of_match[] = {
>> + { .compatible = "st,stixxxx-pinctrl",},
>> + { .compatible = "st,stih415-pinctrl",},
>> + { .compatible = "st,stih416-pinctrl",},
>> + { /* sentinel */ }
>> +};
>> +
>> +static struct platform_driver stixxxx_pctl_driver = {
>> + .driver = {
>> + .name = "st-pinctrl",
>> + .owner = THIS_MODULE,
>> + .of_match_table = of_match_ptr(stixxxx_pctl_of_match),
>> + },
>> + .probe = stixxxx_pctl_probe,
>> +};
>
>
> Why do you need separate nodes and probe functions for the
> pinctrl and GPIO? Can't you just have a single pinctrl node?
>
>> +static int __init stixxxx_pctl_init(void)
>> +{
>> + int ret = platform_driver_register(&stixxxx_gpio_driver);
>> + if (ret)
>> + return ret;
>> + return platform_driver_register(&stixxxx_pctl_driver);
>> +}
>
> Especially since you're just registering them after each other.
>
> Maybe you could have the GPIO nodes as children inside the
> pinctrl node and iterate over with for_each_child_of_node()?
>
> I'm not requiring you rewrite this, just that you give it a thought.
Arnd suggested the same thing, and I have already done this change and
it did clean up lot of code and device tree too.
Now the device tree for pinctrl looks much simple.
pin-controller-sbc {
#address-cells = <1>;
#size-cells = <1>;
compatible = "st,stih415-sbc-pinctrl";
st,syscfg = <&syscfg_sbc>;
ranges = <0 0xfe610000 0x5000>;
PIO0: gpio@fe610000 {
gpio-controller;
#gpio-cells = <1>;
reg = <0 0x100>;
st,bank-name = "PIO0";
};
...
};
>
> (...)
>> +++ b/drivers/pinctrl/pinctrl-stixxxx.h
>> @@ -0,0 +1,197 @@
>> +
>> +/*
>> + * Copyright (C) 2013 STMicroelectronics (R&D) Limited.
>> + * Authors:
>> + * Srinivas Kandagatla <srinivas.kandagatla@st.com>
>> + *
>> + * This program is free software; you can redistribute it and/or modify
>> + * it under the terms of the GNU General Public License version 2 as
>> + * published by the Free Software Foundation.
>> + *
>> + */
>> +
>> +#ifndef __LINUX_DRIVERS_PINCTRL_STIXXXX_H
>> +#define __LINUX_DRIVERS_PINCTRL_STIXXXX_H
>> +
>> +enum stixxxx_retime_style {
>> + stixxxx_retime_style_none,
>> + stixxxx_retime_style_packed,
>> + stixxxx_retime_style_dedicated,
>> +};
>> +
>> +/* Byte positions in 2 syscon words, starts from 0 */
>> +struct stixxxx_retime_offset {
>> + int retime_offset;
>> + int clk1notclk0_offset;
>> + int clknotdata_offset;
>> + int double_edge_offset;
>> + int invertclk_offset;
>> + int delay_lsb_offset;
>> + int delay_msb_offset;
>> +};
>> +
>> +struct stixxxx_retime_params {
>> + const struct stixxxx_retime_offset *retime_offset;
>> + unsigned int *delay_times_in;
>> + int num_delay_times_in;
>> + unsigned int *delay_times_out;
>> + int num_delay_times_out;
>> +};
>> +
>> +struct stixxxx_pio_control {
>> + enum stixxxx_retime_style rt_style;
>> + u32 rt_pin_mask;
>> + const struct stixxxx_retime_params *rt_params;
>> + struct regmap_field *alt;
>> + struct regmap_field *oe, *pu, *od;
>> + struct regmap_field *retiming[8];
>> +};
>
> Are these used outside of the driver? If not, move it into the
> driver .c file.
Yes, I will move this to driver.
>
>
>
>> +#define STIXXXX_GPIO_PINS_PER_PORT 8
>
>
> Does *any* of this have to be in the header file? If not, move it
> into the driver instead, so the reader don't have to shift between several
> files when reading the driver code.
>
>> +#define stixxxx_gpio_port(gpio) ((gpio) / STIXXXX_GPIO_PINS_PER_PORT)
>> +#define stixxxx_gpio_pin(gpio) ((gpio) % STIXXXX_GPIO_PINS_PER_PORT)
>
> Move these three #defines into the driver and convert the
> two last ones to static inlines instead. Easier to maintain.
Ok, I will do it.
>> +#define STIXXXX_PINCONF_UNPACK(conf, param)\
>> + ((conf >> STIXXXX_PINCONF_ ##param ##_SHIFT) \
>> + & STIXXXX_PINCONF_ ##param ##_MASK)
>> +
>> +#define STIXXXX_PINCONF_PACK(conf, val, param) (conf |=\
>> + ((val & STIXXXX_PINCONF_ ##param ##_MASK) << \
>> + STIXXXX_PINCONF_ ##param ##_SHIFT))
>> +
>> +/* Output enable */
>> +#define STIXXXX_PINCONF_OE_MASK 0x1
>> +#define STIXXXX_PINCONF_OE_SHIFT 27
>> +#define STIXXXX_PINCONF_OE BIT(27)
>> +#define STIXXXX_PINCONF_UNPACK_OE(conf) STIXXXX_PINCONF_UNPACK(conf, OE)
>> +#define STIXXXX_PINCONF_PACK_OE(conf, val) STIXXXX_PINCONF_PACK(conf, val, OE)
>
> For all of these macros: why are you suppying an argument that can only
> be 0 or 1?
>
> Just alter PACK like this:
>
> #define STIXXXX_PINCONF_PACK_OE(conf) STIXXXX_PINCONF_PACK(conf, 1, OE)
>
> And only call it if you want to enable the feature, else avoid calling it.
> There is no point of setting bits to zero with so much adoo.
>
>
Yes, I will try this and see how it will look like.
>> +/* RETIME_DELAY in Pico Secs */
>> +#define STIXXXX_PINCONF_RT_DELAY_MASK 0xffff
>> +#define STIXXXX_PINCONF_RT_DELAY_SHIFT 0
>> +#define STIXXXX_PINCONF_UNPACK_RT_DELAY(conf) \
>> + STIXXXX_PINCONF_UNPACK(conf, RT_DELAY)
>> +#define STIXXXX_PINCONF_PACK_RT_DELAY(conf, val) \
>> + STIXXXX_PINCONF_PACK(conf, val, RT_DELAY)
>
> But here you need the special packed val to be passed,
> so this looks good.
>
>> +#endif /* __LINUX_DRIVERS_PINCTRL_STIXXXX_H */
>
> Move the entire header into the drivers main .c file. Why complicate things?
yes, I will move the full header contents to c file.
Thanks,
srini
>
> Yours,
> Linus Walleij
>
>
WARNING: multiple messages have this Message-ID (diff)
From: srinivas.kandagatla@st.com (Srinivas KANDAGATLA)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 05/11] pinctrl:stixxxx: Add pinctrl and pinconf support.
Date: Mon, 17 Jun 2013 14:31:46 +0100 [thread overview]
Message-ID: <51BF0FC2.4000601@st.com> (raw)
In-Reply-To: <CACRpkdYN-6W8tvbWNVOdCKOWObm3PCtzXqZuUnvHddBtyw2pyQ@mail.gmail.com>
Thankyou very much for the comments.
On 16/06/13 13:17, Linus Walleij wrote:
> On Mon, Jun 10, 2013 at 11:22 AM, Srinivas KANDAGATLA
> <srinivas.kandagatla@st.com> wrote:
>
>> About driver:
>> This pinctrl driver manages both PIO and PIO-mux block using pinctrl,
>> pinconf, pinmux, gpio subsystems. All the pinctrl related config
>> information can only come from device trees.
>
> OK that's a good approach!
Thankyou
>> +- #gpio-cells : Should be one. The first cell is the pin number.
>> +- st,retime-in-delay : Should be array of delays in nsecs.
>> +- st,retime-out-delay : Should be array of delays in nsecs.
>
> Please explain more verbosely what is meant by these
> delays. in-delay of what? out-delay of what?
>
Am moving this to the driver too, as these tend to be constant per given
SOC.
>> +- st,retime-pin-mask : Should be mask to specify which pins can be retimed.
>
> Explain what this "retimed" means.
I will explain this bit in more detail.
>
>> +- st,bank-name : Should be a name string for this bank.
>
> Usually we only use an identifier, like a number for this, but
> maybe you need this, so won't judge on it.
It's used for maintaining consistency with pin names from data sheet to
the pinctrl_pin_desc.
>
>> +- st,syscfg : phandle of the syscfg node.
>
> This is pretty clever.
Thankyou.
>
>> +- st,syscfg-offsets : Should be a 5 cell entry which represent offset of altfunc,
>> + output-enable, pull-up , open drain and retime registers in the syscfg bank
>
> No please. Use the compatible string to determine which version of the
> hardware this is and encode a register offset table into the driver instead.
> We do not store register offsets in the device tree, it is not a datasheet
> XML container you know...
Got it, I already moved this to the driver now. And its looking good.
>
>> +- delay is retime delay in pico seconds.
>> + Possible values are: refer to retime-in/out-delays
>
> Earlier it was given in nanoseconds.
>
I will fix this.
> And I still have no clue what "retiming" means.
>
> I'm suspecting you cannot actually use generic pinconfig
> due to all this retiming esoterica but atleast give it a thought.
>
>> +- rt_clk :clk to be use for retime.
>> + Possible values are:
>> + CLK_A
>> + CLK_B
>> + CLK_C
>> + CLK_D
>
> So this is selecting one of four available clock lines?
>
No, It's not related to driver clocks.
It's to do with the retiming. This part configures which clock to retime
output/input data to. CLK_A means retime output data to clkout[0] and
input data on clkin[0].
Will add more documentation on re-timing in general.
> Should this not interact with some clk bindings for your
> clock tree?
>
>> diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig
>> index 8f66924..0c040a3 100644
>> --- a/drivers/pinctrl/Kconfig
>> +++ b/drivers/pinctrl/Kconfig
>> @@ -169,6 +169,17 @@ config PINCTRL_SUNXI
>> select PINMUX
>> select GENERIC_PINCONF
>>
>> +config PINCTRL_STIXXXX
>
> As mentioned elsewhere STIXXXX is a bit too much X:es in.
> Please come up with some better naming if possible.
Are you OK if I use pinctrl-st.c?
>
>> + bool "ST Microelectronics pin controller driver for STixxxx SoCs"
>
> Add:
> depends on OF
Ok, Will add it.
>
>> + select PINMUX
>> + select PINCONF
>> + help
>> + Say yes here to support pinctrl interface on STixxxx SOCs.
>> + This driver is used to control both PIO block and PIO-mux
>> + block to configure a pin.
>> +
>> + If unsure, say N.
>
> (...)
>> +++ b/drivers/pinctrl/pinctrl-stixxxx.c
>> +struct stixxxx_gpio_port {
>> + struct gpio_chip gpio_chip;
>> + struct pinctrl_gpio_range range;
>> + void __iomem *base;
>> + struct device_node *of_node;
>
> Why do you need this? The struct gpio_chip above can contain
> the of_node can it not?
I remove the of_node as part of "simple-bus" cleanup from the pinctrl node.
>
>> + const char *bank_name;
>> +};
>
>> +static struct stixxxx_gpio_port *gpio_ports[STIXXXX_MAX_GPIO_BANKS];
>
> This is complicating things. Can't you just store the array of GPIO ports
> *inside* the struct stixxxx_pinctrl container or something?
Already taken care from previous comment.
>
> (...)
>> +/* Low level functions.. */
>> +static void stixxxx_pinconf_set_direction(struct stixxxx_pio_control *pc,
>> + int pin_id, unsigned long config)
>
> Why is this function called "*_set_direction" when it is also
> messing with PU and OD?
>
> _set_config would be more appropriate.
Yes, I will rename it.
>
> (The code looks fine.)
>
> (...)
>> +static void stixxxx_pinconf_set_retime_packed(
>> + struct stixxxx_pio_control *pc,
>> + unsigned long config, int pin)
>> +{
>> + const struct stixxxx_retime_params *rt_params = pc->rt_params;
>> + const struct stixxxx_retime_offset *offset = rt_params->retime_offset;
>> + struct regmap_field **regs;
>> + unsigned int values[2];
>> + unsigned long mask;
>> + int i, j;
>> + int clk = STIXXXX_PINCONF_UNPACK_RT_CLK(config);
>> + int clknotdata = STIXXXX_PINCONF_UNPACK_RT_CLKNOTDATA(config);
>> + int double_edge = STIXXXX_PINCONF_UNPACK_RT_DOUBLE_EDGE(config);
>> + int invertclk = STIXXXX_PINCONF_UNPACK_RT_INVERTCLK(config);
>> + int retime = STIXXXX_PINCONF_UNPACK_RT(config);
>> + unsigned long delay = stixxxx_pinconf_delay_to_bit(
>> + STIXXXX_PINCONF_UNPACK_RT_DELAY(config),
>> + pc->rt_params, config);
>
> As you can see it's a bit excess of "X" above. Hard to read.
>
> Then it seems like some of these should be bool, because:
Ok, Will make it bool.
>
>> + unsigned long rt_cfg =
>> + ((clk & 1) << offset->clk1notclk0_offset) |
>> + ((clknotdata & 1) << offset->clknotdata_offset) |
>> + ((delay & 1) << offset->delay_lsb_offset) |
>> + (((delay >> 1) & 1) << offset->delay_msb_offset) |
>> + ((double_edge & 1) << offset->double_edge_offset) |
>> + ((invertclk & 1) << offset->invertclk_offset) |
>> + ((retime & 1) << offset->retime_offset);
>
> This is looking strange. Just strange.
> Comments are needed I think. For example why
> arey >> 1 on delay all of a sudden?
>
> I would try to make clk, clknotdata, delay etc into bools.
>
> Then it could be more readable like this:
>
> #include <linux/bitops.h>
>
> unsigned long rt_cfg = 0;
>
> if (clk)
> rt_cfg |= BIT(offset->clk1notclk0_offset);
> if (clknotdata)
> rt_cfg |= BIT(offset->clknotdata_offset);
>
> etc.
Yes, Looks sensible, I will try these changes and see how it turns up.
>
>> + regs = pc->retiming;
>> + regmap_field_read(regs[0], &values[0]);
>> + regmap_field_read(regs[1], &values[1]);
>> +
>> + for (i = 0; i < 2; i++) {
>> + mask = BIT(pin);
>> + for (j = 0; j < 4; j++) {
>> + if (rt_cfg & 1)
>> + values[i] |= mask;
>> + else
>> + values[i] &= ~mask;
>> + mask <<= 8;
>> + rt_cfg >>= 1;
>> + }
>> + }
>
> 2? 4? 8? Not quite readable with so many magic constants.
> Is this "8" identical to STIXXXX_GPIO_PINS_PER_PORT?
>
I agree, all these constants should be #defined in a readable way, and I
will do it. (for all the comments related to constants ...)
>
>> +static int stixxxx_pinconf_get_retime_packed(
>> + struct stixxxx_pio_control *pc,
>> + int pin, unsigned long *config)
>> +{
>> + const struct stixxxx_retime_params *rt_params = pc->rt_params;
>> + const struct stixxxx_retime_offset *offset = rt_params->retime_offset;
>> + unsigned long delay_bits, delay, rt_reduced;
>> + unsigned int rt_value[2];
>> + int i, j;
>> + int output = STIXXXX_PINCONF_UNPACK_OE(*config);
>> +
>> + regmap_field_read(pc->retiming[0], &rt_value[0]);
>> + regmap_field_read(pc->retiming[1], &rt_value[1]);
>> +
>> + rt_reduced = 0;
>> + for (i = 0; i < 2; i++) {
>> + for (j = 0; j < 4; j++) {
>> + if (rt_value[i] & (1<<((8*j)+pin)))
>> + rt_reduced |= 1 << ((i*4)+j);
>> + }
>> + }
>
> Urgh 2, 4, 8??
>
> What is happening here ... atleast a big comment
> explaining the logic would be helpful. Some kind of
> matrix traversal seem to be involved.
Yes, I will add a decent comment here.
>
>> + STIXXXX_PINCONF_PACK_RT(*config,
>> + (rt_reduced >> offset->retime_offset) & 1);
>> + STIXXXX_PINCONF_PACK_RT_CLK(*config,
>> + (rt_reduced >> offset->clk1notclk0_offset) & 1);
>> + STIXXXX_PINCONF_PACK_RT_CLKNOTDATA(*config,
>> + (rt_reduced >> offset->clknotdata_offset) & 1);
>> + STIXXXX_PINCONF_PACK_RT_DOUBLE_EDGE(*config,
>> + (rt_reduced >> offset->double_edge_offset) & 1);
>> + STIXXXX_PINCONF_PACK_RT_INVERTCLK(*config,
>> + (rt_reduced >> offset->invertclk_offset) & 1);
>
> I would rewrite this like
>
> if ((rt_reduced >> offset->retime_offset) & 1)
> STIXXXX_PINCONF_PACK_RT(*config, 1);
>
> See further comments on these macros below.
>
> I prefer if they are only used to set bits to 1, then it just becomes:
>
> if ((rt_reduced >> offset->retime_offset) & 1)
> STIXXXX_PINCONF_PACK_RT(*config);
>
> Simpler.
I will do it.
>
>
> (...)
>> +static void stixxxx_gpio_direction(unsigned int gpio, unsigned int direction)
>> +{
>> + int port_num = stixxxx_gpio_port(gpio);
>> + int offset = stixxxx_gpio_pin(gpio);
>> + struct stixxxx_gpio_port *port = gpio_ports[port_num];
>> + int i = 0;
>> +
>> + for (i = 0; i <= 2; i++) {
>> + if (direction & BIT(i))
>> + writel(BIT(offset), port->base + REG_PIO_SET_PC(i));
>> + else
>> + writel(BIT(offset), port->base + REG_PIO_CLR_PC(i));
>> + }
>
> Can you explain here in a comment why the loop has to hit
> bits 0, 1 and 2 in this register?
Yes, I will add the comments behind the logic of this.
>
> (...)
>> +static int stixxxx_gpio_get(struct gpio_chip *chip, unsigned offset)
>> +{
>> + struct stixxxx_gpio_port *port = to_stixxxx_gpio_port(chip);
>> +
>> + return (readl(port->base + REG_PIO_PIN) >> offset) & 1;
>
> Usually we do this with the double-bang idiom:
>
> return !!(readl(port->base + REG_PIO_PIN) & BIT(offset));
Interesting and very neat.
>
>> +static void stixxxx_pctl_dt_free_map(struct pinctrl_dev *pctldev,
>> + struct pinctrl_map *map, unsigned num_maps)
>> +{
>> +}
>
> Isn't this optional? And don't you need to free this?
>
Its not optional because pinctrl_check_ops returns -EINVAL if set to NULL.
I don't need to free it because its a devm_kzalloc.
> (...)
>> +static void stixxxx_pinconf_dbg_show(struct pinctrl_dev *pctldev,
>> + struct seq_file *s, unsigned pin_id)
>> +{
>> + unsigned long config;
>> + stixxxx_pinconf_get(pctldev, pin_id, &config);
>> +
>> + seq_printf(s, "[OE:%ld,PU:%ld,OD:%ld]\n"
>> + "\t\t[retime:%ld,invclk:%ld,clknotdat:%ld,"
>> + "de:%ld,rt-clk:%ld,rt-delay:%ld]",
>> + STIXXXX_PINCONF_UNPACK_OE(config),
>> + STIXXXX_PINCONF_UNPACK_PU(config),
>> + STIXXXX_PINCONF_UNPACK_OD(config),
>> + STIXXXX_PINCONF_UNPACK_RT(config),
>> + STIXXXX_PINCONF_UNPACK_RT_INVERTCLK(config),
>> + STIXXXX_PINCONF_UNPACK_RT_CLKNOTDATA(config),
>> + STIXXXX_PINCONF_UNPACK_RT_DOUBLE_EDGE(config),
>> + STIXXXX_PINCONF_UNPACK_RT_CLK(config),
>> + STIXXXX_PINCONF_UNPACK_RT_DELAY(config));
>> +}
>
> This looks real nice, but is the output human-friendly?
I will see, If I can come up with a better format.
> Well maybe the format needs to be compact like this...
>
>> + if (of_device_is_compatible(np, "st,stih415-pinctrl")) {
>> + rt_offset = devm_kzalloc(info->dev,
>> + sizeof(*rt_offset), GFP_KERNEL);
>> +
>> + if (!rt_offset)
>> + return -ENOMEM;
>> +
>> + rt_offset->clk1notclk0_offset = 0;
>> + rt_offset->delay_lsb_offset = 2;
>> + rt_offset->delay_msb_offset = 3;
>> + rt_offset->invertclk_offset = 4;
>> + rt_offset->retime_offset = 5;
>> + rt_offset->clknotdata_offset = 6;
>> + rt_offset->double_edge_offset = 7;
>
> This looks awkward and complicated.
>
> Why not just #define these offsets and use them
> directly in the code?
This is more specific to a SOC.
This information now comes as part of the SOC specific compatible node data.
Like this:
const struct stixxxx_retime_offset stih415_retime_offset = {
.clk1notclk0_offset = 0,
.delay_lsb_offset = 2,
.delay_msb_offset = 3,
.invertclk_offset = 4,
.retime_offset = 5,
.clknotdata_offset = 6,
.double_edge_offset = 7,
};
unsigned int stih415_input_delays[] = {0, 500, 1000, 1500};
unsigned int stih415_output_delays[] = {0, 1000, 2000, 3000};
static const struct stixxxx_pctl_data stih415_sbc_data = {
.rt_style = stixxxx_retime_style_packed,
.rt_offset = &stih415_retime_offset,
.input_delays = stih415_input_delays,
.ninput_delays = 4,
.output_delays = stih415_output_delays,
.noutput_delays = 4,
.alt = 0, .oe = 5, .pu = 7, .od = 9, .rt = 16,
};
static struct of_device_id stixxxx_pctl_of_match[] = {
{ .compatible = "st,stih415-sbc-pinctrl", .data = &stih415_sbc_data },
};
>
>> +static int stixxxx_pctl_dt_init(struct stixxxx_pinctrl *info,
>> + struct device_node *np)
>> +{
>> + struct stixxxx_pio_control *pc;
>> + struct stixxxx_retime_params *rt_params;
>> + struct device *dev = info->dev;
>> + struct regmap *regmap;
>> + unsigned int i = 0;
>> + struct device_node *child = NULL;
>> + u32 alt_syscfg, oe_syscfg, pu_syscfg, od_syscfg, rt_syscfg;
>> + u32 syscfg_offsets[5];
>> + u32 msb, lsb;
>> +
>> + pc = devm_kzalloc(dev, sizeof(*pc) * info->nbanks, GFP_KERNEL);
>> + rt_params = devm_kzalloc(dev, sizeof(*rt_params), GFP_KERNEL);
>> +
>> + if (!pc || !rt_params)
>> + return -ENOMEM;
>> +
>> + regmap = syscfg_regmap_lookup_by_phandle(np, "st,syscfg");
>> + if (!regmap) {
>> + dev_err(dev, "No syscfg phandle specified\n");
>> + return -ENOMEM;
>> + }
>> + info->regmap = regmap;
>> + info->pio_controls = pc;
>> + if (stixxxx_pinconf_dt_parse_rt_params(info, np, rt_params))
>> + return -ENOMEM;
>> +
>> + if (of_property_read_u32_array(np, "st,syscfg-offsets",
>> + syscfg_offsets, 5)) {
>> + dev_err(dev, "Syscfg offsets not found\n");
>> + return -EINVAL;
>> + }
>> + alt_syscfg = syscfg_offsets[0];
>> + oe_syscfg = syscfg_offsets[1];
>> + pu_syscfg = syscfg_offsets[2];
>> + od_syscfg = syscfg_offsets[3];
>> + rt_syscfg = syscfg_offsets[4];
>
> This isn't looking any fun either.
>
> #defining the offsets avoid all this strange boilerplate.
>
>> + lsb = 0;
>> + msb = 7;
>
> And this.
>
>> + for_each_child_of_node(np, child) {
>> + if (of_device_is_compatible(child, gpio_compat)) {
>> + struct reg_field alt_reg =
>> + REG_FIELD(4 * alt_syscfg++, 0, 31);
>> + struct reg_field oe_reg =
>> + REG_FIELD(4 * oe_syscfg, lsb, msb);
>> + struct reg_field pu_reg =
>> + REG_FIELD(4 * pu_syscfg, lsb, msb);
>> + struct reg_field od_reg =
>> + REG_FIELD(4 * od_syscfg, lsb, msb);
>> + pc[i].rt_params = rt_params;
>> +
>> + pc[i].alt = devm_regmap_field_alloc(dev,
>> + regmap, alt_reg);
>> + pc[i].oe = devm_regmap_field_alloc(dev,
>> + regmap, oe_reg);
>> + pc[i].pu = devm_regmap_field_alloc(dev,
>> + regmap, pu_reg);
>> + pc[i].od = devm_regmap_field_alloc(dev,
>> + regmap, od_reg);
>> +
>> + if (IS_ERR(pc[i].alt) || IS_ERR(pc[i].oe)
>> + || IS_ERR(pc[i].pu) || IS_ERR(pc[i].od))
>> + goto failed;
>> +
>> + of_property_read_u32(child, "st,retime-pin-mask",
>> + &pc[i].rt_pin_mask);
>> +
>> + stixxxx_pctl_dt_get_retime_conf(info, &pc[i],
>> + &rt_syscfg);
>> + i++;
>> + if (msb == 31) {
>> + oe_syscfg++;
>> + pu_syscfg++;
>> + od_syscfg++;
>> + lsb = 0;
>> + msb = 7;
>> + } else {
>> + lsb += 8;
>> + msb += 8;
>> + }
>
> Can you explain with a comment what is happening here.
Most of this code disappeared as part of merging gpio and pinctrl
platformdriver in to one.
However I will make sure I add more comments in this area.
>
>> +static struct pinctrl_gpio_range *find_gpio_range(struct device_node *np)
>> +{
>> + int i;
>> + for (i = 0; i < STIXXXX_MAX_GPIO_BANKS; i++)
>> + if (gpio_ports[i]->of_node == np)
>> + return &gpio_ports[i]->range;
>> +
>> + return NULL;
>> +}
>
> This looks a bit like it's duplicating pinctrl_find_gpio_range_from_pin()
> or similar already available from the pinctrl core. But it seems you
> may need it here in this case.
You are right, I should have used pinctrl_find_gpio_range_from_pin.
This code disappeared too as part of merging gpio and pinctrl platform
driver in to one.
>
>> +static int stixxxx_pctl_probe(struct platform_device *pdev)
> (...)
>> +static int stixxxx_gpio_probe(struct platform_device *pdev)
> (...)
>> +static struct of_device_id stixxxx_gpio_of_match[] = {
>> + { .compatible = "st,stixxxx-gpio", },
>> + { /* sentinel */ }
>> +};
>> +
>> +static struct platform_driver stixxxx_gpio_driver = {
>> + .driver = {
>> + .name = "st-gpio",
>> + .owner = THIS_MODULE,
>> + .of_match_table = of_match_ptr(stixxxx_gpio_of_match),
>> + },
>> + .probe = stixxxx_gpio_probe,
>> +};
>> +
>> +static struct of_device_id stixxxx_pctl_of_match[] = {
>> + { .compatible = "st,stixxxx-pinctrl",},
>> + { .compatible = "st,stih415-pinctrl",},
>> + { .compatible = "st,stih416-pinctrl",},
>> + { /* sentinel */ }
>> +};
>> +
>> +static struct platform_driver stixxxx_pctl_driver = {
>> + .driver = {
>> + .name = "st-pinctrl",
>> + .owner = THIS_MODULE,
>> + .of_match_table = of_match_ptr(stixxxx_pctl_of_match),
>> + },
>> + .probe = stixxxx_pctl_probe,
>> +};
>
>
> Why do you need separate nodes and probe functions for the
> pinctrl and GPIO? Can't you just have a single pinctrl node?
>
>> +static int __init stixxxx_pctl_init(void)
>> +{
>> + int ret = platform_driver_register(&stixxxx_gpio_driver);
>> + if (ret)
>> + return ret;
>> + return platform_driver_register(&stixxxx_pctl_driver);
>> +}
>
> Especially since you're just registering them after each other.
>
> Maybe you could have the GPIO nodes as children inside the
> pinctrl node and iterate over with for_each_child_of_node()?
>
> I'm not requiring you rewrite this, just that you give it a thought.
Arnd suggested the same thing, and I have already done this change and
it did clean up lot of code and device tree too.
Now the device tree for pinctrl looks much simple.
pin-controller-sbc {
#address-cells = <1>;
#size-cells = <1>;
compatible = "st,stih415-sbc-pinctrl";
st,syscfg = <&syscfg_sbc>;
ranges = <0 0xfe610000 0x5000>;
PIO0: gpio at fe610000 {
gpio-controller;
#gpio-cells = <1>;
reg = <0 0x100>;
st,bank-name = "PIO0";
};
...
};
>
> (...)
>> +++ b/drivers/pinctrl/pinctrl-stixxxx.h
>> @@ -0,0 +1,197 @@
>> +
>> +/*
>> + * Copyright (C) 2013 STMicroelectronics (R&D) Limited.
>> + * Authors:
>> + * Srinivas Kandagatla <srinivas.kandagatla@st.com>
>> + *
>> + * This program is free software; you can redistribute it and/or modify
>> + * it under the terms of the GNU General Public License version 2 as
>> + * published by the Free Software Foundation.
>> + *
>> + */
>> +
>> +#ifndef __LINUX_DRIVERS_PINCTRL_STIXXXX_H
>> +#define __LINUX_DRIVERS_PINCTRL_STIXXXX_H
>> +
>> +enum stixxxx_retime_style {
>> + stixxxx_retime_style_none,
>> + stixxxx_retime_style_packed,
>> + stixxxx_retime_style_dedicated,
>> +};
>> +
>> +/* Byte positions in 2 syscon words, starts from 0 */
>> +struct stixxxx_retime_offset {
>> + int retime_offset;
>> + int clk1notclk0_offset;
>> + int clknotdata_offset;
>> + int double_edge_offset;
>> + int invertclk_offset;
>> + int delay_lsb_offset;
>> + int delay_msb_offset;
>> +};
>> +
>> +struct stixxxx_retime_params {
>> + const struct stixxxx_retime_offset *retime_offset;
>> + unsigned int *delay_times_in;
>> + int num_delay_times_in;
>> + unsigned int *delay_times_out;
>> + int num_delay_times_out;
>> +};
>> +
>> +struct stixxxx_pio_control {
>> + enum stixxxx_retime_style rt_style;
>> + u32 rt_pin_mask;
>> + const struct stixxxx_retime_params *rt_params;
>> + struct regmap_field *alt;
>> + struct regmap_field *oe, *pu, *od;
>> + struct regmap_field *retiming[8];
>> +};
>
> Are these used outside of the driver? If not, move it into the
> driver .c file.
Yes, I will move this to driver.
>
>
>
>> +#define STIXXXX_GPIO_PINS_PER_PORT 8
>
>
> Does *any* of this have to be in the header file? If not, move it
> into the driver instead, so the reader don't have to shift between several
> files when reading the driver code.
>
>> +#define stixxxx_gpio_port(gpio) ((gpio) / STIXXXX_GPIO_PINS_PER_PORT)
>> +#define stixxxx_gpio_pin(gpio) ((gpio) % STIXXXX_GPIO_PINS_PER_PORT)
>
> Move these three #defines into the driver and convert the
> two last ones to static inlines instead. Easier to maintain.
Ok, I will do it.
>> +#define STIXXXX_PINCONF_UNPACK(conf, param)\
>> + ((conf >> STIXXXX_PINCONF_ ##param ##_SHIFT) \
>> + & STIXXXX_PINCONF_ ##param ##_MASK)
>> +
>> +#define STIXXXX_PINCONF_PACK(conf, val, param) (conf |=\
>> + ((val & STIXXXX_PINCONF_ ##param ##_MASK) << \
>> + STIXXXX_PINCONF_ ##param ##_SHIFT))
>> +
>> +/* Output enable */
>> +#define STIXXXX_PINCONF_OE_MASK 0x1
>> +#define STIXXXX_PINCONF_OE_SHIFT 27
>> +#define STIXXXX_PINCONF_OE BIT(27)
>> +#define STIXXXX_PINCONF_UNPACK_OE(conf) STIXXXX_PINCONF_UNPACK(conf, OE)
>> +#define STIXXXX_PINCONF_PACK_OE(conf, val) STIXXXX_PINCONF_PACK(conf, val, OE)
>
> For all of these macros: why are you suppying an argument that can only
> be 0 or 1?
>
> Just alter PACK like this:
>
> #define STIXXXX_PINCONF_PACK_OE(conf) STIXXXX_PINCONF_PACK(conf, 1, OE)
>
> And only call it if you want to enable the feature, else avoid calling it.
> There is no point of setting bits to zero with so much adoo.
>
>
Yes, I will try this and see how it will look like.
>> +/* RETIME_DELAY in Pico Secs */
>> +#define STIXXXX_PINCONF_RT_DELAY_MASK 0xffff
>> +#define STIXXXX_PINCONF_RT_DELAY_SHIFT 0
>> +#define STIXXXX_PINCONF_UNPACK_RT_DELAY(conf) \
>> + STIXXXX_PINCONF_UNPACK(conf, RT_DELAY)
>> +#define STIXXXX_PINCONF_PACK_RT_DELAY(conf, val) \
>> + STIXXXX_PINCONF_PACK(conf, val, RT_DELAY)
>
> But here you need the special packed val to be passed,
> so this looks good.
>
>> +#endif /* __LINUX_DRIVERS_PINCTRL_STIXXXX_H */
>
> Move the entire header into the drivers main .c file. Why complicate things?
yes, I will move the full header contents to c file.
Thanks,
srini
>
> Yours,
> Linus Walleij
>
>
next prev parent reply other threads:[~2013-06-17 13:31 UTC|newest]
Thread overview: 579+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <yes>
2009-01-16 18:08 ` Quota fixes and improvements Jan Kara
2009-01-16 18:08 ` [PATCH 01/11] quota: Improve locking Jan Kara
2009-01-16 18:08 ` [PATCH 02/11] ocfs2: Remove ocfs2_dquot_initialize() and ocfs2_dquot_drop() Jan Kara
2009-01-16 18:08 ` [PATCH 03/11] ocfs2: Push out dropping of dentry lock to ocfs2_wq Jan Kara
2009-01-16 18:08 ` [PATCH 04/11] ocfs2: Fix possible deadlock in ocfs2_write_dquot() Jan Kara
2009-01-16 18:08 ` [PATCH 05/11] quota: Add quota reservation support Jan Kara
2009-01-16 18:08 ` [PATCH 06/11] quota: Add quota reservation claim and released operations Jan Kara
2009-01-16 18:08 ` [PATCH 07/11] quota: Use inode->i_blkbits to get block bits Jan Kara
2009-01-16 18:08 ` [PATCH 08/11] quota: Move EXPORT_SYMBOL immediately next to the functions/varibles Jan Kara
2009-01-16 18:08 ` [PATCH 09/11] ext3: Remove unnecessary quota functions Jan Kara
2009-01-16 18:08 ` [PATCH 10/11] ext4: " Jan Kara
2009-01-16 18:08 ` [PATCH 11/11] reiserfs: " Jan Kara
2009-01-16 18:08 ` Jan Kara
2009-01-20 21:41 ` [PATCH 10/11] ext4: " Mingming Cao
2009-01-20 21:41 ` Mingming Cao
2009-01-20 21:41 ` [PATCH 09/11] ext3: " Mingming Cao
2009-01-20 21:41 ` Mingming Cao
2009-01-24 7:49 ` [PATCH 01/11] quota: Improve locking Andrew Morton
2009-01-26 10:04 ` Jan Kara
2009-05-31 14:49 ` [PATCH 0/8] kernel:lockdep:replace DFS with BFS tom.leiming
2009-05-31 14:49 ` [PATCH 1/8] kernel:lockdep:improve implementation of BFS tom.leiming
2009-05-31 14:49 ` [PATCH 2/8] kernel:lockdep: introduce match function to BFS tom.leiming
2009-05-31 14:49 ` [PATCH 3/8] kernel:lockdep:implement check_noncircular() by BFS tom.leiming
2009-05-31 14:49 ` [PATCH 4/8] kernel:lockdep:implement find_usage_*wards " tom.leiming
2009-05-31 14:49 ` [PATCH 5/8] kernel:lockdep:introduce print_shortest_lock_dependencies tom.leiming
2009-05-31 14:49 ` [PATCH 6/8] kernel:lockdep: implement lockdep_count_*ward_deps by BFS tom.leiming
2009-05-31 14:49 ` [PATCH 7/8] kernel:lockdep: update memory usage introduced " tom.leiming
2009-05-31 14:49 ` [PATCH 8/8] kernel:lockdep:add statistics info for max bfs queue depth tom.leiming
2009-05-31 15:14 ` [PATCH 4/8] kernel:lockdep:implement find_usage_*wards by BFS Daniel Walker
2009-06-01 0:14 ` Ming Lei
2009-06-08 12:22 ` [PATCH 0/8] kernel:lockdep:replace DFS with BFS Peter Zijlstra
2009-06-08 13:38 ` Ming Lei
2009-06-08 13:58 ` Ming Lei
2009-06-08 14:04 ` Peter Zijlstra
2009-06-08 15:50 ` Ming Lei
2009-06-09 12:52 ` Ming Lei
2009-10-07 13:49 ` [PATCH 1/1] perf tools: Up the verbose level for some really verbose stuff Arnaldo Carvalho de Melo
2009-10-08 17:31 ` [tip:perf/core] " tip-bot for Arnaldo Carvalho de Melo
2010-06-22 15:20 ` [RFC][PATCH 00/10] cifs: local caching support using FS-Cache Suresh Jayaraman
2010-06-22 15:20 ` Suresh Jayaraman
2010-06-22 15:22 ` [RFC][PATCH 01/10] cifs: add kernel config option for CIFS Client caching support Suresh Jayaraman
2010-06-22 15:22 ` [RFC][PATCH 02/10] cifs: guard cifsglob.h against multiple inclusion Suresh Jayaraman
[not found] ` <1277220170-3442-1-git-send-email-sjayaraman-l3A5Bk7waGM@public.gmane.org>
2010-06-22 21:37 ` Jeff Layton
2010-06-22 21:37 ` Jeff Layton
2010-06-22 15:23 ` [RFC][PATCH 03/10] cifs: register CIFS for caching Suresh Jayaraman
2010-06-22 15:23 ` Suresh Jayaraman
2010-06-22 15:23 ` [RFC][PATCH 04/10] cifs: define server-level cache index objects and register them with FS-Cache Suresh Jayaraman
2010-06-22 15:23 ` Suresh Jayaraman
[not found] ` <1277220198-3522-1-git-send-email-sjayaraman-l3A5Bk7waGM@public.gmane.org>
2010-06-22 21:52 ` Jeff Layton
2010-06-22 21:52 ` Jeff Layton
[not found] ` <20100622175214.4c56234f-4QP7MXygkU+dMjc06nkz3ljfA9RmPOcC@public.gmane.org>
2010-06-23 5:34 ` Suresh Jayaraman
2010-06-23 5:34 ` Suresh Jayaraman
2010-06-23 16:54 ` David Howells
2010-06-22 15:23 ` [RFC][PATCH 05/10] cifs: define superblock-level cache index objects and register them Suresh Jayaraman
2010-06-22 15:23 ` Suresh Jayaraman
2010-06-22 15:23 ` [RFC][PATCH 06/10] cifs: define inode-level cache object " Suresh Jayaraman
2010-06-22 15:23 ` [RFC][PATCH 07/10] cifs: FS-Cache page management Suresh Jayaraman
2010-06-23 17:05 ` David Howells
2010-06-22 15:24 ` [RFC][PATCH 08/10] cifs: store pages into local cache Suresh Jayaraman
2010-06-22 15:24 ` [RFC][PATCH 09/10] cifs: read pages from FS-Cache Suresh Jayaraman
2010-06-22 15:24 ` Suresh Jayaraman
2010-06-22 15:25 ` [RFC][PATCH 10/10] cifs: add mount option to enable local caching Suresh Jayaraman
2010-06-22 15:25 ` Suresh Jayaraman
2010-06-23 17:08 ` David Howells
2010-06-23 18:32 ` Scott Lovenberg
[not found] ` <4C225338.9010807-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2010-06-25 10:48 ` Suresh Jayaraman
2010-06-25 10:48 ` Suresh Jayaraman
[not found] ` <1277220189-3485-1-git-send-email-sjayaraman-l3A5Bk7waGM@public.gmane.org>
2010-06-23 16:51 ` [RFC][PATCH 03/10] cifs: register CIFS for caching David Howells
2010-06-23 16:51 ` David Howells
[not found] ` <9603.1277311877-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2010-06-25 10:56 ` Suresh Jayaraman
2010-06-25 10:56 ` Suresh Jayaraman
[not found] ` <1277220206-3559-1-git-send-email-sjayaraman-l3A5Bk7waGM@public.gmane.org>
2010-06-23 16:58 ` [RFC][PATCH 05/10] cifs: define superblock-level cache index objects and register them David Howells
2010-06-23 16:58 ` David Howells
[not found] ` <9720.1277312290-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2010-06-25 12:44 ` Suresh Jayaraman
2010-06-25 12:44 ` Suresh Jayaraman
2010-06-25 12:58 ` David Howells
[not found] ` <22746.1277470713-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2010-06-25 13:26 ` David Howells
2010-06-25 13:26 ` David Howells
[not found] ` <23204.1277472412-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2010-06-28 12:53 ` Suresh Jayaraman
2010-06-28 12:53 ` Suresh Jayaraman
2010-06-28 13:24 ` David Howells
[not found] ` <1277220214-3597-1-git-send-email-sjayaraman-l3A5Bk7waGM@public.gmane.org>
2010-06-23 17:02 ` [RFC][PATCH 06/10] cifs: define inode-level cache object " David Howells
2010-06-23 17:02 ` David Howells
[not found] ` <9822.1277312573-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2010-06-25 12:50 ` Suresh Jayaraman
2010-06-25 12:50 ` Suresh Jayaraman
[not found] ` <4C24A606.5040001-l3A5Bk7waGM@public.gmane.org>
2010-06-25 12:55 ` David Howells
2010-06-25 12:55 ` David Howells
[not found] ` <22697.1277470549-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2010-06-25 16:53 ` Jeff Layton
2010-06-25 16:53 ` Jeff Layton
2010-06-25 21:46 ` David Howells
2010-06-25 22:26 ` Jeff Layton
2010-06-25 22:26 ` Jeff Layton
2010-06-25 23:05 ` Steve French
2010-06-25 23:05 ` Steve French
2010-06-26 0:52 ` Mingming Cao
2010-06-27 18:17 ` Aneesh Kumar K. V
[not found] ` <871vbscpce.fsf-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2010-06-27 18:22 ` Christoph Hellwig
2010-06-27 18:22 ` Christoph Hellwig
[not found] ` <20100625182651.36800d06-9yPaYZwiELC+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
2010-06-25 23:04 ` David Howells
2010-06-25 23:04 ` David Howells
[not found] ` <1277220240-3674-1-git-send-email-sjayaraman-l3A5Bk7waGM@public.gmane.org>
2010-06-23 17:06 ` [RFC][PATCH 08/10] cifs: store pages into local cache David Howells
2010-06-23 17:06 ` David Howells
[not found] ` <1277220261-3717-1-git-send-email-sjayaraman-l3A5Bk7waGM@public.gmane.org>
2010-06-23 17:07 ` [RFC][PATCH 09/10] cifs: read pages from FS-Cache David Howells
2010-06-23 17:07 ` David Howells
2010-08-11 5:21 ` [PATCH v3] OpenRD: Enable SD/UART selection for serial port 1 Tanmay Upadhyay
2010-08-11 7:27 ` Russell King - ARM Linux
2011-02-03 9:49 ` [PATCH 1/7] usb: otg: enable regulator only on cable/device connect Hema HK
2011-02-03 9:49 ` [PATCH 2/7] usb: otg: Remove one unnecessary I2C read request Hema HK
2011-02-03 9:49 ` [PATCH 3/7] usb: otg: OMAP4430: Introducing suspend function for power management Hema HK
2011-02-03 9:49 ` [PATCH 4/7] usb: otg: OMAP4430: Add phy_suspend function pointer to twl4030_usb_data Hema HK
2011-02-03 13:45 ` Sergei Shtylyov
[not found] ` <4D4AB187.50406-hkdhdckH98+B+jHODAdFcQ@public.gmane.org>
2011-02-04 5:23 ` Hema Kalliguddi
2011-02-03 13:50 ` Sergei Shtylyov
[not found] ` <4D4AB2A5.7000002-hkdhdckH98+B+jHODAdFcQ@public.gmane.org>
2011-02-04 6:03 ` Hema Kalliguddi
2011-02-03 9:49 ` [PATCH 5/7] usb: otg: TWL6030: Introduce the twl6030_phy_suspend function Hema HK
2011-02-03 9:49 ` [PATCH 6/7] usb: otg: TWL6030 Save the last event in otg_transceiver Hema HK
2011-02-03 9:49 ` [PATCH 7/7] usb: musb: OMAP4430: Fix usb device detection if connected during boot Hema HK
2011-02-14 10:05 ` Felipe Balbi
2011-02-15 8:23 ` Hema Kalliguddi
2011-04-13 22:08 ` [PATCH 2/2] ltp-ddt: New recipe to build ltp-ddt test tool Carlos Hernandez
2011-06-15 0:46 ` [PATCH] Add ok2440 development board support Wu DaoGuang
2011-06-15 0:46 ` Wu DaoGuang
2011-06-22 5:55 ` [PATCH 3/3 v2] ARM: pxa168: Add board support for gplugD Tanmay Upadhyay
2011-07-06 12:20 ` Daniel Mack
2011-07-06 12:44 ` Eric Miao
2011-07-21 4:54 ` [PATCHV2] OMAP4: OPP: add OMAP4460 definitions Vishwanath BS
2011-07-21 4:54 ` Vishwanath BS
[not found] ` <4e27b0d0.100e8e0a.43e0.ffffe6d9SMTPIN_ADDED@mx.google.com>
2011-07-21 4:56 ` Vishwanath Sripathy
2011-07-21 4:56 ` Vishwanath Sripathy
2011-10-03 0:32 ` [PATCH 1/1] ARM: Make debug UART optional for S3C devices Thiago A. Correa
2011-10-03 0:32 ` Thiago A. Correa
2011-10-10 14:44 ` Thiago A. Corrêa
2011-10-10 14:44 ` Thiago A. Corrêa
2011-12-11 13:10 ` [PATCH] block: Needn't read the size of device or partition again taco
2012-06-08 17:23 ` [PATCH 1/4] slub: change declare of get_slab() to inline at all times Joonsoo Kim
2012-06-08 17:23 ` Joonsoo Kim
2012-06-08 17:23 ` [PATCH 2/4] slub: use __cmpxchg_double_slab() at interrupt disabled place Joonsoo Kim
2012-06-08 17:23 ` Joonsoo Kim
2012-06-08 17:23 ` [PATCH 3/4] slub: refactoring unfreeze_partials() Joonsoo Kim
2012-06-08 17:23 ` Joonsoo Kim
2012-06-20 7:19 ` Pekka Enberg
2012-06-20 7:19 ` Pekka Enberg
2012-06-08 17:23 ` [PATCH 4/4] slub: deactivate freelist of kmem_cache_cpu all at once in deactivate_slab() Joonsoo Kim
2012-06-08 17:23 ` Joonsoo Kim
2012-06-08 19:04 ` Christoph Lameter
2012-06-08 19:04 ` Christoph Lameter
2012-06-10 10:27 ` JoonSoo Kim
2012-06-10 10:27 ` JoonSoo Kim
2012-06-22 18:34 ` JoonSoo Kim
2012-06-22 18:34 ` JoonSoo Kim
2012-06-08 19:02 ` [PATCH 1/4] slub: change declare of get_slab() to inline at all times Christoph Lameter
2012-06-08 19:02 ` Christoph Lameter
2012-06-09 15:57 ` JoonSoo Kim
2012-06-09 15:57 ` JoonSoo Kim
2012-06-11 15:04 ` Christoph Lameter
2012-06-11 15:04 ` Christoph Lameter
2012-06-22 18:22 ` [PATCH 1/3] slub: prefetch next freelist pointer in __slab_alloc() Joonsoo Kim
2012-06-22 18:22 ` Joonsoo Kim
2012-06-22 18:22 ` [PATCH 2/3] slub: reduce failure of this_cpu_cmpxchg in put_cpu_partial() after unfreezing Joonsoo Kim
2012-06-22 18:22 ` Joonsoo Kim
2012-07-04 13:05 ` Pekka Enberg
2012-07-04 13:05 ` Pekka Enberg
2012-07-05 14:20 ` Christoph Lameter
2012-07-05 14:20 ` Christoph Lameter
2012-08-16 7:06 ` Pekka Enberg
2012-08-16 7:06 ` Pekka Enberg
2012-06-22 18:22 ` [PATCH 3/3] slub: release a lock if freeing object with a lock is failed in __slab_free() Joonsoo Kim
2012-06-22 18:22 ` Joonsoo Kim
2012-07-04 13:10 ` Pekka Enberg
2012-07-04 13:10 ` Pekka Enberg
2012-07-04 14:48 ` JoonSoo Kim
2012-07-04 14:48 ` JoonSoo Kim
2012-07-05 14:26 ` Christoph Lameter
2012-07-05 14:26 ` Christoph Lameter
2012-07-06 14:19 ` JoonSoo Kim
2012-07-06 14:19 ` JoonSoo Kim
2012-07-06 14:34 ` Christoph Lameter
2012-07-06 14:34 ` Christoph Lameter
2012-07-06 14:59 ` JoonSoo Kim
2012-07-06 14:59 ` JoonSoo Kim
2012-07-06 15:10 ` Christoph Lameter
2012-07-06 15:10 ` Christoph Lameter
2012-07-08 16:19 ` JoonSoo Kim
2012-07-08 16:19 ` JoonSoo Kim
2012-06-22 18:45 ` [PATCH 1/3 v2] slub: prefetch next freelist pointer in __slab_alloc() Joonsoo Kim
2012-06-22 18:45 ` Joonsoo Kim
2012-07-04 12:58 ` JoonSoo Kim
2012-07-04 12:58 ` JoonSoo Kim
2012-07-04 13:00 ` Pekka Enberg
2012-07-04 13:00 ` Pekka Enberg
2012-07-04 14:30 ` JoonSoo Kim
2012-07-04 14:30 ` JoonSoo Kim
2012-07-04 15:08 ` Pekka Enberg
2012-07-04 15:08 ` Pekka Enberg
2012-07-04 15:26 ` Eric Dumazet
2012-07-04 15:26 ` Eric Dumazet
2012-07-04 15:48 ` JoonSoo Kim
2012-07-04 15:48 ` JoonSoo Kim
2012-07-04 16:15 ` Eric Dumazet
2012-07-04 16:15 ` Eric Dumazet
2012-07-04 16:24 ` JoonSoo Kim
2012-07-04 16:24 ` JoonSoo Kim
2012-07-04 15:45 ` JoonSoo Kim
2012-07-04 15:45 ` JoonSoo Kim
2012-07-04 15:59 ` Pekka Enberg
2012-07-04 15:59 ` Pekka Enberg
2012-07-04 16:04 ` JoonSoo Kim
2012-07-04 16:04 ` JoonSoo Kim
2012-08-10 9:35 ` [PATCH BlueZ V5 1/5] AVRCP: Add TG Record to support AVRCP Browsing Vani-dineshbhai PATEL
2012-08-13 11:27 ` Luiz Augusto von Dentz
2012-08-13 11:49 ` Michal.Labedzki
2012-08-13 12:15 ` Luiz Augusto von Dentz
2012-09-20 7:28 ` [PATCH] mac80211 : Fix Ibss debug message Tx authentication yes
2012-09-20 7:55 ` Johannes Berg
2012-11-16 8:53 ` [PATCH] python: fix for Security Advisory - python - CVE-2012-2135 yanjun.zhu
2012-11-16 12:21 ` Otavio Salvador
2012-11-19 2:26 ` yzhu1
2012-11-19 2:36 ` yzhu1
2012-11-19 10:21 ` Otavio Salvador
2012-11-29 14:07 ` Paul Eggleton
2012-11-30 2:49 ` yzhu1
2013-02-07 17:33 ` [PATCH 00/10] usb: ehci: more bus glues as separate modules manjunath.goudar at linaro.org
2013-02-07 20:13 ` Ezequiel Garcia
2013-02-08 15:23 ` Alan Stern
[not found] ` <1360258447-27247-1-git-send-email-yes>
2013-02-07 17:33 ` [PATCH 01/10] USB:Changed omap2plus_defconfig to support OMAP USB static driver manjunath.goudar at linaro.org
2013-02-07 17:33 ` [PATCH 02/10] USB: EHCI: make ehci-omap a separate driver manjunath.goudar at linaro.org
2013-02-08 7:42 ` Felipe Balbi
2013-02-08 8:56 ` Roger Quadros
2013-02-07 17:34 ` [PATCH 03/10] USB: EHCI: make ehci-spear " manjunath.goudar at linaro.org
2013-02-08 4:27 ` Viresh Kumar
2013-02-07 17:34 ` [PATCH 04/10] USB: EHCI: make ehci-orion " manjunath.goudar at linaro.org
2013-02-07 17:34 ` manjunath.goudar
2013-02-07 19:41 ` Arnd Bergmann
2013-02-07 19:41 ` Arnd Bergmann
2013-02-08 10:38 ` Florian Fainelli
2013-02-08 10:38 ` Florian Fainelli
2013-02-07 17:34 ` [PATCH 05/10] USB: EHCI: make ehci-atmel " manjunath.goudar at linaro.org
2013-02-07 17:34 ` manjunath.goudar
2013-02-08 2:58 ` Bo Shen
2013-02-08 2:58 ` Bo Shen
2013-06-12 11:53 ` Jean-Christophe PLAGNIOL-VILLARD
2013-06-12 11:53 ` Jean-Christophe PLAGNIOL-VILLARD
2013-02-07 17:34 ` [PATCH 06/10] USB: EHCI: make ehci-s5p " manjunath.goudar at linaro.org
2013-02-07 18:49 ` Stephen Warren
2013-02-07 17:34 ` [PATCH 07/10] USB: EHCI: make ehci-mv " manjunath.goudar at linaro.org
2013-02-07 17:34 ` manjunath.goudar
2013-02-07 17:34 ` [PATCH 08/10] USB: EHCI: make ehci-vt8500 " manjunath.goudar at linaro.org
2013-02-07 17:34 ` manjunath.goudar
2013-02-07 18:54 ` Tony Prisk
2013-02-07 18:54 ` Tony Prisk
2013-02-07 17:34 ` [PATCH 09/10] USB: EHCI: make ehci-msm " manjunath.goudar at linaro.org
2013-02-07 17:34 ` manjunath.goudar
2013-02-07 18:48 ` Stephen Warren
2013-02-07 18:48 ` Stephen Warren
2013-02-07 19:05 ` David Brown
2013-02-07 19:05 ` David Brown
2013-02-07 17:34 ` [PATCH 10/10] USB: EHCI: make ehci-w90X900 " manjunath.goudar at linaro.org
2013-02-07 17:34 ` manjunath.goudar
2013-03-09 15:39 ` [meta-fsl-arm][PATCH] imx-base: add imx6dl mapping for firmware John Weber
2013-03-09 19:05 ` Otavio Salvador
2013-03-12 19:16 ` [fsl-community-bsp-base][PATCH] Add Wandboard Dual to README John Weber
2013-03-12 19:20 ` Otavio Salvador
2013-03-16 13:45 ` [meta-fsl-arm-extra][PATCH] linux-imx (3.0.35): fix sdhc platform data John Weber
2013-03-16 13:45 ` [meta-fsl-arm-extra][PATCH] linux-imx (3.0.35): remove staging driver for brcm80211 John Weber
2013-03-16 14:39 ` Otavio Salvador
2013-03-17 1:08 ` John Weber
2013-03-16 13:45 ` [meta-fsl-arm-extra][PATCH] linux-imx (3.0.35): add brcm80211 driver backported from v3.5 John Weber
2013-03-16 13:45 ` [meta-fsl-arm-extra][PATCH] linux-imx (3.0.35): enable brcm wifi in wandboard dual defconfig John Weber
2013-03-16 14:32 ` Otavio Salvador
2013-03-16 13:45 ` [meta-fsl-arm-extra][PATCH] linux-imx (3.0.35): wandboard: add brcm80211 support to bbappend John Weber
2013-03-16 14:31 ` Otavio Salvador
2013-03-16 13:45 ` [meta-fsl-arm-extra][PATCH] linux-firmware: add support for bcm4329 John Weber
2013-03-16 14:31 ` Otavio Salvador
2013-03-17 0:40 ` John Weber
2013-03-16 13:45 ` [meta-fsl-arm-extra][PATCH] conf/machine: add firmware rrecomends to wandboard-dual John Weber
2013-03-16 14:23 ` [meta-fsl-arm-extra][PATCH] linux-imx (3.0.35): fix sdhc platform data Otavio Salvador
2013-03-18 20:25 ` [meta-fsl-arm-extra][PATCH v2 0/5] Enable wifi support for Wandboard Dual John Weber
2013-03-18 20:25 ` [meta-fsl-arm-extra][PATCH v2 1/5] linux-imx (3.0.35): wandboard: fix sdhc platform data John Weber
2013-03-18 20:25 ` [meta-fsl-arm-extra][PATCH v2 2/5] linux-imx (3.0.35): wandboard: replace brcm80211 driver John Weber
2013-03-18 20:25 ` [meta-fsl-arm-extra][PATCH v2 3/5] linux-firmware: Add bbappend to include Broadcom wifi drivers John Weber
2013-03-18 20:25 ` [meta-fsl-arm-extra][PATCH v2 4/5] wandboard-wifi-support: add nvram file and create firmware links John Weber
2013-03-18 20:25 ` [meta-fsl-arm-extra][PATCH v2 5/5] wandboard-dual: Add wandboard-wifi-support to machine John Weber
2013-03-22 3:05 ` [meta-fsl-arm-extra][PATCH v2 0/5] Enable wifi support for Wandboard Dual Otavio Salvador
2013-03-22 8:13 ` Eric Bénard
2013-03-22 12:30 ` Otavio Salvador
2013-03-22 14:17 ` Eric Bénard
2013-03-22 14:23 ` Eric Bénard
2013-03-23 15:44 ` Otavio Salvador
2013-03-25 2:18 ` Fabio Estevam
2013-03-25 2:20 ` John Weber
2013-06-10 9:17 ` [PATCH v2 00/11] ARM:STixxxx: Add STixxxx platform and board support Srinivas KANDAGATLA
2013-06-10 9:17 ` Srinivas KANDAGATLA
2013-06-10 9:21 ` [PATCH v2 01/11] serial:st-asc: Add ST ASC driver Srinivas KANDAGATLA
2013-06-10 9:21 ` Srinivas KANDAGATLA
2013-06-10 9:35 ` Russell King - ARM Linux
2013-06-10 9:35 ` Russell King - ARM Linux
2013-06-10 9:35 ` Russell King - ARM Linux
2013-06-10 11:53 ` Srinivas KANDAGATLA
2013-06-10 11:53 ` Srinivas KANDAGATLA
2013-06-10 9:22 ` [PATCH v2 04/11] mfd:stixxxx-syscfg: Add ST System Configuration support Srinivas KANDAGATLA
2013-06-10 9:22 ` Srinivas KANDAGATLA
[not found] ` <1370856147-6552-1-git-send-email-srinivas.kandagatla-qxv4g6HH51o@public.gmane.org>
2013-06-10 13:16 ` Linus Walleij
2013-06-10 13:16 ` Linus Walleij
2013-06-10 13:52 ` Srinivas KANDAGATLA
2013-06-10 13:52 ` Srinivas KANDAGATLA
2013-06-10 14:02 ` Arnd Bergmann
2013-06-10 14:02 ` Arnd Bergmann
2013-06-10 15:51 ` Srinivas KANDAGATLA
2013-06-10 15:51 ` Srinivas KANDAGATLA
2013-06-11 7:41 ` Srinivas KANDAGATLA
2013-06-11 7:41 ` Srinivas KANDAGATLA
2013-06-10 9:22 ` [PATCH v2 05/11] pinctrl:stixxxx: Add pinctrl and pinconf support Srinivas KANDAGATLA
2013-06-10 9:22 ` Srinivas KANDAGATLA
[not found] ` <1370856161-6600-1-git-send-email-srinivas.kandagatla-qxv4g6HH51o@public.gmane.org>
2013-06-16 12:17 ` Linus Walleij
2013-06-16 12:17 ` Linus Walleij
2013-06-17 13:31 ` Srinivas KANDAGATLA [this message]
2013-06-17 13:31 ` Srinivas KANDAGATLA
[not found] ` <51BF0FC2.4000601-qxv4g6HH51o@public.gmane.org>
2013-06-17 16:27 ` Linus Walleij
2013-06-17 16:27 ` Linus Walleij
2013-06-10 9:26 ` =?yes?q?=5BPATCH=20v2=2006/11=5D=20ARM=3Astixxxx=3A=20Add=20STiH415=20SOC=20support?= Srinivas KANDAGATLA
2013-06-10 9:26 ` =?yes?q?=5BPATCH=20v2=2006/11=5D=20ARM=3Astixxxx=3A=20Add=20STiH415=20SOC=20support?= Srinivas KANDAGATLA
2013-06-10 9:55 ` [PATCH v2 06/11] ARM:stixxxx: Add STiH415 SOC support Michal Simek
2013-06-10 9:55 ` Michal Simek
2013-06-10 11:08 ` Michal Simek
2013-06-10 11:08 ` Michal Simek
[not found] ` <CAHTX3d+dk3W_9b7SVUokWq4KYXnj=Z1=WPj5zJ-gUvJqqwE=+Q@mail.gmail.com>
2013-06-10 11:46 ` Srinivas KANDAGATLA
2013-06-10 11:46 ` Srinivas KANDAGATLA
2013-06-10 11:46 ` Srinivas KANDAGATLA
2013-06-10 23:19 ` Russell King - ARM Linux
2013-06-10 23:19 ` Russell King - ARM Linux
2013-06-10 23:19 ` Russell King - ARM Linux
2013-06-11 6:50 ` Srinivas KANDAGATLA
2013-06-11 6:50 ` Srinivas KANDAGATLA
2013-06-11 6:50 ` Srinivas KANDAGATLA
2013-06-13 11:56 ` Russell King - ARM Linux
2013-06-13 11:56 ` Russell King - ARM Linux
2013-06-13 11:56 ` Russell King - ARM Linux
2013-06-13 12:41 ` Srinivas KANDAGATLA
2013-06-13 12:41 ` Srinivas KANDAGATLA
2013-06-13 12:41 ` Srinivas KANDAGATLA
2013-06-13 12:47 ` Linus Walleij
2013-06-13 12:47 ` Linus Walleij
2013-06-13 12:47 ` Linus Walleij
[not found] ` <1370856381-6644-1-git-send-email-srinivas.kandagatla-qxv4g6HH51o@public.gmane.org>
2013-06-10 12:43 ` Linus Walleij
2013-06-10 12:43 ` Linus Walleij
[not found] ` <CACRpkdZ-xnDO+bte4tyKDWwY4A_qWUhLru3dUmuY9MQwseP3uQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-06-10 16:38 ` Srinivas KANDAGATLA
2013-06-10 16:38 ` Srinivas KANDAGATLA
[not found] ` <51B6011E.1060909-qxv4g6HH51o@public.gmane.org>
2013-06-14 7:31 ` Srinivas KANDAGATLA
2013-06-14 7:31 ` Srinivas KANDAGATLA
[not found] ` <51BAC6EC.8000703-qxv4g6HH51o@public.gmane.org>
2013-06-19 18:59 ` Linus Walleij
2013-06-19 18:59 ` Linus Walleij
2013-06-10 9:27 ` [PATCH v2 07/11] ARM:stixxxx: Add STiH416 " Srinivas KANDAGATLA
2013-06-10 9:27 ` Srinivas KANDAGATLA
2013-06-10 13:52 ` Arnd Bergmann
2013-06-10 13:52 ` Arnd Bergmann
2013-06-10 16:17 ` Srinivas KANDAGATLA
2013-06-10 16:17 ` Srinivas KANDAGATLA
2013-06-14 7:12 ` Srinivas KANDAGATLA
2013-06-14 7:12 ` Srinivas KANDAGATLA
2013-06-19 18:34 ` Linus Walleij
2013-06-19 18:34 ` Linus Walleij
[not found] ` <1370855828-5318-1-git-send-email-srinivas.kandagatla-qxv4g6HH51o@public.gmane.org>
2013-06-10 9:21 ` [PATCH v2 02/11] clocksource:global_timer: Add ARM global timer support Srinivas KANDAGATLA
2013-06-10 9:21 ` Srinivas KANDAGATLA
2013-06-10 9:21 ` Srinivas KANDAGATLA
[not found] ` <1370856087-6452-1-git-send-email-srinivas.kandagatla-qxv4g6HH51o@public.gmane.org>
2013-06-10 13:13 ` Linus Walleij
2013-06-10 13:13 ` Linus Walleij
[not found] ` <CACRpkdbQCRKBzRF4HzNsXHwXCLJJcFZ9T36GPmmYsnX1OfgGRg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-06-10 13:41 ` Srinivas KANDAGATLA
2013-06-10 13:41 ` Srinivas KANDAGATLA
2013-06-11 14:05 ` Srinivas KANDAGATLA
2013-06-11 14:05 ` Srinivas KANDAGATLA
[not found] ` <51B72E9A.6070006-qxv4g6HH51o@public.gmane.org>
2013-06-11 20:13 ` Linus Walleij
2013-06-11 20:13 ` Linus Walleij
2013-06-12 10:45 ` Srinivas KANDAGATLA
2013-06-12 10:45 ` Srinivas KANDAGATLA
2013-06-12 10:45 ` Srinivas KANDAGATLA
2013-06-10 9:21 ` [PATCH v2 03/11] regmap: Add regmap_field APIs Srinivas KANDAGATLA
2013-06-10 9:21 ` Srinivas KANDAGATLA
2013-06-10 9:21 ` Srinivas KANDAGATLA
[not found] ` <1370856118-6503-1-git-send-email-srinivas.kandagatla-qxv4g6HH51o@public.gmane.org>
2013-06-11 10:48 ` Mark Brown
2013-06-11 10:48 ` Mark Brown
2013-06-11 10:48 ` Mark Brown
2013-06-11 11:36 ` Srinivas KANDAGATLA
2013-06-11 11:36 ` Srinivas KANDAGATLA
2013-06-11 11:36 ` Srinivas KANDAGATLA
2013-06-10 9:27 ` [PATCH v2 08/11] ARM:stixxxx: Add DEBUG_LL console support Srinivas KANDAGATLA
2013-06-10 9:27 ` Srinivas KANDAGATLA
2013-06-10 9:27 ` Srinivas KANDAGATLA
2013-06-10 9:28 ` [PATCH v2 10/11] ARM:stih41x: Add B2000 board support Srinivas KANDAGATLA
2013-06-10 9:28 ` Srinivas KANDAGATLA
2013-06-10 9:28 ` Srinivas KANDAGATLA
2013-06-10 9:27 ` [PATCH v2 09/11] ARM:stixxxx: Add stixxxx options to multi_v7_defconfig Srinivas KANDAGATLA
2013-06-10 9:27 ` Srinivas KANDAGATLA
2013-06-10 10:40 ` Mark Rutland
2013-06-10 10:40 ` Mark Rutland
2013-06-10 10:40 ` Mark Rutland
2013-06-10 10:58 ` Srinivas KANDAGATLA
2013-06-10 10:58 ` Srinivas KANDAGATLA
2013-06-10 10:58 ` Srinivas KANDAGATLA
2013-06-10 13:15 ` Mark Rutland
2013-06-10 13:15 ` Mark Rutland
2013-06-10 13:15 ` Mark Rutland
2013-06-13 9:24 ` Srinivas KANDAGATLA
2013-06-13 9:24 ` Srinivas KANDAGATLA
2013-06-13 9:24 ` Srinivas KANDAGATLA
2013-06-17 9:32 ` Mark Rutland
2013-06-17 9:32 ` Mark Rutland
2013-06-17 9:32 ` Mark Rutland
2013-06-10 9:28 ` [PATCH v2 11/11] ARM:stih41x: Add B2020 board support Srinivas KANDAGATLA
2013-06-10 9:28 ` Srinivas KANDAGATLA
2013-06-10 9:28 ` Srinivas KANDAGATLA
2013-09-10 9:25 ` [PATCH 0/1] ideas to improve the write performance of cluster dm-raid1 dongmao zhang
2013-09-10 9:25 ` [PATCH 1/1] improve the performance of dm-log-userspace dongmao zhang
2013-09-12 8:42 ` [PATCH 1/1] OMAPDSS: Return right error during connector probe Sathya Prakash M R
2013-09-16 9:41 ` Tomi Valkeinen
2013-10-28 10:07 ` [PATCH 0/1] patches to improve cluster raid1 performance [V3] dongmao zhang
2013-10-28 10:07 ` [PATCH 1/1] improve the performance of dm-log-userspace dongmao zhang
2013-10-30 1:35 ` Brassow Jonathan
2013-10-28 10:17 ` [PATCH 0/2] cmirror patch to improve cluster raid1 performance[v3] dongmao zhang
2013-10-28 10:17 ` [PATCH 1/2] add integrated_flush support to device-mapper dongmao zhang
2013-10-28 10:17 ` [PATCH 2/2] cmirrord support DM_INTEGRATED_FLUSH dongmao zhang
2013-10-30 1:48 ` Brassow Jonathan
2013-10-30 1:47 ` [PATCH 1/2] add integrated_flush support to device-mapper Brassow Jonathan
2014-01-13 6:51 ` [PATCH 0/2] Optimization on intel HDMI detect and get_modes Ramalingam C
2014-01-13 6:51 ` [PATCH 1/2] drm/i915: HDMI detection based on HPD pin live status Ramalingam C
2014-01-13 6:51 ` [PATCH 2/2] drm/i915: Optimize EDID retrival on detect and get_modes Ramalingam C
2014-01-13 7:29 ` [PATCH 0/2] Optimization on intel HDMI " Daniel Vetter
2014-01-13 9:39 ` Sharma, Shashank
2014-01-13 13:26 ` Daniel Vetter
2014-01-13 17:19 ` Sharma, Shashank
2014-04-09 6:19 ` Wang, Quanxian
2014-04-09 6:50 ` Sharma, Shashank
2014-04-10 6:46 ` Sharma, Shashank
2014-04-10 8:08 ` Daniel Vetter
2014-04-10 8:10 ` Sharma, Shashank
2014-04-10 10:42 ` Wang, Quanxian
[not found] ` <FF3DDC77922A8A4BB08A3BC48A1EA8CB01692A7B@BGSMSX101.gar.corp.intel.com>
2014-04-11 12:58 ` Daniel Vetter
2014-04-11 13:23 ` Sharma, Shashank
2014-04-11 14:22 ` Daniel Vetter
2014-04-11 14:48 ` Sharma, Shashank
2014-07-16 14:29 ` Kumar, Shobhit
2014-08-12 6:40 ` [PATCH v3] uas: replace WARN_ON_ONCE() with lockdep_assert_held() Sanjeev Sharma
2014-08-12 6:40 ` Sanjeev Sharma
2014-08-12 6:28 ` Hans de Goede
2014-08-12 6:37 ` Sharma, Sanjeev
2014-08-19 6:33 ` Sharma, Sanjeev
2014-08-19 6:33 ` Sharma, Sanjeev
2014-08-19 9:30 ` gregkh
[not found] ` <20140819093047.GA991-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2014-08-19 9:38 ` Sharma, Sanjeev
2014-08-19 9:38 ` Sharma, Sanjeev
2014-09-04 7:06 ` Sharma, Sanjeev
2014-09-04 13:50 ` [PATCH] Staging: rtl8192u: fix brace style coding issue in r819xU_firmware.c linux.delve
2014-09-04 13:51 ` [PATCH] Staging: rtl8192u: fix brace style coding issue in r819xU_firmware.c This is a patch to the file r819xU_firmware.c that fixes a brace warning found by checkpatch.pl tool linux.delve
2014-09-04 14:09 ` [PATCH] Staging: rtl8192u: fix brace style coding issue in r819xU_firmware.c Chaitra Ramaiah
2014-09-04 14:09 ` [PATCH] Staging: rtl8192u: fix brace style coding issue in r819xU_firmware.c This is a patch to the file r819xU_firmware.c that fixes a brace warning found by checkpatch.pl tool Chaitra Ramaiah
2014-09-04 14:28 ` Greg KH
2014-09-04 14:33 ` Dan Carpenter
2014-09-04 14:27 ` [PATCH] Staging: rtl8192u: fix brace style coding issue in r819xU_firmware.c Greg KH
2014-10-29 20:28 ` [PATCH v2 0/4] Enable PCI controller for Keystone SoCs Murali Karicheri
2014-10-29 20:28 ` Murali Karicheri
2014-10-29 20:28 ` Murali Karicheri
2014-10-29 20:28 ` [PATCH v2 1/4] ARM: keystone: add pcie related options Murali Karicheri
2014-10-29 20:28 ` Murali Karicheri
2014-10-29 20:28 ` [PATCH v2 2/4] ARM: keystone: defconfig: add options to enable PCI controller Murali Karicheri
2014-10-29 20:28 ` Murali Karicheri
2014-10-29 20:28 ` [PATCH v2 3/4] ARM: dts: keystone: add DT bindings for PCI controller for port 0 Murali Karicheri
2014-10-29 20:28 ` Murali Karicheri
2014-10-29 20:28 ` Murali Karicheri
2014-10-29 20:28 ` [PATCH v2 4/4] ARM: dts: keystone-k2e: add DT bindings for PCI controller for port 1 Murali Karicheri
2014-10-29 20:28 ` Murali Karicheri
2014-10-29 20:28 ` Murali Karicheri
2014-10-29 21:10 ` [PATCH v2 0/4] Enable PCI controller for Keystone SoCs santosh shilimkar
2014-10-29 21:10 ` santosh shilimkar
2015-02-12 7:56 ` [PATCH] pinctrl: mediatek: Fix build error in Mediatek pinctrl driver Hongzhou Yang
2015-02-20 10:04 ` Linus Walleij
2015-02-20 10:04 ` Linus Walleij
2015-02-20 10:04 ` Linus Walleij
2015-02-20 10:04 ` Linus Walleij
2015-07-27 8:16 ` [PATCH v1] mmc: sprd: add MMC host driver for Spreadtrum SoC Billows Wu
2015-10-19 2:27 ` [RFC PATCH] qspinlock: Improve performance by reducing load instruction rollback ling.ma.program
2015-10-19 7:58 ` Ingo Molnar
2015-10-19 9:34 ` Peter Zijlstra
2015-10-19 11:24 ` Ingo Molnar
2015-10-19 17:24 ` Waiman Long
2015-10-20 2:57 ` Ling Ma
2015-10-20 8:48 ` Ingo Molnar
2015-10-21 5:28 ` Ling Ma
2015-10-21 7:54 ` Peter Zijlstra
2015-10-20 9:15 ` Peter Zijlstra
2015-10-19 9:33 ` Peter Zijlstra
2015-10-19 17:20 ` Waiman Long
2015-10-20 3:00 ` Ling Ma
2015-10-19 9:46 ` Peter Zijlstra
2015-10-20 3:03 ` Ling Ma
2015-10-20 3:24 ` Ling Ma
2015-10-20 9:16 ` Peter Zijlstra
2015-10-21 5:30 ` Ling Ma
2015-10-19 17:18 ` Waiman Long
2015-10-20 3:12 ` Ling Ma
2015-10-20 18:55 ` Waiman Long
2015-10-21 5:43 ` Ling Ma
2015-12-31 8:09 ` [RFC PATCH] alispinlock: acceleration from lock integration on multi-core platform ling.ma.program
2016-01-05 18:46 ` Waiman Long
2016-01-08 22:48 ` Ling Ma
2016-01-05 21:18 ` Peter Zijlstra
2016-01-05 21:42 ` One Thousand Gnomes
2016-01-06 8:16 ` Peter Zijlstra
2016-01-06 8:21 ` Peter Zijlstra
2016-01-06 11:24 ` One Thousand Gnomes
2016-01-08 22:44 ` Ling Ma
2016-01-12 13:50 ` One Thousand Gnomes
2016-01-14 8:10 ` Ling Ma
2016-01-19 8:52 ` Ling Ma
2016-01-19 15:36 ` Waiman Long
2016-02-03 4:40 ` Ling Ma
2016-02-03 6:00 ` Ling Ma
2016-02-03 21:42 ` Waiman Long
2016-02-04 7:07 ` Ling Ma
2016-04-05 3:44 ` Ling Ma
2016-04-11 8:00 ` Ling Ma
2016-01-08 23:01 ` Ling Ma
2016-01-08 22:56 ` Ling Ma
2018-12-12 11:35 ` [PATCH] doc: add meson ut enhancements in prog guide Hari Kumar Vemula
2019-01-20 12:04 ` Thomas Monjalon
2019-01-23 6:37 ` [PATCH v2] doc: add meson ut info " Hari Kumar Vemula
2019-01-23 10:53 ` Bruce Richardson
2019-01-24 13:41 ` [PATCH v3] " Hari Kumar Vemula
2019-01-24 14:15 ` Richardson, Bruce
2019-01-25 6:20 ` [PATCH v4] " Hari Kumar Vemula
2019-01-31 14:49 ` Bruce Richardson
2019-02-02 10:28 ` [PATCH v5] " Hari Kumar Vemula
2019-03-04 17:05 ` Bruce Richardson
2019-04-22 22:35 ` [dpdk-dev] " Thomas Monjalon
2019-05-01 11:39 ` Mcnamara, John
2019-06-06 11:59 ` [dpdk-dev] [PATCH v6] " Hari Kumar Vemula
2019-07-08 19:40 ` Thomas Monjalon
2019-07-08 20:18 ` Aaron Conole
2019-07-09 18:57 ` Michael Santana Francisco
2019-07-22 12:39 ` Parthasarathy, JananeeX M
2019-07-22 12:53 ` Thomas Monjalon
2019-07-22 13:53 ` Bruce Richardson
2019-07-23 11:34 ` Parthasarathy, JananeeX M
2019-08-07 13:56 ` [dpdk-dev] [PATCH v7] " Agalya Babu RadhaKrishnan
2019-08-07 14:16 ` Jerin Jacob Kollanukkaran
2019-08-07 15:47 ` Michael Santana Francisco
2019-08-12 12:40 ` [dpdk-dev] [PATCH v8] " Jananee Parthasarathy
2020-02-16 10:28 ` Thomas Monjalon
2019-01-03 12:28 ` [PATCH v2] eal: fix core number validation Hari kumar Vemula
2019-01-03 13:03 ` David Marchand
2019-01-07 7:05 ` Hari Kumar Vemula
2019-01-07 10:25 ` [PATCH v3] " Hari Kumar Vemula
2019-01-10 10:11 ` David Marchand
2019-01-11 14:15 ` [PATCH v4] " Hari Kumar Vemula
2019-01-11 15:06 ` David Marchand
2019-01-14 10:28 ` [PATCH v5] " Hari Kumar Vemula
2019-01-14 14:39 ` David Marchand
2019-01-17 12:13 ` [PATCH v6] " Hari Kumar Vemula
2019-01-17 12:19 ` Bruce Richardson
2019-01-17 12:32 ` David Marchand
2019-01-17 16:31 ` [dpdk-stable] " Thomas Monjalon
2019-01-07 13:01 ` [PATCH] net/bonding: fix create bonded device test failure Hari Kumar Vemula
2019-01-07 18:44 ` Chas Williams
2019-01-08 10:27 ` [dpdk-stable] " Ferruh Yigit
2019-01-08 11:14 ` Vemula, Hari KumarX
2019-01-15 17:37 ` Pattan, Reshma
2019-01-28 7:28 ` [PATCH v2] " Hari Kumar Vemula
2019-01-31 23:40 ` Chas Williams
2019-02-05 13:39 ` [PATCH v3] " Hari Kumar Vemula
2019-02-07 13:34 ` [dpdk-stable] " Ferruh Yigit
[not found] ` <20220630112644.3682066-1-Shreyas.Karmahe@toshiba-tsip.com>
2022-07-01 11:32 ` [isar-cip-core] postinst:Added lines to verify Local and Remote Multi-factor Authentication Jan Kiszka
2022-07-01 11:33 ` Jan Kiszka
2022-07-04 16:51 ` Shreyas.Karmahe
2022-07-05 10:02 ` Jan Kiszka
2022-07-07 10:46 ` Shreyas.Karmahe
2011-05-02 5:59 ARM: pxa168: Add board support for gplugD Tanmay Upadhyay
2011-05-02 5:59 ` [PATCH 1/3] ARM: pxa168: Add support for UART3 Tanmay Upadhyay
2011-05-02 5:59 ` [PATCH 2/3] ARM: pxa168: Add support for Ethernet Tanmay Upadhyay
2011-06-10 13:31 ` Eric Miao
2011-05-02 6:00 ` [PATCH 3/3] ARM: pxa168: Add board support for gplugD Tanmay Upadhyay
2011-06-20 5:55 ` Eric Miao
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=51BF0FC2.4000601@st.com \
--to=srinivas.kandagatla@st.com \
--cc=arnd@arndb.de \
--cc=broonie@kernel.org \
--cc=devicetree-discuss@lists.ozlabs.org \
--cc=grant.likely@linaro.org \
--cc=gregkh@linuxfoundation.org \
--cc=john.stultz@linaro.org \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=mchehab@redhat.com \
--cc=olof@lixom. \
--cc=rob.herring@calxeda.com \
--cc=rob@landley.net \
--cc=sameo@linux.intel.com \
--cc=stephen.gallimore@st.com \
--cc=stuart.menefy@st.com \
--cc=tglx@linutronix.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 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.