<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/gpu/drm/tilcdc/tilcdc_panel.c, branch linux-4.7.y</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=linux-4.7.y</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=linux-4.7.y'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2016-02-25T14:39:47+00:00</updated>
<entry>
<title>drm/tilcdc: Use devm_kzalloc() and devm_kcalloc() for private data</title>
<updated>2016-02-25T14:39:47+00:00</updated>
<author>
<name>Jyri Sarha</name>
<email>jsarha@ti.com</email>
</author>
<published>2016-02-23T10:44:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=d0ec32caef0baa490b419895ef61c8481d49f7cd'/>
<id>urn:sha1:d0ec32caef0baa490b419895ef61c8481d49f7cd</id>
<content type='text'>
Use devm_kzalloc() and devm_kcalloc() for private data allocation at
driver load time.

Signed-off-by: Jyri Sarha &lt;jsarha@ti.com&gt;
Reviewed-by: Tomi Valkeinen &lt;tomi.valkeinen@ti.com&gt;
</content>
</entry>
<entry>
<title>drm/tilcdc: removed optional dummy encoder mode_fixup function.</title>
<updated>2016-02-16T14:34:40+00:00</updated>
<author>
<name>Carlos Palminha</name>
<email>CARLOS.PALMINHA@synopsys.com</email>
</author>
<published>2016-02-15T13:01:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=cc92da5173fb348668487a7db1004067e78c30a5'/>
<id>urn:sha1:cc92da5173fb348668487a7db1004067e78c30a5</id>
<content type='text'>
mode_fixup function for encoder drivers became optional with patch
http://patchwork.freedesktop.org/patch/msgid/1455106522-32307-1-git-send-email-palminha@synopsys.com

This patch set nukes all the dummy mode_fixup implementations.

(made on top of Daniel topic/drm-misc branch)

Signed-off-by: Carlos Palminha &lt;palminha@synopsys.com&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Link: http://patchwork.freedesktop.org/patch/msgid/4d838f580cf81068a4df2500a096d66f06f3ad37.1455540137.git.palminha@synopsys.com
</content>
</entry>
<entry>
<title>drm: Pass 'name' to drm_encoder_init()</title>
<updated>2015-12-11T08:13:20+00:00</updated>
<author>
<name>Ville Syrjälä</name>
<email>ville.syrjala@linux.intel.com</email>
</author>
<published>2015-12-09T14:20:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=13a3d91f17a5f7ed2acd275d18b6acfdb131fb15'/>
<id>urn:sha1:13a3d91f17a5f7ed2acd275d18b6acfdb131fb15</id>
<content type='text'>
Done with coccinelle for the most part. However, it thinks '...' is
part of the semantic patch, so I put an 'int DOTDOTDOT' placeholder
in its place and got rid of it with sed afterwards.

@@
identifier dev, encoder, funcs;
@@
 int drm_encoder_init(struct drm_device *dev,
                      struct drm_encoder *encoder,
                      const struct drm_encoder_funcs *funcs,
                      int encoder_type
+                     ,const char *name, int DOTDOTDOT
                      )
{ ... }

@@
identifier dev, encoder, funcs;
@@
 int drm_encoder_init(struct drm_device *dev,
                      struct drm_encoder *encoder,
                      const struct drm_encoder_funcs *funcs,
                      int encoder_type
+                     ,const char *name, int DOTDOTDOT
                      );

@@
expression E1, E2, E3, E4;
@@
 drm_encoder_init(E1, E2, E3, E4
+                 ,NULL
                  )

v2: Add ', or NULL...' to @name kernel doc (Jani)
    Annotate the function with __printf() attribute (Jani)

Signed-off-by: Ville Syrjälä &lt;ville.syrjala@linux.intel.com&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Link: http://patchwork.freedesktop.org/patch/msgid/1449670818-2966-1-git-send-email-ville.syrjala@linux.intel.com
</content>
</entry>
<entry>
<title>drm/tilcdc: panel: make better use of gpiod API</title>
<updated>2015-07-06T08:10:21+00:00</updated>
<author>
<name>Uwe Kleine-König</name>
<email>u.kleine-koenig@pengutronix.de</email>
</author>
<published>2015-02-11T16:32:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=26a5bd26499fba331ecaa1e8ce8cc2b8c6fac569'/>
<id>urn:sha1:26a5bd26499fba331ecaa1e8ce8cc2b8c6fac569</id>
<content type='text'>
Since 39b2bbe3d715 (gpio: add flags argument to gpiod_get*() functions)
which appeared in v3.17-rc1, the gpiod_get* functions take an additional
parameter that allows to specify direction and initial value for output.

Furthermore there is devm_gpiod_get_optional which is designed to get
optional gpios.

Simplify driver accordingly.

Acked-by: Alexandre Courbot &lt;acourbot@nvidia.com&gt;
Acked-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Signed-off-by: Uwe Kleine-König &lt;u.kleine-koenig@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>drm/tilcdc: panel: Add support for enable GPIO</title>
<updated>2014-09-17T00:55:27+00:00</updated>
<author>
<name>Ezequiel Garcia</name>
<email>ezequiel@vanguardiasur.com.ar</email>
</author>
<published>2014-09-02T12:51:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=d898ce03675fc061f89a347a22d41271ed75c436'/>
<id>urn:sha1:d898ce03675fc061f89a347a22d41271ed75c436</id>
<content type='text'>
In order to support the "enable GPIO" available in many panel devices,
this commit adds a proper devicetree binding.

