Re: [PATCH 09/10] MCDE: Add build files and bus

2010-12-01 Thread Linus Walleij
data registration mechanism is in place for the merge window. Else it needs fixing as part of a bigger endavour to root out compile-time platform configuration. Yours Linus Walleij ___ dri-devel mailing list dri-devel@lists.freedesktop.org http

Re: [PATCH 1/6] ux500: convert struct spinlock to spinlock_t

2012-12-01 Thread Linus Walleij
Cc: Linus Walleij linus.wall...@linaro.org Cc: linux-arm-ker...@lists.infradead.org Reported-by: Hauke Mehrtens ha...@hauke-m.de Signed-off-by: Luis R. Rodriguez mcg...@do-not-panic.com Looks correct to me. Acked-by: Linus Walleij linus.wall...@linaro.org Yours, Linus Walleij

Re: [PATCH v6 1/1] video: drm: exynos: Add display-timing node parsing using video helper function

2013-02-28 Thread Linus Walleij
clocks and stub regulators, are perfectly legal, just that they have no effect. Yours, Linus Walleij ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PATCH v9 2/2] video: drm: exynos: Add pinctrl support to fimd

2013-03-01 Thread Linus Walleij
); NAK. The device core will do this for you as of commit ab78029ecc347debbd737f06688d788bd9d60c1d drivers/pinctrl: grab default handles from device core Yours, Linus Walleij ___ dri-devel mailing list dri-devel@lists.freedesktop.org http

Re: [PATCH 3/4] pinctrl: samsung: Remove support for Exynos4415 (SoC not supported anymore)

2017-01-18 Thread Linus Walleij
be instantiated so remove also the drivers. > > Signed-off-by: Krzysztof Kozlowski <k...@kernel.org> It can certainly be instantiated (from old DTBs...) but has no DTS upstream. But I get what you mean. Patch applied, if someone is unhappy they can always s

[RFC PATCH 06/13] pinctrl: pinconf: Add generic helper function for freeing mappings

2016-06-18 Thread Linus Walleij
asonable. Can I apply it in isolation or do you need to keep it in your series with my ACK? Acked-by: Linus Walleij Yours, Linus Walleij

[RFC PATCH 13/13] arm64: tegra: Add DPAUX pinctrl bindings

2016-06-23 Thread Linus Walleij
d so for these devices we don't define any of the generic > pinctrl states (default, idle, etc) because the SOR driver will directly > set the state needed. For I2C clients only the I2C mode is used and so > we can simplify matters by using the generic pinctrl states for default > and

[RFC PATCH 00/13] Add support for Tegra DPAUX pinctrl

2016-06-23 Thread Linus Walleij
u to resolve conflicts against if needed? I have already applied it, but I can rebase and pull that patch out on a separate immutable branch and then merge that branch into my devel and then you can pull it too. Would that work? Yours, Linus Walleij

[RFC PATCH 00/13] Add support for Tegra DPAUX pinctrl

2016-06-23 Thread Linus Walleij
On Thu, Jun 23, 2016 at 10:04 AM, Thierry Reding wrote: > On Thu, Jun 23, 2016 at 09:49:20AM +0200, Linus Walleij wrote: >> On Fri, Jun 17, 2016 at 6:58 PM, Thierry Reding >> wrote: >> >> > Oh wait... there's the pinctrl helper function that is a build- >> &g

[PATCH 2/2] dt-bindings: Add TPO TPG110 binding

2016-02-01 Thread Linus Walleij
This adds device tree bindings for the TPO TPG110 panel found mounted in the Nomadik NHK8815. Signed-off-by: Linus Walleij --- .../bindings/display/panel/tpo,tpg110.txt | 47 ++ 1 file changed, 47 insertions(+) create mode 100644 Documentation/devicetree/bindings

[PATCH 2/2] dt-bindings: Add TPO TPG110 binding

2016-02-13 Thread Linus Walleij
On Tue, Feb 2, 2016 at 5:28 PM, Thierry Reding wrote: > On Mon, Feb 01, 2016 at 09:50:43AM +0100, Linus Walleij wrote: >> +This binding builds on the DPI bindings, adding a few properties >> +as a superset of a DPI. See panel-dpi.txt for the required DPI >> +bindings.

[PATCH 1/3] pinctrl: Intel: add RX invertion config

2016-03-17 Thread Linus Walleij
On Wed, Mar 16, 2016 at 2:34 PM, Daniel Vetter wrote: > On Wed, Mar 16, 2016 at 01:27:49PM +0100, Linus Walleij wrote: >> - What is a HPD interrupt? > > hotplug interrupt, fires when you plug in a cable. > >> - What is a Type-C DP HPD? > > usb type C connector

[PATCH v6 1/1] video: drm: exynos: Add display-timing node parsing using video helper function

2013-03-01 Thread Linus Walleij
clocks and stub regulators, are perfectly legal, just that they have no effect. Yours, Linus Walleij

[PATCH v9 2/2] video: drm: exynos: Add pinctrl support to fimd

