video: ARM CLCD: Added dt support to set tim2 register
Subsystems (2)
PATCH 1/1 video: ARM CLCD: Added dt support to set tim2 register
Added code based on linaro tree:
http://git.linaro.org/kernel/linux-linaro-stable.git
with commit id:6846e7822c4cab5a84672baace3b768c2d0db142 at drivers/video/amba-clcd.c. This lets the driver set certain tim2 register bits after reading them from device tree.
--- .../devicetree/bindings/video/arm,pl11x.txt | 17 ++++++++- drivers/video/fbdev/amba-clcd.c | 41 ++++++++++++++++++++++ 2 files changed, 57 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/video/arm,pl11x.txt +16 -1
@@ -35,6 +35,21 @@ Optional properties: cell's memory interface can handle; if not present, the memory interface is fast enough to handle all possible video modes +- tim2: Used to set certain bits in LCDTiming2 register. + It can be TIM2_CLKSEL or TIM2_IOE or both + + TIM2_CLKSEL: This bit drives the CLCDCLKSEL signal. It is the select + signal for the external LCD clock multiplexor. + + TIM2_IOE: Invert output enable: + 0 = CLAC output pin is active HIGH in TFT mode + 1 = CLAC output pin is active LOW in TFT mode. + This bit selects the active polarity of the output enable signal in + TFT mode. In this mode, the CLAC pin is an enable that indicates to + the LCD panel when valid display data is available. In active + display mode, data is driven onto the LCD data lines at the + programmed edge of CLCP when CLAC is in its active state. + Required sub-nodes: - port: describes LCD panel signals, following the common binding
@@ -76,7 +91,7 @@ Example: clocks = <&oscclk1>, <&oscclk2>; clock-names = "clcdclk", "apb_pclk"; max-memory-bandwidth = <94371840>; /* Bps, 1024x768@60 16bpp */ - + tim2 = "TIM2_CLKSEL"; port { clcd_pads: endpoint { remote-endpoint = <&clcd_panel>;
drivers/video/fbdev/amba-clcd.c +41 -0
53 lines not on this page · raw message
Signature · 1 line
2.3.0
PATCH 1/1 video: ARM CLCD: Added support for FBIOPAN_DISPLAY and virtual y resolution
Added code to support FBIOPAN_DISPLAY. Also added yres_virtual parameter to device tree to set the virtual y resolution
--- .../devicetree/bindings/video/arm,pl11x.txt | 4 +++ drivers/video/fbdev/amba-clcd.c | 31 +++++++++++++++++++--- 2 files changed, 31 insertions(+), 4 deletions(-)
Documentation/devicetree/bindings/video/arm,pl11x.txt +4 -0
@@ -50,6 +50,10 @@ Optional properties: display mode, data is driven onto the LCD data lines at the programmed edge of CLCP when CLAC is in its active state. +- yres_virtual: Virtual Y resolution, + It can be used to configure a virtual y resolution. It + must be a value larger than the actual y resolution. + Required sub-nodes: - port: describes LCD panel signals, following the common binding
drivers/video/fbdev/amba-clcd.c +27 -4
@@ -454,6 +454,18 @@ static int clcdfb_mmap(struct fb_info *info,return ret; } +static int clcdfb_pan_display (struct fb_var_screeninfo *var, +struct fb_info *info) +{ +struct clcd_fb *fb; + + info->var = *var; + fb =to_clcd (info); +clcdfb_set_start (fb); + +return 0 ; +} +static struct fb_ops clcdfb_ops = { .owner =THIS_MODULE , .fb_check_var = clcdfb_check_var,
@@ -464,6 +476,7 @@ static struct fb_ops clcdfb_ops = { .fb_copyarea = cfb_copyarea, .fb_imageblit = cfb_imageblit, .fb_mmap = clcdfb_mmap, + .fb_pan_display = clcdfb_pan_display, };static int clcdfb_register (struct clcd_fb *fb)
@@ -517,14 +530,16 @@ static int clcdfb_register(struct clcd_fb *fb) fb->fb.fix.type =FB_TYPE_PACKED_PIXELS ; fb->fb.fix.type_aux =0 ; fb->fb.fix.xpanstep =0 ; - fb->fb.fix.ypanstep =0 ; +if (fb->fb.var.yres_virtual > fb->panel->mode.yres) + fb->fb.fix.ypanstep =1 ; +else + fb->fb.fix.ypanstep =0 ; fb->fb.fix.ywrapstep =0 ; fb->fb.fix.accel =FB_ACCEL_NONE ; fb->fb.var.xres = fb->panel->mode.xres; fb->fb.var.yres = fb->panel->mode.yres; fb->fb.var.xres_virtual = fb->panel->mode.xres; - fb->fb.var.yres_virtual = fb->panel->mode.yres; fb->fb.var.bits_per_pixel = fb->panel->bpp; fb->fb.var.grayscale = fb->panel->grayscale; fb->fb.var.pixclock = fb->panel->mode.pixclock;
@@ -690,7 +705,7 @@ static int clcdfb_of_init_display(struct clcd_fb *fb)struct device_node *endpoint;int err;unsigned int bpp; -u32 max_bandwidth; +u32 max_bandwidth, yres_virtual;u32 tft_r0b0g0[3 ]; fb->panel =devm_kzalloc (&fb->dev->dev,sizeof (*fb->panel),GFP_KERNEL );
@@ -730,6 +745,14 @@ static int clcdfb_of_init_display(struct clcd_fb *fb) fb->panel->width =-1 ; fb->panel->height =-1 ; +/* if yres_virtual property is not specified in device tree, +* set it as the actual y resolution */ +if (of_property_read_u32 (fb->dev->dev.of_node, +"yres_virtual" , &yres_virtual)) + fb->fb.var.yres_virtual = fb->panel->mode.yres; +else + fb->fb.var.yres_virtual = yres_virtual; +if (of_property_read_u32_array (endpoint,"arm,pl11x,tft-r0g0b0-pads" , tft_r0b0g0,ARRAY_SIZE (tft_r0b0g0)) ==0 )
@@ -797,7 +820,7 @@ static int clcdfb_of_dma_setup(struct clcd_fb *fb)if (err)return err; - framesize = fb->panel->mode.xres * fb->panel->mode.yres * + framesize = fb->panel->mode.xres * fb->fb.var.yres_virtual * fb->panel->bpp /8 ; fb->fb.screen_base =dma_alloc_coherent (&fb->dev->dev, framesize, &dma,GFP_KERNEL );
Signature · 6 lines
2.3.0 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH] video: ARM CLCD: Added support for FBIOPAN_DISPLAY and virtual y resolution
Quoted 16 lines · Arun Ramamurthy
Added code to support
FBIOPAN_DISPLAY. Also addedyres_virtualparameter to device tree to set the virtual y resolutionReviewed-by Ray Jui <[email protected]>Reviewed-by Scott Branden <[email protected]>Signed-off-by Arun Ramamurthy <[email protected]>--- .../devicetree/bindings/video/arm,pl11x.txt | 4 +++ drivers/video/fbdev/amba-clcd.c | 31 +++++++++++++++++++--- 2 files changed, 31 insertions(+), 4 deletions(-)Documentation/devicetree/bindings/video/arm,pl11x.txt +0
-0
Documentation/devicetree/bindings/video/arm,pl11x.txt Optional properties: · line 56
Quoted 7 lines
Documentation/devicetree/bindings/video/arm,pl11x.txt +4
-0@@ -50,6 +50,10 @@ Optional properties: display mode, data is driven onto the LCD data lines at the programmed edge of CLCP when CLAC is in its active state. +- yres_virtual: Virtual Y resolution, + It can be used to configure a virtual y resolution. It + must be a value larger than the actual y resolution. +
I'm not sure about this... The word "virtual" never works well with device tree nodes defined as "hardware description".
I understand what you're doing, but adding this property to the display controller's node doesn't sound right. How does this describe hardware? If anywhere, it's more like a job for the panel node?
Pawel
Re: [PATCH] video: ARM CLCD: Added support for FBIOPAN_DISPLAY and virtual y resolution
Quoted 6 lines · Pawel Moll
I'm not sure about this... The word "virtual" never works well with device tree nodes defined as "hardware description".
I understand what you're doing, but adding this property to the display controller's node doesn't sound right. How does this describe hardware? If anywhere, it's more like a job for the panel node?
A better description (and implementation) would be to describe the size of the RAM available for video purposes. The driver can then use the requested virtual X resolution to limit (and/or compute) the virtual Y resolution to allow Y panning/wrapping of the display.
This would match some hardware where the video RAM is indeed a separate physical set of RAM (such as the IM-PD/1).
Signature · 2 lines
FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up according to speedtest.net.
Re: [PATCH] video: ARM CLCD: Added support for FBIOPAN_DISPLAY and virtual y resolution
Quoted 8 lines · Russell King - ARM Linux
Quoted 6 lines · Pawel Moll
I'm not sure about this... The word "virtual" never works well with device tree nodes defined as "hardware description".
I understand what you're doing, but adding this property to the display controller's node doesn't sound right. How does this describe hardware? If anywhere, it's more like a job for the panel node?
I see what you are saying Pawel, I can follow Russell's recommendation of adding a RAM size node called max-memory-available or something similar
Quoted 5 lines
A better description (and implementation) would be to describe the size of the RAM available for video purposes. The driver can then use the requested virtual X resolution to limit (and/or compute) the virtual Y resolution to allow Y panning/wrapping of the display.
In this scenario, where would I specify the virtual X resolution? I am assuming it would be in the panel-timing node as Pawel suggested?
Quoted 3 lines
This would match some hardware where the video RAM is indeed a separate physical set of RAM (such as the IM-PD/1).
Re: [PATCH] video: ARM CLCD: Added support for FBIOPAN_DISPLAY and virtual y resolution
Quoted 13 lines · Arun Ramamurthy
Quoted 8 lines · Russell King - ARM Linux
Quoted 6 lines · Pawel Moll
I'm not sure about this... The word "virtual" never works well with device tree nodes defined as "hardware description".
I understand what you're doing, but adding this property to the display controller's node doesn't sound right. How does this describe hardware? If anywhere, it's more like a job for the panel node?
I see what you are saying Pawel, I can follow Russell's recommendation of adding a RAM size node called max-memory-available or something similar
Quoted 8 lines
Quoted 5 lines
A better description (and implementation) would be to describe the size of the RAM available for video purposes. The driver can then use the requested virtual X resolution to limit (and/or compute) the virtual Y resolution to allow Y panning/wrapping of the display.
In this scenario, where would I specify the virtual X resolution? I am assuming it would be in the panel-timing node as Pawel suggested?
virtual X should default to real X if it's not set, otherwise it should come from the selected mode.
Drivers which get this right are things like acornfb, where we've used ywrap scolling since it was merged.
Signature · 2 lines
FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up according to speedtest.net.
Re: [PATCH] video: ARM CLCD: Added support for FBIOPAN_DISPLAY and virtual y resolution
In reply to Arun RamamurthyQuoted 9 lines · Arun Ramamurthy
Quoted 6 lines · Russell King - ARM Linux
Quoted 4 lines · Pawel Moll
I'm not sure about this... The word "virtual" never works well with device tree nodes defined as "hardware description".
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
I understand what you're doing, but adding this property to the display controller's node doesn't sound right. How does this describe hardware? If anywhere, it's more like a job for the panel node?
I see what you are saying Pawel, I can follow Russell's recommendation of adding a RAM size node called max-memory-available or something similar
We've already got a binding for reserved memory regions for this purpose. And there is also simplefb binding.
Rob
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH] video: ARM CLCD: Added support for FBIOPAN_DISPLAY and virtual y resolution
Quoted 16 lines · Rob Herring
Quoted 14 lines · Arun Ramamurthy
Quoted 11 lines · Russell King - ARM Linux
Quoted 7 lines · Pawel Moll
I'm not sure about this... The word "virtual" never works well with device tree nodes defined as "hardware description".
I understand what you're doing, but adding this property to the display controller's node doesn't sound right. How does this describe hardware? If anywhere, it's more like a job for the panel node?
Quoted 6 lines
Quoted 2 lines
I see what you are saying Pawel, I can follow Russell's recommendation of adding a RAM size node called max-memory-available or something similar
We've already got a binding for reserved memory regions for this purpose. And there is also simplefb binding.
Rob, I am not sure what binding you are referring to, could you be more specific? Also how does the simplefb bindings apply to me considering that is a separate driver? Thanks
Quoted 2 lines
Rob
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
PATCH 1/1 video: ARM CLCD: Added support for FBIO_WAITFORVSYNC
In reply to Arun RamamurthyAdded ioctl and interrupt handler functions to support FBIO_WAITFORVSYNC Also corrected documentation to make interrupts and interrupt-names optional as they are not required properties.
--- .../devicetree/bindings/video/arm,pl11x.txt | 11 +-- drivers/video/fbdev/amba-clcd.c | 82 ++++++++++++++++++++++ include/linux/amba/clcd.h | 4 ++ 3 files changed, 89 insertions(+), 8 deletions(-)
Documentation/devicetree/bindings/video/arm,pl11x.txt +3 -8
@@ -10,14 +10,6 @@ Required properties: - reg: base address and size of the control registers block -- interrupt-names: either the single entry "combined" representing a - combined interrupt output (CLCDINTR), or the four entries - "mbe", "vcomp", "lnbu", "fuf" representing the individual - CLCDMBEINTR, CLCDVCOMPINTR, CLCDLNBUINTR, CLCDFUFINTR interrupts - -- interrupts: contains an interrupt specifier for each entry in - interrupt-names - - clock-names: should contain "clcdclk" and "apb_pclk" - clocks: contains phandle and clock specifier pairs for the entries
@@ -54,6 +46,9 @@ Optional properties: It can be used to configure a virtual y resolution. It must be a value larger than the actual y resolution. +- interrupts: contains an interrupt specifier for the clcd vcomp interrupt + This is required for the driver to handle FBIO_WAITFORVSYNC ioctls. + Required sub-nodes: - port: describes LCD panel signals, following the common binding
drivers/video/fbdev/amba-clcd.c +82 -0
106 lines not on this page · raw message
include/linux/amba/clcd.h +4 -0
@@ -28,6 +28,8 @@#define CLCD_PL110_UCUR 0x00000028#define CLCD_PL110_LCUR 0x0000002C +#define CLCD_PL111_IENB_VCOMP (1 << 3) +#define CLCD_PL111_CNTL 0x00000018#define CLCD_PL111_IENB 0x0000001c#define CLCD_PL111_RIS 0x00000020
@@ -184,6 +186,8 @@ struct clcd_fb {u32 clcd_cntl;u32 cmap[16 ];bool clk_enabled; +struct completion wait; +int lcd_irq; };static inline void clcdfb_decode (struct clcd_fb *fb,struct clcd_regs *regs)
Signature · 1 line
2.3.0
Re: [PATCH] video: ARM CLCD: Added support for FBIO_WAITFORVSYNC
Quoted 3 lines · Arun Ramamurthy
Added ioctl and interrupt handler functions to support
FBIO_WAITFORVSYNCAlso corrected documentation to make interrupts and interrupt-names optional as they are not required properties.
You may not be aware of this fact, but its the "documentation" what defines what properties are required...
Quoted 18 lines
--- .../devicetree/bindings/video/arm,pl11x.txt | 11 +-- drivers/video/fbdev/amba-clcd.c | 82 ++++++++++++++++++++++ include/linux/amba/clcd.h | 4 ++ 3 files changed, 89 insertions(+), 8 deletions(-)Documentation/devicetree/bindings/video/arm,pl11x.txt +0
-1@@ -10,14 +10,6 @@ Required properties: - reg: base address and size of the control registers block -- interrupt-names: either the single entry "combined" representing a
Documentation/devicetree/bindings/video/arm,pl11x.txt Required properties: · line 15
Quoted 10 lines
Documentation/devicetree/bindings/video/arm,pl11x.txt +0
-7- combined interrupt output (CLCDINTR), or the four entries - "mbe", "vcomp", "lnbu", "fuf" representing the individual - CLCDMBEINTR, CLCDVCOMPINTR, CLCDLNBUINTR, CLCDFUFINTR interrupts - -- interrupts: contains an interrupt specifier for each entry in - interrupt-names - - clock-names: should contain "clcdclk" and "apb_pclk" - clocks: contains phandle and clock specifier pairs for the entries
So no, you can't do that.
Pawel
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH] video: ARM CLCD: Added support for FBIO_WAITFORVSYNC
Quoted 8 lines · Pawel Moll
Quoted 3 lines · Arun Ramamurthy
Added ioctl and interrupt handler functions to support
FBIO_WAITFORVSYNCAlso corrected documentation to make interrupts and interrupt-names optional as they are not required properties.You may not be aware of this fact, but its the "documentation" what defines what properties are required...
Pawel, I was not aware of that. Since the driver code did not require the interrupts or interrupt-names bindings to load properly, I moved it out of the required properties. I can remove that change.
Any other comments on this change? Thanks
Quoted 34 lines
Quoted 18 lines
Reviewed-by Ray Jui <[email protected]>Reviewed-by Scott Branden <[email protected]>Signed-off-by Arun Ramamurthy <[email protected]>0--- .../devicetree/bindings/video/arm,pl11x.txt | 11 +-- drivers/video/fbdev/amba-clcd.c | 82 ++++++++++++++++++++++ include/linux/amba/clcd.h | 4 ++ 3 files changed, 89 insertions(+), 8 deletions(-)Documentation/devicetree/bindings/video/arm,pl11x.txt +0
-1@@ -10,14 +10,6 @@ Required properties: - reg: base address and size of the control registers block -- interrupt-names: either the single entry "combined" representing aDocumentation/devicetree/bindings/video/arm,pl11x.txt Required properties: · line 15
Quoted 10 lines
Documentation/devicetree/bindings/video/arm,pl11x.txt +0
-7- combined interrupt output (CLCDINTR), or the four entries - "mbe", "vcomp", "lnbu", "fuf" representing the individual - CLCDMBEINTR, CLCDVCOMPINTR, CLCDLNBUINTR, CLCDFUFINTR interrupts - -- interrupts: contains an interrupt specifier for each entry in - interrupt-names - - clock-names: should contain "clcdclk" and "apb_pclk" - clocks: contains phandle and clock specifier pairs for the entriesSo no, you can't do that.
Pawel
Re: [PATCH] video: ARM CLCD: Added support for FBIO_WAITFORVSYNC
Quoted 6 lines · Arun Ramamurthy
Quoted 5 lines · Pawel Moll
Quoted 3 lines · Arun Ramamurthy
Added ioctl and interrupt handler functions to support
FBIO_WAITFORVSYNCAlso corrected documentation to make interrupts and interrupt-names optional as they are not required properties.
Quoted 6 lines
Quoted 3 lines
You may not be aware of this fact, but its the "documentation" what defines what properties are required...
Pawel, I was not aware of that. Since the driver code did not require the interrupts or interrupt-names bindings to load properly, I moved it out of the required properties. I can remove that change.
Cool. Drivers don't have to use all available properties :-) The interrupt names are required because CLCD can be wired up with a single, combined interrupt or with 4 separate interrupt lines (see "A.4. On-chip signals", in the TRM) and the binding has to provide ways of describing this. Yes, one could say "1 number == combined, 4 numbers == split", but I personally prefer to be explicit than implicit.
Just request the interrupt by name and you'll be fine.
Quoted 1 line
Any other comments on this change? Thanks
I have no experience with the vsync ioctl, so can't really comment on it. One minor thing I did spot is your use of curly brackets in one of the switch cases:
On Wed, 2015-02-25 at 21:01 +0000, Arun Ramamurthy wrote:
@@ -466,6 +468,73 @@ static int clcdfb_pan_display(struct fb_var_screeninfo *var,
drivers/video/fbdev/amba-clcd.c static int clcdfb_pan_display(struct fb_var_screeninfo *var, · line 479
Quoted 12 lines
drivers/video/fbdev/amba-clcd.c +9
-0return 0 ; } +static int clcdfb_ioctl (struct fb_info *info, +unsigned int cmd,unsigned long args) +{ +struct clcd_fb *fb =to_clcd (info); +int retval =0 ; +u32 val, ienb_val; + +switch (cmd) { +case FBIO_WAITFORVSYNC :{
In the line above...
Quoted 17 lines
drivers/video/fbdev/amba-clcd.c +17
-0+if (fb->lcd_irq <=0 ) { + retval = -EINVAL ; +break ; + } +/* disable Vcomp interrupts */ + ienb_val =readl (fb->regs + fb->off_ienb); + ienb_val &= ~CLCD_PL111_IENB_VCOMP ; +writel (ienb_val, fb->regs + fb->off_ienb); + +/* clear Vcomp interrupt */ +writel (CLCD_PL111_IENB_VCOMP , fb->regs +CLCD_PL111_ICR ); + +/* Generate Interrupt at the start of Vsync */ +reinit_completion (&fb->wait); + val =readl (fb->regs + fb->off_cntl); + val &= ~(CNTL_LCDVCOMP (3 )); +writel (val, fb->regs + fb->off_cntl);
drivers/video/fbdev/amba-clcd.c static int clcdfb_pan_display(struct fb_var_screeninfo *var, · line 506
Quoted 10 lines
drivers/video/fbdev/amba-clcd.c +10
-0+ +/* enable Vcomp interrupt */ + ienb_val =readl (fb->regs + fb->off_ienb); + ienb_val |=CLCD_PL111_IENB_VCOMP ; +writel (ienb_val, fb->regs + fb->off_ienb); +if (!wait_for_completion_interruptible_timeout + (&fb->wait,HZ /10 )) + retval = -ETIMEDOUT ; +break ; + }
... and here.
Not sure it's needed?
Pawel
Re: [PATCH] video: ARM CLCD: Added support for FBIO_WAITFORVSYNC
Quoted 14 lines · Pawel Moll
Quoted 6 lines · Arun Ramamurthy
Quoted 5 lines · Pawel Moll
Quoted 3 lines · Arun Ramamurthy
Added ioctl and interrupt handler functions to support
FBIO_WAITFORVSYNCAlso corrected documentation to make interrupts and interrupt-names optional as they are not required properties.Quoted 6 lines
Quoted 3 lines
You may not be aware of this fact, but its the "documentation" what defines what properties are required...
Pawel, I was not aware of that. Since the driver code did not require the interrupts or interrupt-names bindings to load properly, I moved it out of the required properties. I can remove that change.
Quoted 9 lines
Cool. Drivers don't have to use all available properties :-) The interrupt names are required because CLCD can be wired up with a single, combined interrupt or with 4 separate interrupt lines (see "A.4. On-chip signals", in the TRM) and the binding has to provide ways of describing this. Yes, one could say "1 number == combined, 4 numbers == split", but I personally prefer to be explicit than implicit.
Just request the interrupt by name and you'll be fine.
Ok got it, will make the necessary changes
Quoted 53 lines
Quoted 1 line
Any other comments on this change? Thanks
I have no experience with the vsync ioctl, so can't really comment on it. One minor thing I did spot is your use of curly brackets in one of the switch cases:
On Wed, 2015-02-25 at 21:01 +0000, Arun Ramamurthy wrote:
(quoted diff) +0
-0@@ -466,6 +468,73 @@ static int clcdfb_pan_display(struct fb_var_screeninfo *var, > return 0; > }drivers/video/fbdev/amba-clcd.c static int clcdfb_pan_display(struct fb_var_screeninfo *var, · line 479
Quoted 10 lines
drivers/video/fbdev/amba-clcd.c +9
-0+static int clcdfb_ioctl (struct fb_info *info, +unsigned int cmd,unsigned long args) +{ +struct clcd_fb *fb =to_clcd (info); +int retval =0 ; +u32 val, ienb_val; + +switch (cmd) { +case FBIO_WAITFORVSYNC :{In the line above...
Quoted 17 lines
drivers/video/fbdev/amba-clcd.c +17
-0+if (fb->lcd_irq <=0 ) { + retval = -EINVAL ; +break ; + } +/* disable Vcomp interrupts */ + ienb_val =readl (fb->regs + fb->off_ienb); + ienb_val &= ~CLCD_PL111_IENB_VCOMP ; +writel (ienb_val, fb->regs + fb->off_ienb); + +/* clear Vcomp interrupt */ +writel (CLCD_PL111_IENB_VCOMP , fb->regs +CLCD_PL111_ICR ); + +/* Generate Interrupt at the start of Vsync */ +reinit_completion (&fb->wait); + val =readl (fb->regs + fb->off_cntl); + val &= ~(CNTL_LCDVCOMP (3 )); +writel (val, fb->regs + fb->off_cntl);drivers/video/fbdev/amba-clcd.c static int clcdfb_pan_display(struct fb_var_screeninfo *var, · line 506
Quoted 10 lines
drivers/video/fbdev/amba-clcd.c +10
-0+ +/* enable Vcomp interrupt */ + ienb_val =readl (fb->regs + fb->off_ienb); + ienb_val |=CLCD_PL111_IENB_VCOMP ; +writel (ienb_val, fb->regs + fb->off_ienb); +if (!wait_for_completion_interruptible_timeout + (&fb->wait,HZ /10 )) + retval = -ETIMEDOUT ; +break ; + }... and here.
Quoted 2 lines
Not sure it's needed?
No its not needed, I can remove it.
Quoted 3 lines
Pawel
Re: [PATCH] video: ARM CLCD: Added support for FBIO_WAITFORVSYNC
In reply to Pawel MollQuoted 7 lines · Pawel Moll
Quoted 3 lines · Arun Ramamurthy
Added ioctl and interrupt handler functions to support
FBIO_WAITFORVSYNCAlso corrected documentation to make interrupts and interrupt-names optional as they are not required properties.You may not be aware of this fact, but its the "documentation" what defines what properties are required...
Except when docs are wrong. Then dts files win.
Quoted 27 lines
Quoted 27 lines
--- .../devicetree/bindings/video/arm,pl11x.txt | 11 +-- drivers/video/fbdev/amba-clcd.c | 82 ++++++++++++++++++++++ include/linux/amba/clcd.h | 4 ++ 3 files changed, 89 insertions(+), 8 deletions(-)Documentation/devicetree/bindings/video/arm,pl11x.txt +0
-8@@ -10,14 +10,6 @@ Required properties: - reg: base address and size of the control registers block -- interrupt-names: either the single entry "combined" representing a - combined interrupt output (CLCDINTR), or the four entries - "mbe", "vcomp", "lnbu", "fuf" representing the individual - CLCDMBEINTR, CLCDVCOMPINTR, CLCDLNBUINTR, CLCDFUFINTR interrupts - -- interrupts: contains an interrupt specifier for each entry in - interrupt-names - - clock-names: should contain "clcdclk" and "apb_pclk"
Quoted 3 lines
Documentation/devicetree/bindings/video/arm,pl11x.txt Required properties: · line 15
Quoted 1 line
Documentation/devicetree/bindings/video/arm,pl11x.txt +0
-0- clocks: contains phandle and clock specifier pairs for the entriesSo no, you can't do that.
You can't do the other way around (making optional ones required), but I think this is okay if the h/w interrupt lines are not physically connected. However, if it is simply because the driver doesn't use them, then I agree this should not be changed.
Rob
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH] video: ARM CLCD: Added support for FBIO_WAITFORVSYNC
Quoted 38 lines · Rob Herring
Quoted 7 lines · Pawel Moll
Quoted 3 lines · Arun Ramamurthy
Added ioctl and interrupt handler functions to support
FBIO_WAITFORVSYNCAlso corrected documentation to make interrupts and interrupt-names optional as they are not required properties.You may not be aware of this fact, but its the "documentation" what defines what properties are required...
Except when docs are wrong. Then dts files win.
Quoted 27 lines
Quoted 27 lines
Reviewed-by Ray Jui <[email protected]>Reviewed-by Scott Branden <[email protected]>Signed-off-by Arun Ramamurthy <[email protected]>0--- .../devicetree/bindings/video/arm,pl11x.txt | 11 +-- drivers/video/fbdev/amba-clcd.c | 82 ++++++++++++++++++++++ include/linux/amba/clcd.h | 4 ++ 3 files changed, 89 insertions(+), 8 deletions(-)Documentation/devicetree/bindings/video/arm,pl11x.txt +0
-8@@ -10,14 +10,6 @@ Required properties: - reg: base address and size of the control registers block -- interrupt-names: either the single entry "combined" representing a - combined interrupt output (CLCDINTR), or the four entries - "mbe", "vcomp", "lnbu", "fuf" representing the individual - CLCDMBEINTR, CLCDVCOMPINTR, CLCDLNBUINTR, CLCDFUFINTR interrupts - -- interrupts: contains an interrupt specifier for each entry in - interrupt-names - - clock-names: should contain "clcdclk" and "apb_pclk"
Quoted 9 lines
Quoted 3 lines
Documentation/devicetree/bindings/video/arm,pl11x.txt Required properties: · line 15
Quoted 1 line
Documentation/devicetree/bindings/video/arm,pl11x.txt +0
-0- clocks: contains phandle and clock specifier pairs for the entriesSo no, you can't do that.
You can't do the other way around (making optional ones required), but I think this is okay if the h/w interrupt lines are not physically connected. However, if it is simply because the driver doesn't use them, then I agree this should not be changed.
Agreed, I will undo this change in V2
Quoted 2 lines
Rob
Re: [PATCH] video: ARM CLCD: Added support for FBIO_WAITFORVSYNC
In reply to Arun RamamurthyQuoted 9 lines · Arun Ramamurthy
Added ioctl and interrupt handler functions to support
FBIO_WAITFORVSYNCAlso corrected documentation to make interrupts and interrupt-names optional as they are not required properties.--- .../devicetree/bindings/video/arm,pl11x.txt | 11 +--
Please split bindings to separate patches.
Quoted 24 lines
drivers/video/fbdev/amba-clcd.c | 82 ++++++++++++++++++++++ include/linux/amba/clcd.h | 4 ++ 3 files changed, 89 insertions(+), 8 deletions(-)Documentation/devicetree/bindings/video/arm,pl11x.txt +0
-8@@ -10,14 +10,6 @@ Required properties: - reg: base address and size of the control registers block -- interrupt-names: either the single entry "combined" representing a - combined interrupt output (CLCDINTR), or the four entries - "mbe", "vcomp", "lnbu", "fuf" representing the individual - CLCDMBEINTR, CLCDVCOMPINTR, CLCDLNBUINTR, CLCDFUFINTR interrupts - -- interrupts: contains an interrupt specifier for each entry in - interrupt-names - - clock-names: should contain "clcdclk" and "apb_pclk" - clocks: contains phandle and clock specifier pairs for the entries
Documentation/devicetree/bindings/video/arm,pl11x.txt Optional properties: · line 51
Quoted 6 lines
Documentation/devicetree/bindings/video/arm,pl11x.txt +3
-0@@ -54,6 +46,9 @@ Optional properties: It can be used to configure a virtual y resolution. It must be a value larger than the actual y resolution. +- interrupts: contains an interrupt specifier for the clcd vcomp interrupt + This is required for the driver to handle FBIO_WAITFORVSYNC ioctls. +
What happened to interrupt-names?
Rob
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH] video: ARM CLCD: Added support for FBIO_WAITFORVSYNC
Quoted 6 lines · Rob Herring
Quoted 4 lines · Arun Ramamurthy
Added ioctl and interrupt handler functions to support
FBIO_WAITFORVSYNCAlso corrected documentation to make interrupts and interrupt-names optional as they are not required properties.
Quoted 7 lines
Quoted 5 lines
--- .../devicetree/bindings/video/arm,pl11x.txt | 11 +--Please split bindings to separate patches.
Rob, I looked at the history of patches to this driver and all them included changes to the documentation in the same patch so I followed a similar model. I assumed that a separate patch was only required when the documentation was being added from scratch and not when modifying a few lines. Is this not the case?
Quoted 28 lines
Quoted 28 lines
drivers/video/fbdev/amba-clcd.c | 82 ++++++++++++++++++++++ include/linux/amba/clcd.h | 4 ++ 3 files changed, 89 insertions(+), 8 deletions(-)Documentation/devicetree/bindings/video/arm,pl11x.txt +0
-8@@ -10,14 +10,6 @@ Required properties: - reg: base address and size of the control registers block -- interrupt-names: either the single entry "combined" representing a - combined interrupt output (CLCDINTR), or the four entries - "mbe", "vcomp", "lnbu", "fuf" representing the individual - CLCDMBEINTR, CLCDVCOMPINTR, CLCDLNBUINTR, CLCDFUFINTR interrupts - -- interrupts: contains an interrupt specifier for each entry in - interrupt-names - - clock-names: should contain "clcdclk" and "apb_pclk" - clocks: contains phandle and clock specifier pairs for the entries@@ -54,6 +46,9 @@ Optional properties: It can be used to configure a virtual y resolution. It must be a value larger than the actual y resolution.
Quoted 5 lines
Documentation/devicetree/bindings/video/arm,pl11x.txt Optional properties: · line 51
Quoted 3 lines
Documentation/devicetree/bindings/video/arm,pl11x.txt +3
-0+- interrupts: contains an interrupt specifier for the clcd vcomp interrupt + This is required for the driver to handle FBIO_WAITFORVSYNC ioctls. +What happened to interrupt-names?
As mentioned before, these changes to the documentation will be undone in V2. Thanks
Quoted 3 lines
Rob
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
PATCH 1/1 video: ARM CLCD: Correcting timing checks for STN and TFT dispalys
In reply to Arun RamamurthyThe minimum values for timing parameters such as left margin, right margin etc are different for STN and TFT dispalys. This commit fixes a check that does not account for this difference.
--- include/linux/amba/clcd.h | 32 ++++++++++++++++++++++---------- 1 file changed, 22 insertions(+), 10 deletions(-)
include/linux/amba/clcd.h +22 -10
@@ -288,16 +288,28 @@ static inline int clcdfb_check(struct clcd_fb *fb, struct fb_var_screeninfo *var var->xres_virtual = var->xres = (var->xres +15 ) & ~15 ; var->yres_virtual = var->yres = (var->yres +1 ) & ~1 ; -#define CHECK (e,l,h) (var->e < l || var->e > h) -if (CHECK (right_margin, (5 +1 ),256 ) ||/* back porch */ -CHECK (left_margin, (5 +1 ),256 ) ||/* front porch */ -CHECK (hsync_len, (5 +1 ),256 ) || - var->xres >4096 || - var->lower_margin >255 ||/* back porch */ - var->upper_margin >255 ||/* front porch */ - var->vsync_len >32 || - var->yres >1024 ) -return -EINVAL ; +#define CHECK (e, l, h) (var->e < l || var->e > h) +if (!(fb->panel->cntl &CNTL_LCDTFT )) { +if (CHECK (right_margin, (5 +1 ),256 ) ||/* back porch */ +CHECK (left_margin, (5 +1 ),256 ) ||/* front porch */ +CHECK (hsync_len, (5 +1 ),256 ) || + var->xres >4096 || + var->lower_margin >255 ||/* back porch */ + var->upper_margin >255 ||/* front porch */ + var->vsync_len >32 || + var->yres >1024 ) +return -EINVAL ; + }else { +if (CHECK (right_margin,1 ,256 ) ||/* back porch */ +CHECK (left_margin,1 ,256 ) ||/* front porch */ +CHECK (hsync_len,1 ,256 ) || + var->xres >4096 || + var->lower_margin >255 ||/* back porch */ + var->upper_margin >255 ||/* front porch */ + var->vsync_len >32 || + var->yres >1024 ) +return -EINVAL ; + }#undef CHECK/* single panel mode: PCD = max(PCD, 1) */
Signature · 1 line
2.3.0
Quoted 28 lines · Arun Ramamurthy
Added code based on linaro tree:
http://git.linaro.org/kernel/linux-linaro-stable.git
with commit id:6846e7822c4cab5a84672baace3b768c2d0db142 atdrivers/video/amba-clcd.c. This lets the driver set certain tim2 register bits after reading them from device tree.--- .../devicetree/bindings/video/arm,pl11x.txt | 17 ++++++++- drivers/video/fbdev/amba-clcd.c | 41 ++++++++++++++++++++++ 2 files changed, 57 insertions(+), 1 deletion(-)Documentation/devicetree/bindings/video/arm,pl11x.txt +5
-0@@ -35,6 +35,21 @@ Optional properties: cell's memory interface can handle; if not present, the memory interface is fast enough to handle all possible video modes +- tim2: Used to set certain bits in LCDTiming2 register. + It can be TIM2_CLKSEL or TIM2_IOE or both + + TIM2_CLKSEL: This bit drives the CLCDCLKSEL signal. It is the select + signal for the external LCD clock multiplexor.
Documentation/devicetree/bindings/video/arm,pl11x.txt Optional properties: · line 52
Quoted 10 lines
Documentation/devicetree/bindings/video/arm,pl11x.txt +10
-0+ + TIM2_IOE: Invert output enable: + 0 = CLAC output pin is active HIGH in TFT mode + 1 = CLAC output pin is active LOW in TFT mode. + This bit selects the active polarity of the output enable signal in + TFT mode. In this mode, the CLAC pin is an enable that indicates to + the LCD panel when valid display data is available. In active + display mode, data is driven onto the LCD data lines at the + programmed edge of CLCP when CLAC is in its active state. +
The existing bindings intentionally avoided quoting internal registers - they are supposed to describe how the hardware is wired up...
So how about something like "arm,pl11x,tft-invert-clac"? Then the driver sets the bit or not, depending on the property existance?
Pawel
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 43 lines · Pawel Moll
Quoted 28 lines · Arun Ramamurthy
Added code based on linaro tree:
http://git.linaro.org/kernel/linux-linaro-stable.git
with commit id:6846e7822c4cab5a84672baace3b768c2d0db142 atdrivers/video/amba-clcd.c. This lets the driver set certain tim2 register bits after reading them from device tree.Reviewed-by Ray Jui <[email protected]>Reviewed-by Scott Branden <[email protected]>Signed-off-by Arun Ramamurthy <[email protected]>--- .../devicetree/bindings/video/arm,pl11x.txt | 17 ++++++++- drivers/video/fbdev/amba-clcd.c | 41 ++++++++++++++++++++++ 2 files changed, 57 insertions(+), 1 deletion(-)Documentation/devicetree/bindings/video/arm,pl11x.txt +5
-0@@ -35,6 +35,21 @@ Optional properties: cell's memory interface can handle; if not present, the memory interface is fast enough to handle all possible video modes +- tim2: Used to set certain bits in LCDTiming2 register. + It can be TIM2_CLKSEL or TIM2_IOE or both + + TIM2_CLKSEL: This bit drives the CLCDCLKSEL signal. It is the select + signal for the external LCD clock multiplexor.Documentation/devicetree/bindings/video/arm,pl11x.txt Optional properties: · line 52
Quoted 10 lines
Documentation/devicetree/bindings/video/arm,pl11x.txt +10
-0+ + TIM2_IOE: Invert output enable: + 0 = CLAC output pin is active HIGH in TFT mode + 1 = CLAC output pin is active LOW in TFT mode. + This bit selects the active polarity of the output enable signal in + TFT mode. In this mode, the CLAC pin is an enable that indicates to + the LCD panel when valid display data is available. In active + display mode, data is driven onto the LCD data lines at the + programmed edge of CLCP when CLAC is in its active state. +The existing bindings intentionally avoided quoting internal registers - they are supposed to describe how the hardware is wired up...
Quoted 3 lines
So how about something like "arm,pl11x,tft-invert-clac"? Then the driver sets the bit or not, depending on the property existance?
Sure, I can change it to two properties called arm,pl11x,tft-invert-clac and arm,pl11x,tft-clksel. Would that be acceptable?
Quoted 2 lines
Pawel
Quoted 8 lines · Arun Ramamurthy
Quoted 6 lines
The existing bindings intentionally avoided quoting internal registers - they are supposed to describe how the hardware is wired up...
So how about something like "arm,pl11x,tft-invert-clac"? Then the driver sets the bit or not, depending on the property existance?
Sure, I can change it to two properties called arm,pl11x,tft-invert-clac and arm,pl11x,tft-clksel. Would that be acceptable?
That would be fine by me :-)
Pawel
Quoted 11 lines · Pawel Moll
Quoted 8 lines · Arun Ramamurthy
Quoted 6 lines
The existing bindings intentionally avoided quoting internal registers - they are supposed to describe how the hardware is wired up...
So how about something like "arm,pl11x,tft-invert-clac"? Then the driver sets the bit or not, depending on the property existance?
Sure, I can change it to two properties called arm,pl11x,tft-invert-clac and arm,pl11x,tft-clksel. Would that be acceptable?
That would be fine by me :-)
Or (after having a look at the TRM) I should rather say: the invert-clac is fine by me :-) but the tft-clksel doesn't work, I afraid.
If I'm not mistaken, there are two problems with it.
Number one: it's not TFT-specific, is it? So it certainly should not have the "tft-" bit.
Number two: setting this bit says "do not use CLCDCLK for the logic; use HCLK instead", correct? If so, have a look at the clock properties. They say:
- clock-names: should contain "clcdclk" and "apb_pclk"
- clocks: contains phandle and clock specifier pairs for the entries in the clock-names property. See
So if your hardware has the reference clock wired to HCLK, and you defining the clocks as "clcdclk", you are (no offence meant ;-) lying :-)
So how about solving the problem by extending the clock-names definition like this (feel free to use own wording):
- clock-names: should contain two clocks, either "clcdclk" or "hclk" (depending on which input is to be used as a reference clock by the controller logic) and "apb_pclk"
That way you're precisely describing the way the hardware is wired up. And the driver simply tries to get clcdclk first, if it's defined - cool, set clksel to 1, if not - try hclk and set clksel to 0. If neither of them is present - bail out.
Does this make any sense?
Pawel
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 25 lines · Pawel Moll
Quoted 11 lines · Pawel Moll
Quoted 8 lines · Arun Ramamurthy
Quoted 6 lines
The existing bindings intentionally avoided quoting internal registers - they are supposed to describe how the hardware is wired up...
So how about something like "arm,pl11x,tft-invert-clac"? Then the driver sets the bit or not, depending on the property existance?
Sure, I can change it to two properties called arm,pl11x,tft-invert-clac and arm,pl11x,tft-clksel. Would that be acceptable?
That would be fine by me :-)
Or (after having a look at the TRM) I should rather say: the invert-clac is fine by me :-) but the tft-clksel doesn't work, I afraid.
If I'm not mistaken, there are two problems with it.
Number one: it's not TFT-specific, is it? So it certainly should not have the "tft-" bit.
Number two: setting this bit says "do not use CLCDCLK for the logic; use HCLK instead", correct? If so, have a look at the clock properties. They say:
Quoted 9 lines
- clock-names: should contain "clcdclk" and "
apb_pclk"- clocks: contains phandle and clock specifier pairs for the entries in the clock-names property. See
So if your hardware has the reference clock wired to HCLK, and you defining the clocks as "clcdclk", you are (no offence meant ;-) lying :-)
No offense taken :)
Quoted 7 lines
So how about solving the problem by extending the clock-names definition like this (feel free to use own wording):
- clock-names: should contain two clocks, either "clcdclk" or "hclk" (depending on which input is to be used as a reference clock by the controller logic) and "
apb_pclk"
Quoted 7 lines
That way you're precisely describing the way the hardware is wired up. And the driver simply tries to get clcdclk first, if it's defined - cool, set clksel to 1, if not - try hclk and set clksel to 0. If neither of them is present - bail out.
Does this make any sense?
This makes sense to me, thank you for the suggestions. I will fix it all up in V2
Quoted 2 lines
Pawel
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 9 lines · Arun Ramamurthy
Quoted 7 lines
That way you're precisely describing the way the hardware is wired up. And the driver simply tries to get clcdclk first, if it's defined - cool, set clksel to 1, if not - try hclk and set clksel to 0. If neither of them is present - bail out.
Does this make any sense?
This makes sense to me, thank you for the suggestions. I will fix it all up in V2
Cool. Just a word of comment to my own words ;-) The "bail out" case was a bad idea - the non-DT use cases more likely than not will have no clock name defined. So, to maintain backward compatibility, the driver will still have to work when no named clock is available. I think the simplest way to do that is to check if "hclk" is available, and use it if it is (setting the clksel accordingly). Otherwise - proceed as it was the case previously.
Pawel
Quoted 25 lines · Pawel Moll
Quoted 11 lines · Pawel Moll
Quoted 8 lines · Arun Ramamurthy
Quoted 6 lines
The existing bindings intentionally avoided quoting internal registers - they are supposed to describe how the hardware is wired up...
So how about something like "arm,pl11x,tft-invert-clac"? Then the driver sets the bit or not, depending on the property existance?
Sure, I can change it to two properties called arm,pl11x,tft-invert-clac and arm,pl11x,tft-clksel. Would that be acceptable?
That would be fine by me :-)
Or (after having a look at the TRM) I should rather say: the invert-clac is fine by me :-) but the tft-clksel doesn't work, I afraid.
If I'm not mistaken, there are two problems with it.
Number one: it's not TFT-specific, is it? So it certainly should not have the "tft-" bit.
Number two: setting this bit says "do not use CLCDCLK for the logic; use HCLK instead", correct? If so, have a look at the clock properties. They say:
Quoted 8 lines
- clock-names: should contain "clcdclk" and "
apb_pclk"- clocks: contains phandle and clock specifier pairs for the entries in the clock-names property. See
So if your hardware has the reference clock wired to HCLK, and you defining the clocks as "clcdclk", you are (no offence meant ;-) lying :-)
No. The CLCD block always takes two clock signals - the AHB bus clock (HCLK) for the slave interface, and a CLCD clock.
The CLCDCLKSEL is a bit which affects a signal sent to the world outside of the CLCD block, which is used to drive an _external_ multiplexer to select the CLCD clock source. (See the description for bit 5 of the LCDTiming2 register.)
So, the clock is still input to the CLCDCLK input, even if it is ultimately derived from HCLK.
Remember, the clock API does not deal with names describing the source of the clock, but the consumer of the clock. The consumer in this case is the PL11x CLCD block, which takes a CLCDCLK input.
Signature · 2 lines
FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up according to speedtest.net.
Quoted 10 lines · Arun Ramamurthy
Added code based on linaro tree:
http://git.linaro.org/kernel/linux-linaro-stable.git
with commit id:6846e7822c4cab5a84672baace3b768c2d0db142 atdrivers/video/amba-clcd.c. This lets the driver set certain tim2 register bits after reading them from device tree.Reviewed-by Ray Jui <[email protected]>Reviewed-by Scott Branden <[email protected]>Signed-off-by Arun Ramamurthy <[email protected]>
I have now implemented this properly in this patch:
http://marc.info/?l=linux-fbdev&m=145459469913983&w=2
Please provide your Tested-by/Reviewed-by/Ack if you're still working on this.
Yours,
Linus Walleij
Hi Linus,
Quoted 14 lines · Linus Walleij
Quoted 10 lines · Arun Ramamurthy
Added code based on linaro tree:
http://git.linaro.org/kernel/linux-linaro-stable.git
with commit id:6846e7822c4cab5a84672baace3b768c2d0db142 atdrivers/video/amba-clcd.c. This lets the driver set certain tim2 register bits after reading them from device tree.Reviewed-by Ray Jui <[email protected]>Reviewed-by Scott Branden <[email protected]>Signed-off-by Arun Ramamurthy <[email protected]>
Quoted 5 lines
I have now implemented this properly in this patch:
http://marc.info/?l=linux-fbdev&m=145459469913983&w=2Please provide your Tested-by/Reviewed-by/Ack if you're still working on this.
Could you please add me to the email thread and I can review it there (I won't have time to test, but I can help to review the code and find time to test later)?
This may be a dumb question, is there any way for me to directly reply to the thread here?
http://marc.info/?l=linux-fbdev&m=145459469913983&w=2
Quoted 4 lines
Yours,
Linus Walleij
Quoted 3 lines · Ray Jui
Could you please add me to the email thread and I can review it there (I won't have time to test, but I can help to review the code and find time to test later)?
OK I will add you to subsequent postings, if any.
Quoted 2 lines
This may be a dumb question, is there any way for me to directly reply to the thread here?
Not easily, I guess it is possible to conjure an SMTP mail with the right in-reply-to message ID but that is so complex hacking that I have no clue how to do it, just ever reached the limit of "a little knowledge is dangerous".
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 9 lines · Linus Walleij
Quoted 2 lines · Ray Jui
Could you please add me to the email thread and I can review it there (I won't have time to test, but I can help to review the code and find time
to
Quoted 1 line
test later)?
OK I will add you to subsequent postings, if any.
Quoted 8 lines
Quoted 2 lines
This may be a dumb question, is there any way for me to directly reply to the thread here?
Not easily, I guess it is possible to conjure an SMTP mail with the right in-reply-to message ID but that is so complex hacking that I have no clue how to do it, just ever reached the limit of "a little knowledge is dangerous".
To reply to a patch find it in patchwork, download it as mbox, open downloaded file with mutt and reply as usual.
Thanks,
Dmitry
Quoted 23 lines · Dmitry Torokhov
On Mon, Feb 15, 2016 at 5:25 AM, Linus Walleij <[email protected] <mailto:[email protected]>> wrote:
On Wed, Feb 10, 2016 at 6:48 PM, Ray Jui <[email protected] <mailto:[email protected]>> wrote:
> Could you please add me to the email thread and I can review it there (I > won't have time to test, but I can help to review the code and find time to > test later)?
OK I will add you to subsequent postings, if any.
> This may be a dumb question, is there any way for me to directly reply to > the thread here?
Not easily, I guess it is possible to conjure an SMTP mail with the right in-reply-to message ID but that is so complex hacking that I have no clue how to do it, just ever reached the limit of "a little knowledge is dangerous".
Quoted 5 lines
To reply to a patch find it in patchwork, download it as mbox, open downloaded file with mutt and reply as usual.
Thanks,
Dmitry
Got it, thanks!
Ray