By providing an enable GPIO in the devicetree, the driver can now turn
off and on the panel device, and/or the backlight device. Both the
backlight and the GPIO are optional properties.

Tested-by: Darren Etheridge &lt;detheridge@ti.com&gt;
Tested-by: Johannes Pointner &lt;johannes.pointner@br-automation.com&gt;
Signed-off-by: Ezequiel Garcia &lt;ezequiel@vanguardiasur.com.ar&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>drm/tilcdc: panel: Set return value explicitly</title>
<updated>2014-09-17T00:55:19+00:00</updated>
<author>
<name>Ezequiel Garcia</name>
<email>ezequiel@vanguardiasur.com.ar</email>
</author>
<published>2014-09-02T12:51:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=12778fc14301cf24d79cd89b0129874c319d0a38'/>
<id>urn:sha1:12778fc14301cf24d79cd89b0129874c319d0a38</id>
<content type='text'>
Instead of setting an initial value for the return code, set it explicitly
on each error path. This is just a cosmetic cleanup, as preparation for the
enable GPIO support.

Tested-by: Darren Etheridge &lt;detheridge@ti.com&gt;
Tested-by: Johannes Pointner &lt;johannes.pointner@br-automation.com&gt;
Signed-off-by: Ezequiel Garcia &lt;ezequiel@vanguardiasur.com.ar&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>drm/tilcdc: panel: Fix backlight devicetree support</title>
<updated>2014-09-17T00:55:10+00:00</updated>
<author>
<name>Ezequiel Garcia</name>
<email>ezequiel@vanguardiasur.com.ar</email>
</author>
<published>2014-09-02T12:51:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=18c44db8cafe9bda4fcb51bfc05c1f1d7cefc44c'/>
<id>urn:sha1:18c44db8cafe9bda4fcb51bfc05c1f1d7cefc44c</id>
<content type='text'>
The current backlight support is broken; the driver expects a backlight-class
in the panel devicetree node. Fix this by implementing it properly, getting
an optional backlight from a phandle.

This shouldn't cause any backward-compatibility DT issue because the current
implementation doesn't work and is not even documented.

Tested-by: Darren Etheridge &lt;detheridge@ti.com&gt;
Tested-by: Johannes Pointner &lt;johannes.pointner@br-automation.com&gt;
Signed-off-by: Ezequiel Garcia &lt;ezequiel@vanguardiasur.com.ar&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>drm/tilcdc: panel: Use devm_kzalloc to simplify the error path</title>
<updated>2014-09-17T00:55:05+00:00</updated>
<author>
<name>Ezequiel Garcia</name>
<email>ezequiel@vanguardiasur.com.ar</email>
</author>
<published>2014-09-02T12:51:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=971645d1fd734b8098a5113d61ab9ea93ce83921'/>
<id>urn:sha1:971645d1fd734b8098a5113d61ab9ea93ce83921</id>
<content type='text'>
Using the managed variant to allocate the resource makes the code simpler
and less error-prone.

Tested-by: Darren Etheridge &lt;detheridge@ti.com&gt;
Tested-by: Johannes Pointner &lt;johannes.pointner@br-automation.com&gt;
Signed-off-by: Ezequiel Garcia &lt;ezequiel@vanguardiasur.com.ar&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>drm/tilcdc: panel: Spurious whitespace removal</title>
<updated>2014-09-17T00:54:59+00:00</updated>
<author>
<name>Ezequiel Garcia</name>
<email>ezequiel@vanguardiasur.com.ar</email>
</author>
<published>2014-09-02T12:51:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=e3a9b04621681d0f07bc8e9935684e6400edef7c'/>
<id>urn:sha1:e3a9b04621681d0f07bc8e9935684e6400edef7c</id>
<content type='text'>
Just a cosmetic cleanup.

Tested-by: Darren Etheridge &lt;detheridge@ti.com&gt;
Tested-by: Johannes Pointner &lt;johannes.pointner@br-automation.com&gt;
Signed-off-by: Ezequiel Garcia &lt;ezequiel@vanguardiasur.com.ar&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>drm/tilcdc: panel: Remove unused variable</title>
<updated>2014-09-17T00:54:53+00:00</updated>
<author>
<name>Ezequiel Garcia</name>
<email>ezequiel@vanguardiasur.com.ar</email>
</author>
<published>2014-09-02T12:51:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=75ece7b788f37bf7a2c51ff199b2011ee5e631a4'/>
<id>urn:sha1:75ece7b788f37bf7a2c51ff199b2011ee5e631a4</id>
<content type='text'>
Just a trivial cleanup to remove the variable.

Tested-by: Darren Etheridge &lt;detheridge@ti.com&gt;
Tested-by: Johannes Pointner &lt;johannes.pointner@br-automation.com&gt;
Signed-off-by: Ezequiel Garcia &lt;ezequiel@vanguardiasur.com.ar&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
</feed>