2013-03-01 Thread Linus Walleij
ou as of commit ab78029ecc347debbd737f06688d788bd9d60c1d "drivers/pinctrl: grab default handles from device core" Yours, Linus Walleij

[PATCH 00/21] On-demand device registration

2015-06-10 Thread Linus Walleij
On Tue, Jun 2, 2015 at 12:14 PM, Tomeu Vizoso wrote: > On 2 June 2015 at 10:48, Linus Walleij wrote: >> This is what systemd is doing in userspace for starting services: >> ask for your dependencies and wait for them if they are not >> there. So drivers ask for resour

[PATCH] drm/msm/dp: use flags argument of devm_gpiod_get to set direction

2015-06-10 Thread Linus Walleij
. > > Use this to simplify the driver. Furthermore this is one caller less > that stops us making the flags argument to gpiod_get*() mandatory. > > Signed-off-by: Uwe Kleine-König Acked-by: Linus Walleij Yours, Linus Walleij

[PATCH] drm/tilcdc: panel: make better use of gpiod API

2015-06-10 Thread Linus Walleij
or output. > > Furthermore there is devm_gpiod_get_optional which is designed to get > optional gpios. > > Simplify driver accordingly. > > Signed-off-by: Uwe Kleine-König Acked-by: Linus Walleij Yours, Linus Walleij

[PATCH 00/21] On-demand device registration

2015-06-11 Thread Linus Walleij
On Wed, Jun 10, 2015 at 12:19 PM, Tomeu Vizoso wrote: > On 10 June 2015 at 09:30, Linus Walleij wrote: >> regulator_get(...) -> not available, so: >> - identify target regulator provider - this will need instrumentation >> - probe it >> >> It then turns ou

[PATCH 00/21] On-demand device registration

2015-06-11 Thread Linus Walleij
On Thu, Jun 11, 2015 at 12:17 PM, Alexander Holler wrote: > Am 11.06.2015 um 10:12 schrieb Linus Walleij: >> On Wed, Jun 10, 2015 at 10:28 AM, Alexander Holler >> wrote: >>> You would end up with the same problem of deadlocks as currently, and you >>> wou

[PATCH 00/21] On-demand device registration

2015-06-12 Thread Linus Walleij
On Thu, Jun 11, 2015 at 6:40 PM, Alexander Holler wrote: > Am 11.06.2015 um 14:30 schrieb Linus Walleij: >> Certainly it is possible to create deadlocks in this scenario, but the >> scope is not to create an ubreakable system. > > IAnd what happens if you run into a d

[PATCH 00/21] On-demand device registration

2015-06-15 Thread Linus Walleij
me we know what hardware we will boot on at compile time. We discarded that development path years ago. We have no clue, this is resolved at runtime. Alas, people still create super-optimized systems using exactly this knowledge, but it is not our main target here, it is a special optimization case. Yours, Linus Walleij

[v2 1/7] gpiolib: Add support for removing registered consumer lookup table

2015-07-15 Thread Linus Walleij
aintainers > v3: Correct the subject line (Lee jones) > > Cc: Samuel Ortiz > Cc: Linus Walleij > Cc: Alexandre Courbot > Cc: Thierry Reding > Reviewed-by: Alexandre Courbot > Reviewed-by: Linus Walleij > Signed-off-by: Shobhit Kumar Do you plan to take this upstream for th

[PATCH 00/21] On-demand device registration

2015-06-02 Thread Linus Walleij
pts (!) and DMA channels for example.) So if this should be solved it should be solved in an abstract way in the device driver core available for all, then have calls calling out to DT, ACPI, possibly even PCI or USB (as these enumerate devices themselves) to obtain a certain dependency. Yours, Linus Walleij

[RFC 05/15] gpio: move DT parsing code to separate functions

2015-01-13 Thread Linus Walleij
n merits. We moves stuff around a bit in the OF code though. Please remember to send this patch to the linux-gpio list and comaintainer Alexandre Courbot on reposts. (Cc-tags in the patch are good for this.) Yours, Linus Walleij

[PATCH 1/8] drivers/gpio/gpiolib: Add support for removing registered consumer lookup table

2015-05-06 Thread Linus Walleij
ntainers > > Cc: Samuel Ortiz > Cc: Linus Walleij > Cc: Alexandre Courbot > Cc: Thierry Reding > Reviewed-by: Alexandre Courbot > Signed-off-by: Shobhit Kumar Reviewed-by: Linus Walleij Since it is core support I'd prefer to merge this into the GPIO git tree. Is it OK or

[PATCH 3/8] drivers/mfd: Add lookup table for Panel Control as GPIO signal

2015-05-06 Thread Linus Walleij
static (Thierry) > Remove the lookup table during driver remove (Thierry) > > CC: Samuel Ortiz > Cc: Linus Walleij > Cc: Alexandre Courbot > Cc: Thierry Reding > Signed-off-by: Shobhit Kumar Acked-by: Linus Walleij Yours, Linus Walleij

[Intel-gfx] [PATCH 1/8] drivers/gpio/gpiolib: Add support for removing registered consumer lookup table

2015-05-12 Thread Linus Walleij
On Wed, May 6, 2015 at 5:09 PM, Daniel Vetter wrote: > On Wed, May 06, 2015 at 04:49:36PM +0200, Linus Walleij wrote: >> On Wed, Apr 29, 2015 at 3:59 PM, Shobhit Kumar >> wrote: >> >> > In case we unload and load a driver module again that is registerin

[PATCH 3/8] mfd: intel_soc_pmic_core: Add lookup table for Panel Control as GPIO signal

2015-05-12 Thread Linus Walleij
static (Thierry) > Remove the lookup table during driver remove (Thierry) > > v3: Correct the subject line (Lee jones) > > CC: Samuel Ortiz > Cc: Linus Walleij > Cc: Alexandre Courbot > Cc: Thierry Reding > Acked-by: Lee Jones > Signed-off-by: Shobhit Kumar Acked-by: Linus Walleij Yours, Linus Walleij

[PATCH 7/8] drm/i915: Use the CRC gpio for panel enable/disable

2015-05-12 Thread Linus Walleij
the newer gpiod interface(Alexandre) > v3: Remove the redundant checks and unused code (Ville) > > CC: Samuel Ortiz > Cc: Linus Walleij > Cc: Alexandre Courbot > Cc: Thierry Reding > Signed-off-by: Shobhit Kumar Acked-by: Linus Walleij Yours, Linus Walleij

[PATCH] drm/msm: use devm_gpiod_get_optional for optional reset gpio

2015-05-19 Thread Linus Walleij
end dropping this Fixes: > Signed-off-by: Uwe Kleine-König Reviewed-by: Linus Walleij Yours, Linus Walleij

[PATCH 1/6] ux500: convert struct spinlock to spinlock_t

2012-12-01 Thread Linus Walleij
500/ > > WARNING: Symbol version dump /home/mcgrof/linux-next/Module.symvers >is missing; modules will have no dependencies and modversions. > > LD drivers/crypto/ux500/built-in.o > Building modules, stage 2. > MODPOST 0 modules > > Cc:

[PATCH 09/10] MCDE: Add build files and bus

2010-11-30 Thread Linus Walleij
iver adapt to whatever platform data registration mechanism is in place for the merge window. Else it needs fixing as part of a bigger endavour to root out compile-time platform configuration. Yours Linus Walleij

Re: [PATCH 2/2] drm/pl111: Initial drm/kms driver for pl111

2017-03-23 Thread Linus Walleij
ome in and add support for the PL110 systems once this works. (Of course that would be with the aim to deprecate and delete the old fbdev driver in favor of this one.) I can help with some RealView testing along the way to begin with. Yours, Linus Walleij

Re: [PATCH 2/2] drm/pl111: Initial drm/kms driver for pl111

2017-03-24 Thread Linus Walleij
On Fri, Mar 24, 2017 at 12:31 AM, Russell King - ARM Linux <li...@armlinux.org.uk> wrote: > On Thu, Mar 23, 2017 at 10:54:53PM +0100, Linus Walleij wrote: >> Hm, I certainly want it... but it would be unreasonable of me to expect >> Eric to cold-code a big upfront design for

Re: [PATCH v5] drm/pl111: Initial drm/kms driver for pl111

2017-04-12 Thread Linus Walleij
ld mind a small mux clock controller inside the CLCD driver to handle this mux if we need it. It would *maybe* also be possible to add a second "clcdclk2" to the block and make an educated decision on which clock to use in the driver but that is not as elegant as using the clock frame

Re: [PATCH v5] drm/pl111: Initial drm/kms driver for pl111

2017-04-11 Thread Linus Walleij
p redundant "drm" in DRM driver name, hook up > .prepare_fb to the CMA helper so that DMA fences should work. > v5: Move register definitions inside the driver directory, fix build > in COMPILE_TEST and !AMBA mode. > > Signed-off-by: Tom Cooksey <tom.cook...@arm.

[PATCH 3/3] drm/panel: Add Ilitek ILI9322 driver

2017-08-13 Thread Linus Walleij
This adds support for the Ilitek ILI9322 QVGA (320x240) TFT panel driver. This panel driver supports serial or parallel RGB or YUV input and also ITU-T BT.656 input streams. The controller is combined with a physical panel and configured through the device tree. Signed-off-by: Linus Walleij

[PATCH 2/3] drm/panel: Add DT bindings for Ilitek ILI9322

2017-08-13 Thread Linus Walleij
This adds device tree bindings for the Ilitek ILI9322 320x240 TFT panel driver. Cc: devicet...@vger.kernel.org Signed-off-by: Linus Walleij <linus.wall...@linaro.org> --- .../bindings/display/panel/ilitek,ili9322.txt | 120 + 1 file changed, 120 insertions(+)

[PATCH 1/3] dt-bindings: Add Ilitek vendor ID

2017-08-13 Thread Linus Walleij
Ili Technology Corporation (Ilitek) is a vendor of display drivers and touch input controllers for embedded devices. Cc: devicet...@vger.kernel.org Signed-off-by: Linus Walleij <linus.wall...@linaro.org> --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 ins

[PATCH 4/4] ARM: dts: Add TVE/TVC and ILI9322 panel to DIR-685

2017-08-13 Thread Linus Walleij
, as the communication pins to the panel are shared with the flash memory. To access the flash, a separate kernel with the panel disabled and the flash enabled should be booted. The pin control selecting whether to use the lines cannot be altered at runtime due to hardware constraints. Signed-off-by: Linus Walleij

[PATCH 2/4] drm/tve200: Add new driver for TVE200

2017-08-13 Thread Linus Walleij
111 driver and therefore I have mentioned all the ancestor authors in the header file. Signed-off-by: Linus Walleij <linus.wall...@linaro.org> --- Documentation/gpu/index.rst | 1 + Documentation/gpu/tve200.rst | 6 + MAINTAINERS

[PATCH 1/4] drm/tve200: Add DT bindings

2017-08-13 Thread Linus Walleij
This adds device tree bindings for the Faraday TVE200 IP block. This IP block is present in the Gemini ARM SoC and also in some Grain Media GM SoCs. Cc: devicet...@vger.kernel.org Signed-off-by: Linus Walleij <linus.wall...@linaro.org> --- .../devicetree/bindings/display/faraday,tve2

[PATCH 0/4] DRM driver for Faraday TVE200

2017-08-13 Thread Linus Walleij
maintenance model, so I learn how to do this upstream work right with the DRM community. I posted the display driver separately since it is, well a separate business. I guess Thierry collects these drivers, else tell me. Linus Walleij (4): drm/tve200: Add DT bindings drm/tve200: Add new

Re: [PATCH 000/102] Convert drivers to explicit reset API

2017-07-23 Thread Linus Walleij
add a flag, maybe it had been better to try and just slam all users in a single go. But it worked. Yours, Linus Walleij ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PATCH] drm/pl111: Register the clock divider and use it.

2017-04-26 Thread Linus Walleij
to support switching between the two external > + * clock parents. OK so that remains to be done. We discussed this previously so I got a bit confused. The divisor code seems fine, after this we only need some more code to choose the best parent for the divided clock. It seems that what wou

Re: [PATCH v2] drm/pl111: Register the clock divider and use it.

2017-05-10 Thread Linus Walleij
On Tue, May 9, 2017 at 8:18 PM, Eric Anholt <e...@anholt.net> wrote: > Linus Walleij <linus.wall...@linaro.org> writes: > >> On Mon, May 8, 2017 at 9:33 PM, Eric Anholt <e...@anholt.net> wrote: >> >>> This is required for the panel to work on bcm911360

Re: [PATCH] drm/pl111: Add a debugfs node to dump our registers.

2017-05-18 Thread Linus Walleij
ff-by: Eric Anholt <e...@anholt.net> Looks helpful: Reviewed-by: Linus Walleij <linus.wall...@linaro.org> Yours, Linus Walleij ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PATCH] drm/pl111: select DRM_PANEL

2017-05-30 Thread Linus Walleij
tial drm/kms driver for pl111") > Signed-off-by: Arnd Bergmann <a...@arndb.de> Tested-by: Linus Walleij <linus.wall...@linaro.org> I had the same patch in my tree, just haven't had time to send it out. Yours, Linus Walleij

Re: [PATCH v2] drm/pl111: Register the clock divider and use it.

2017-05-08 Thread Linus Walleij
ne. > > v2: Set SET_RATE_PARENT (caught by Linus Walleij), depend on > COMMON_CLK. > > Signed-off-by: Eric Anholt <e...@anholt.net> Reviewed-by: Linus Walleij <linus.wall...@linaro.org> Yours, Linus Walleij ___ dri-devel mailing

Re: [PATCHv5 3/5] dt-bindings: document the CEC GPIO bindings

2017-09-17 Thread Linus Walleij
GPIO_OPEN_DRAIN>; cec-gpios = < 7 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; > + hpd-gpio = < 17 GPIO_ACTIVE_HIGH>; hpd-gpios = .. With these fixups: Reviewed-by: Linus Walleij <linus.wall...@linaro.org> Yours, Linus Walleij ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PATCHv5 4/5] cec-gpio: add HDMI CEC GPIO driver

2017-09-17 Thread Linus Walleij
l --monitor-pin' the CEC traffic can be analyzed. > > But of course it can also be used with any hardware project where the > HDMI CEC line is hooked up to a pull-up gpio line. > > In addition this has (optional) support for tracing HPD changes if the > HPD is connected to a GPIO. > > Signed-o

Re: [PATCH 2/3] drm/panel: Add DT bindings for Ilitek ILI9322

2017-09-20 Thread Linus Walleij
On Sat, Sep 2, 2017 at 11:17 PM, Linus Walleij <linus.wall...@linaro.org> wrote: > On Thu, Aug 17, 2017 at 10:44 PM, Rob Herring <r...@kernel.org> wrote: >> On Sun, Aug 13, 2017 at 01:44:47PM +0200, Linus Walleij wrote: > >>> This adds device tree bindings for t

Re: [PATCH 3/3] drm/panel: Add Ilitek ILI9322 driver

2017-09-20 Thread Linus Walleij
On Sun, Aug 13, 2017 at 1:44 PM, Linus Walleij <linus.wall...@linaro.org> wrote: > This adds support for the Ilitek ILI9322 QVGA (320x240) > TFT panel driver. > > This panel driver supports serial or parallel RGB or > YUV input and also ITU-T BT.656 input streams. > >

Re: [PATCH 1/2] drm: bridge: Add bindings for TI THS8134

2017-10-16 Thread Linus Walleij
ot; > > As mentioned in the review of patch 2/2, would it make sense to also introduce > a ti,ths813x compatible string ? I haven't checked the datasheets so the > answer might very well be no. That should be fine, compatible-properties from the most specific to the most gene

[PATCH 2/2 v2] drm: bridge: Add THS8134A/B support to dumb VGA DAC

2017-10-17 Thread Linus Walleij
the data. Cc: Laurent Pinchart <laurent.pinchart+rene...@ideasonboard.com> Cc: Bartosz Golaszewski <bgolaszew...@baylibre.com> Cc: Maxime Ripard <maxime.rip...@free-electrons.com> Signed-off-by: Linus Walleij <linus.wall...@linaro.org> --- ChangeLog v1->v2: - Alphabetize includ

[PATCH 1/2 v2] drm: bridge: Add bindings for TI THS8134

2017-10-17 Thread Linus Walleij
: Bartosz Golaszewski <bgolaszew...@baylibre.com> Acked-by: Rob Herring <r...@kernel.org> Signed-off-by: Linus Walleij <linus.wall...@linaro.org> --- ChangeLog v1->v2: - Introduce specific-to-general compatible string: compatible = "ti,ths8134a", "ti,ths813x

[PATCH 2/7 v4] drm/pl111: Add all registers to debugfs

2017-09-08 Thread Linus Walleij
This adds all the main control registers to the debugfs register file. This was helpful for my debugging so it will likely help others as well. Reviewed-by: Eric Anholt <e...@anholt.net> Signed-off-by: Linus Walleij <linus.wall...@linaro.org> --- ChangeLog v3->v4: - No changes. C

[PATCH 3/7 v4] drm/pl111: Replace custom connector with panel bridge

2017-09-08 Thread Linus Walleij
with bridges that are not panels as well, and drop a TODO in the code. Reviewed-by: Eric Anholt <e...@anholt.net> Signed-off-by: Linus Walleij <linus.wall...@linaro.org> --- ChangeLog v3->v4: - Drop the surplus drm_bridge_remove(bridge) calls. - Collect Eric's review tag. ChangeLog v

[PATCH 1/7 v4] drm/pl111: Cleanup local header file

2017-09-08 Thread Linus Walleij
The header file contains prototypes for two nonexisting functions. Get rid of them. Reviewed-by: Eric Anholt <e...@anholt.net> Signed-off-by: Linus Walleij <linus.wall...@linaro.org> --- ChangeLog v3->v4: - No changes. ChangeLog v2->v3: - Rebase on DRM-TIP ChangeLog v1->v2:

[PATCH 4/7 v4] drm/pl111: Enable PL110 variant

2017-09-08 Thread Linus Walleij
the two registers so those two need a bit of special handling. Reviewed-by: Eric Anholt <e...@anholt.net> Signed-off-by: Linus Walleij <linus.wall...@linaro.org> --- ChangeLog v3->v4: - No changes. ChangeLog v2->v3: - Rebase on DRM-TIP ChangeLog v1->v2: - Fix static const

[PATCH 6/7 v4] drm/pl111: Add optional variant display en/disable callbacks

2017-09-08 Thread Linus Walleij
The silcon and components around the PL111 may require some variants to perform special set-up of the display. Add two callbacks to manage this. Reviewed-by: Eric Anholt <e...@anholt.net> Signed-off-by: Linus Walleij <linus.wall...@linaro.org> --- ChangeLog v3->v4: - No changes. C

[PATCH 7/7 v4] drm/pl111: Add handling of Versatile platforms

2017-09-08 Thread Linus Walleij
The ARM reference designs in the Versatile family: Integrator, Versatile and RealView can make use of the new DRM driver as well. We just need to create a bit of platform-specific code for them that we isolate to its own file. Reviewed-by: Eric Anholt <e...@anholt.net> Signed-off-by:

[PATCH 5/7 v4] drm/pl111: Insert delay before powering up PL11x

2017-09-08 Thread Linus Walleij
and then CLPOWER should be enabled "after the signals have stabilized" and this is said to be display-dependent. The old codebase uses 20ms. Reviewed-by: Eric Anholt <e...@anholt.net> Signed-off-by: Linus Walleij <linus.wall...@linaro.org> --- ChangeLog v3->v4: - No changes. C

[PATCH 1/7 v3] drm/pl111: Cleanup local header file

2017-09-07 Thread Linus Walleij
The header file contains prototypes for two nonexisting functions. Get rid of them. Reviewed-by: Eric Anholt <e...@anholt.net> Signed-off-by: Linus Walleij <linus.wall...@linaro.org> --- ChangeLog v2->v3: - Rebase on DRM-TIP ChangeLog v1->v2: - Collect Eric's ACK. --- dri

[PATCH 2/7 v3] drm/pl111: Add all registers to debugfs

2017-09-07 Thread Linus Walleij
This adds all the main control registers to the debugfs register file. This was helpful for my debugging so it will likely help others as well. Reviewed-by: Eric Anholt <e...@anholt.net> Signed-off-by: Linus Walleij <linus.wall...@linaro.org> --- ChangeLog v2->v3: - Rebase on DRM-T

[PATCH 6/7 v3] drm/pl111: Add optional variant display en/disable callbacks

2017-09-07 Thread Linus Walleij
The silcon and components around the PL111 may require some variants to perform special set-up of the display. Add two callbacks to manage this. Reviewed-by: Eric Anholt <e...@anholt.net> Signed-off-by: Linus Walleij <linus.wall...@linaro.org> --- ChangeLog v2->v3: - Rebase on DR

[PATCH 4/7 v3] drm/pl111: Enable PL110 variant

2017-09-07 Thread Linus Walleij
the two registers so those two need a bit of special handling. Reviewed-by: Eric Anholt <e...@anholt.net> Signed-off-by: Linus Walleij <linus.wall...@linaro.org> --- ChangeLog v2->v3: - Rebase on DRM-TIP ChangeLog v1->v2: - Fix static const on the variant struct holders. (Had t

[PATCH 3/7 v3] drm/pl111: Replace custom connector with panel bridge

2017-09-07 Thread Linus Walleij
with bridges that are not panels as well, and drop a TODO in the code. Signed-off-by: Linus Walleij <linus.wall...@linaro.org> --- ChangeLog v2->v3: - Rebase on DRM-TIP - Use drm_simple_display_pipe_attach_bridge() as suggested by Daniel Vetter. ChangeLog v1->v2: - Remove the panel

[PATCH 5/7 v3] drm/pl111: Insert delay before powering up PL11x

2017-09-07 Thread Linus Walleij
and then CLPOWER should be enabled "after the signals have stabilized" and this is said to be display-dependent. The old codebase uses 20ms. Reviewed-by: Eric Anholt <e...@anholt.net> Signed-off-by: Linus Walleij <linus.wall...@linaro.org> --- ChangeLog v2->v3: - Rebase on DRM-TIP

Re: [PATCH 2/2] RFC: drm/pl111: Support using the VGA bridge as fallback

2017-09-07 Thread Linus Walleij
On Mon, Sep 4, 2017 at 9:43 AM, Daniel Vetter <dan...@ffwll.ch> wrote: > On Fri, Sep 01, 2017 at 11:46:29AM +0200, Linus Walleij wrote: >> If we cannot find a panel, assume that the output from the >> PL111 is connected directly to a "dumb" VGA connector, &

[PATCH 7/7 v3] drm/pl111: Add handling of Versatile platforms

2017-09-07 Thread Linus Walleij
The ARM reference designs in the Versatile family: Integrator, Versatile and RealView can make use of the new DRM driver as well. We just need to create a bit of platform-specific code for them that we isolate to its own file. Reviewed-by: Eric Anholt <e...@anholt.net> Signed-off-by:

[PATCH 1/7] drm/pl111: Cleanup local header file

2017-08-30 Thread Linus Walleij
The header file contains prototypes for two nonexisting functions. Get rid of them. Signed-off-by: Linus Walleij <linus.wall...@linaro.org> --- drivers/gpu/drm/pl111/pl111_drm.h | 4 1 file changed, 4 deletions(-) diff --git a/drivers/gpu/drm/pl111/pl111_drm.h b/drivers/gpu/drm

[PATCH 0/7] First set of PL111 enhancements

2017-08-30 Thread Linus Walleij
for the Versatile board - Nomadik and its panel - When things work, stepwise move the ARM platforms using this over to the DRM PL111 driver Stuff that gets properly reviewed I can queue on drm-misc myself these days. Linus Walleij (7): drm/pl111: Cleanup local header file drm/pl111: Add all registers

[PATCH 2/7] drm/pl111: Add all registers to debugfs

2017-08-30 Thread Linus Walleij
This adds all the main control registers to the debugfs register file. This was helpful for my debugging so it will likely help others as well. Signed-off-by: Linus Walleij <linus.wall...@linaro.org> --- drivers/gpu/drm/pl111/pl111_debugfs.c | 6 ++ 1 file changed, 6 insertions(+)

[PATCH 3/7] drm/pl111: Replace custom connector with panel bridge

2017-08-30 Thread Linus Walleij
with bridges that are not panels as well, and drop a TODO in the code. Signed-off-by: Linus Walleij <linus.wall...@linaro.org> --- drivers/gpu/drm/pl111/Kconfig | 3 +- drivers/gpu/drm/pl111/Makefile | 3 +- drivers/gpu/drm/pl111/pl111_connector.c

[PATCH 4/7] drm/pl111: Enable PL110 variant

2017-08-30 Thread Linus Walleij
the two registers so those two need a bit of special handling. Signed-off-by: Linus Walleij <linus.wall...@linaro.org> --- drivers/gpu/drm/pl111/pl111_display.c | 27 +++ drivers/gpu/drm/pl111/pl111_drm.h | 17 +++ drivers/gpu/drm/pl111/pl111_drv.c

[PATCH 5/7] drm/pl111: Insert delay before powering up PL11x

2017-08-30 Thread Linus Walleij
DEN before these calls and then CLPOWER after calling them (and the reverse for disabling). Signed-off-by: Linus Walleij <linus.wall...@linaro.org> --- drivers/gpu/drm/pl111/pl111_display.c | 30 +- 1 file changed, 25 insertions(+), 5 deletions(-) diff --git a/drive

[PATCH 6/7] drm/pl111: Add optional variant display en/disable callbacks

2017-08-30 Thread Linus Walleij
The silcon and components around the PL111 may require some variants to perform special set-up of the display. Add two callbacks to manage this. Signed-off-by: Linus Walleij <linus.wall...@linaro.org> --- drivers/gpu/drm/pl111/pl111_display.c | 7 +++ drivers/gpu/drm/pl111/pl111

[PATCH 7/7] drm/pl111: Add handling of Versatile platforms

2017-08-30 Thread Linus Walleij
The ARM reference designs in the Versatile family: Integrator, Versatile and RealView can make use of the new DRM driver as well. We just need to create a bit of platform-specific code for them that we isolate to its own file. Signed-off-by: Linus Walleij <linus.wall...@linaro.org> --- d

Re: [PATCH 2/2] RFC: drm/pl111: Support using the VGA bridge as fallback

2017-09-07 Thread Linus Walleij
On Mon, Sep 4, 2017 at 11:51 AM, Laurent Pinchart <laurent.pinch...@ideasonboard.com> wrote: > On Monday, 4 September 2017 10:43:55 EEST Daniel Vetter wrote: >> On Fri, Sep 01, 2017 at 11:46:29AM +0200, Linus Walleij wrote: >> Wrt the more general problem: They way we s

[PATCH] drm/tve200: Clean up panel bridging

2017-09-07 Thread Linus Walleij
This makes use of the drm_simple_display_pipe_attach_bridge() call and removes the two calls removing the bridge, which were erroneous: they unregister the bridge which is not what we want, we just want to unreference it and that is already handled by the core. Signed-off-by: Linus Walleij

[PATCH v2] drm/tve200: Clean up panel bridging

2017-09-10 Thread Linus Walleij
t;e...@anholt.net> Acked-by: Daniel Vetter <daniel.vet...@ffwll.ch> Signed-off-by: Linus Walleij <linus.wall...@linaro.org> --- ChangeLog v1->v2: - Dropped the encoder field from private data. --- drivers/gpu/drm/tve200/tve200_display.c | 3 --- drivers/gpu/drm/tve200/tve200_drm.h |

Re: [PATCHv4 3/5] dt-bindings: document the CEC GPIO bindings

2017-09-11 Thread Linus Walleij
tive high is implicit. Yours, Linus Walleij ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PATCH] drm: of: always initialize panel in drm_of_find_panel_or_bridge()

2017-09-25 Thread Linus Walleij
) > error: uninitialized symbol 'panel'. > > Signed-off-by: Dan Carpenter <dan.carpen...@oracle.com> Reviewed-by: Linus Walleij <linus.wall...@linaro.org> I am travelling right now but will apply the patch on monday in one week from now. Yours, Linus Walleij

Re: [PATCH][drm-next] drm/tve200: make two functions static

2017-09-25 Thread Linus Walleij
them static. > > Cleans up sparse warnings: > symbol 'tve200_display_disable' was not declared. Should it be static? > symbol 'tve200_display_funcs' was not declared. Should it be static? > > Signed-off-by: Colin Ian King <colin.k...@canonical.com> Reviewed-by: Linus Wallei

Re: [PATCH] drm/tve200: Check for IS_ERR instead of NULL in probe

2017-09-25 Thread Linus Walleij
enter <dan.carpen...@oracle.com> Reviewed-by: Linus Walleij <linus.wall...@linaro.org> I am travelling right now but will apply the patch on monday in one week from now. Yours, Linus Walleij ___ dri-devel mailing list dri-devel@lists.freedeskto

Re: [PATCH v4 09/10] drm/tve200: Use drm_gem_fb_create() and drm_gem_fb_prepare_fb()

2017-09-25 Thread Linus Walleij
On Sun, Sep 24, 2017 at 2:26 PM, Noralf Trønnes <nor...@tronnes.org> wrote: > drm_fb_cma_create() and drm_fb_cma_prepare_fb() are just wrappers now, > use drm_gem_fb_create() and drm_gem_fb_prepare_fb() directly. > > Cc: Linus Walleij <linus.wall...@linaro.org> > Si

Re: [PATCH v4 10/10] drm/fb-cma-helper: Remove unused functions

2017-09-25 Thread Linus Walleij
fb. > > Signed-off-by: Noralf Trønnes <nor...@tronnes.org> > Reviewed-by: Eric Anholt <e...@anholt.net> Reviewed-by: Linus Walleij <linus.wall...@linaro.org> Yours, Linus Walleij ___ dri-devel mailing list dri-devel@lists.

Re: [PATCH] drm: of: always initialize panel in drm_of_find_panel_or_bridge()

2017-09-30 Thread Linus Walleij
) > error: uninitialized symbol 'panel'. > > Signed-off-by: Dan Carpenter <dan.carpen...@oracle.com> Patch applied. Yours, Linus Walleij ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PATCH] drm/tve200: Check for IS_ERR instead of NULL in probe

2017-09-30 Thread Linus Walleij
t;dan.carpen...@oracle.com> Patch applied. Yours, Linus Walleij ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PATCH 2/3] drm/panel: Add DT bindings for Ilitek ILI9322

2017-09-30 Thread Linus Walleij
On Sun, Sep 24, 2017 at 10:36 PM, Rob Herring <r...@kernel.org> wrote: > On Wed, Sep 20, 2017 at 6:56 AM, Linus Walleij <linus.wall...@linaro.org> > wrote: >> On Sat, Sep 2, 2017 at 11:17 PM, Linus Walleij <linus.wall...@linaro.org> >> wrote: >>>&

Re: [PATCH 2/4] drm/tve200: Add new driver for TVE200

2017-08-20 Thread Linus Walleij
tom encoders and what not that I can't really see clearly how to apply it in this case. If you patch the PL111 driver to use the bridge helper I promise I will follow up and patch this driver the same way though! Yours, Linus Walleij ___ dri-devel mailing li

[PATCH 2/4 v2] drm/tve200: Add new driver for TVE200

2017-08-20 Thread Linus Walleij
111 driver and therefore I have mentioned all the ancestor authors in the header file. Acked-by: Daniel Vetter <daniel.vet...@ffwll.ch> Reviewed-by: Eric Anholt <e...@anholt.net> Signed-off-by: Linus Walleij <linus.wall...@linaro.org> --- ChangeLog v1->v2: - Drop .dpms helper as

[PATCH 4/4 v2] ARM: dts: Add TVE/TVC and ILI9322 panel to DIR-685

2017-08-20 Thread Linus Walleij
, as the communication pins to the panel are shared with the flash memory. To access the flash, a separate kernel with the panel disabled and the flash enabled should be booted. The pin control selecting whether to use the lines cannot be altered at runtime due to hardware constraints. Signed-off-by: Linus Walleij

[PATCH 3/4 v2] ARM: dts: Add TVE200 to the Gemini SoC DTSI

2017-08-20 Thread Linus Walleij
The Faraday TVE200 is present in the Gemini SoC, sometimes under the name "TVC". Add it to the SoC DTSI file along with its resources. Signed-off-by: Linus Walleij <linus.wall...@linaro.org> --- ChangeLog v1->v2: - Move the definition of cells to this file as it is part

[PATCH 1/4 v2] drm/tve200: Add DT bindings

2017-08-20 Thread Linus Walleij
This adds device tree bindings for the Faraday TVE200 IP block. This IP block is present in the Gemini ARM SoC and also in some Grain Media GM SoCs. Cc: devicet...@vger.kernel.org Signed-off-by: Linus Walleij <linus.wall...@linaro.org> --- ChangeLog v1->v2: - Fix display port bindi

Re: [PATCHv3 4/5] cec-gpio: add HDMI CEC GPIO driver

2017-08-31 Thread Linus Walleij
t;gpio); This is not needed with the above IN flag. But as said above, maybe you are looking for an open drain output actually. > + if (cec->hpd_gpio >= 0) { > + cec->hpd_irq = gpio_to_irq(cec->hpd_gpio); > + gpio_direction_input(cec->hpd_gpio); Already done if you pass the right flag. This should be IN for sure. Use gpiod_to_irq(). Please include me on subsequent posts, I want to try to use descriptors as much as possible for new drivers. Yours, Linus Walleij ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PATCHv3 3/5] dt-bindings: document the CEC GPIO bindings

2017-08-31 Thread Linus Walleij
in that case it should be stated in the docs and cec-gpio = < 7 GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN> or GPIO_LINE_OPEN_DRAIN if it is not also single-ended. Yours, Linus Walleij ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PATCH] drm/tve200: Pass NULL format_modifier to drm_simple_display_pipe_init

2017-08-31 Thread Linus Walleij
hanks. > But really this entire commit rights thing means committer take care of > this stuff, not maintainers. > > Linus, I also added tve200 to the defconfigs now. Thanks, I was just about to ask how to do it. I will look in drm-rerere folder and try to figure out how this works so I c

Re: [PATCHv4 4/5] cec-gpio: add HDMI CEC GPIO driver

2017-08-31 Thread Linus Walleij
off-by: Hans Verkuil <hans.verk...@cisco.com> This looks nice! Reviewed-by: Linus Walleij <linus.wall...@linaro.org> Yours, Linus Walleij ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

  1   2   3   4   5   6   >