Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1605345
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Hoegeun Kwon <hoegeun.kwon@samsung.com> |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v11 0/3] Add support for the S6E3HA2 panel on TM2 board |
| Date | Tue, 21 Mar 2017 08:00:02 +0100 |
| Message-ID | <tnlVT-86f-1@gated-at.bofh.it> (permalink) |
| References | <tiyTL-7N1-3@gated-at.bofh.it> <tiyTL-7N1-1@gated-at.bofh.it> |
| X-Auditid | b6c32a37-f796f6d000001a35-f2-58d0ce4a25f5 |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=windows-1252; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Brightmail-Tracker | H4sIAAAAAAAAA+NgFrrPJsWRmVeSWpSXmKPExsWy7bCmga7XuQsRBtv7WCxurTvHatF77iST xfYjz1gt3i/rYbS4/uU5q8X8I0CJK1/fs1m8X97FZjHp/gQWizdv1zBZ3PjVxmrR//g1s8X5 8xvYLTY9vsZqcXnXHDaLGef3MVksvX6RyaJ17xF2i5+75rFYvPx4gsVBxGPNvDWMHjtn3WX3 2LSqk81j+7cHrB73u48zeWxeUu+xpR8o3rdlFaPH501yAZxRqTYZqYkpqUUKqXnJ+SmZeem2 St7B8c7xpmYGhrqGlhbmSgp5ibmptkouPgG6bpk5QK8pKZQl5pQChQISi4uV9O1sivJLS1IV MvKLS2yVog0NjfQMDcz1jIyM9EyMY62MTIFKElIz+h8+YitYoFixf8tapgbGx5JdjJwcEgIm Enu3r2OBsMUkLtxbz9bFyMUhJLCDUeLMn15mCKedSWL6llUsMB1Xdj9mhUgsZ5T4fWUZVNVd RokH144zg1QJC3hL3GpZxAiSEBFYyyjRcPghmMMs8JBJYvLvX2Cz2AR0Jb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BLrzoiD2MIC3hK3 WhYxghSJCKxllNi45DJUx1xGid6Fd9hBHGaBh0wSL35cZgZpYRPQlfjac50JxOYVsJN4v+0/ WJxFQFXi7rSV7CC2qECExPynq6BqBCV+TL7HAmJzCnhIrG7bAFbPLGArseD9OhYIW15i85q3 zBMYBWYhaZmFpGwWkrIFjMyrGCVSC5ILipPScw3zUsv1ihNzi0vz0vWS83M3MYITwjOpHYwH d7kfYhTgYFTi4V1x5XyEEGtiWXFl7iFGCQ5mJRFe174LEUK8KYmVValF+fFFpTmpxYcYTYEe mcgsJZqcD0xWeSXxhibmJubGBhbmlpYmRkrivI2zn4ULCaQnlqRmp6YWpBbB9DFxcEo1MApr Pl0urrOI45v3qR3vd3w7+me9Fnt15/dGE/GoYyul3h7aJ1X4QZqRqUX5fuvWgP8n/MQDvfUn P6vVWSkwp+W4K9eqvZ2Ciq1VU2OW7n6xPGm/+0Z+/wJ758zDHaVXhdd0McbHe76/86mgYWZU 7K2J8mpi915W3sxZ0BJWuvv2x545j225spVYijMSDbWYi4oTAfZ9e/AeAwAA |
| X-Mtr | 20000000000000000@CPGS |
| X-Cms-Mailid | 20170321065505epcas1p4917c5140def10667eaf53521fd2cf05b |
| X-Msg-Generator | CA |
| X-Sender-IP | 203.254.230.26 |
| X-Local-Sender | 권회근Tizen Platform Lab(S/W센터)삼성전자Engineer |
| X-Global-Sender | Hoegeun KwonTizen Platform Lab.Samsung ElectronicsEngineer |
| X-Sender-Code | C10STAFC10V8111 |
| Cms-Type | 101P |
| Dlp-Filter | Pass |
| X-Cfilter-Loop | Reflected |
| X-Hopcount | 7 |
| X-Cms-Rootmailid | 20170308014258epcas5p35b908c56e003eb5d2ded8b503aa511be |
| X-Rootmtr | 20170308014258epcas5p35b908c56e003eb5d2ded8b503aa511be |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 110 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, javier@osg.samsung.com, inki.dae@samsung.com, a.hajda@samsung.com, cw00.choi@samsung.com, jh80.chung@samsung.com, andi.shyti@samsung.com, Hoegeun Kwon <hoegeun.kwon@samsung.com> |
| X-Original-Date | Tue, 21 Mar 2017 15:55:05 +0900 |
| X-Original-Message-ID | <67497946-37d3-1a8d-f031-14db597886f5@samsung.com> |
| X-Original-References | <CGME20170308014258epcas5p35b908c56e003eb5d2ded8b503aa511be@epcas5p3.samsung.com> <1488937357-5623-1-git-send-email-hoegeun.kwon@samsung.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1605345 |
Show key headers only | View raw
Dear Thierry,
I would like your review please.
I try to modify it to your advice.
Please let me know if you have any other advice.
Best regards,
Hoegeun
On 03/08/2017 10:42 AM, Hoegeun Kwon wrote:
> Dear Thierry,
>
> I understand that your opinion is:
> It is better to handle the error every time it is input to the
> register, rather than error handling at once in the struct using
> error. This not only makes the code easier to maintain, but also
> reduces unnecessary computation.
>
> So I modified the panel driver to code-by-code error handling.
> If this is not your opinion, could you tell me what your opinion?
>
> Best Regards,
> Hoegeun
>
> Changes for V11:
> - Added the Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
> (1/3, 3/3 patches)
> - Checked for rebase 4.11 rc1.
>
> Changes for V10:
> - Fixed code-by-code error handling.
>
> Changes for V9:
> - Fixed the te-gpio to optional in bindings
>
> Changes for V8:
> - Applied below two patches: (drm/exynos)
> : drm/exynos: mic: Add mode_set callback function
> : drm/exynos: mic: Fix parse_dt function
> - The dt-binding patch and driver patch were divided.
> - Rebase these patches on samsung SoC tree[1] and tm2 touckey patch[2].
>
> Change for V7:
> - Fixed the mode_set callback function of mic device driver.
> because the mic register is initialized when entering suspend
> mode, so should set the reg value whenever pre_enable is
> called.
>
> Changes for V6:
> - Fixed the parse_dt function of dsi device driver.
> - Removed OF graph of panel in DT and DT binding document.
> - Fixed the s6e3ha2 panel device driver.
> - Fixed from number size to ARRAY_SIZE().
> - Fixed error handling in mipi_dsi_dcs_* functions.
> - Fixed the clock of display_mode.
> - Removed unnecessary casting and error log.
>
> Change for V5:
> - The V5 has only one fix in V4 below.
> - Removed the enable check of the mic driver in mode_set
> callback, because mode_set should be performed every time.
>
> Changes for V4:
> - Removed display-timings in devicetree, the display-timings has
> been fixed to be provided by the device driver.
> - Added the mode_set callback function into exynos_drm_mic,
> because the exynos_drm_mic driver can not parse a videomode
> struct by removing the display-timings from the devicetree.
>
> Changes for V3:
> - In the DT binding document, made it clearly that the panel is a
> child node of dsi.
> - Fix reset-gpio active from high to low.
> - Is the OF graph saying related to patch2?
> Althogh the panel is a child of dsi, I think OF graph necessary.
> because if a remote-endpoint is not specified, the dsi also
> panel is not probed.
> - The display-timings has been fixed to be provided by the device
> driver. however, I think display-timings is necessary in dts.
> because if dts does not have display-timings, dsi will not load.
>
> Changes for V2:
> - Fixed the samsung,s6e3ha2.txt DT document.
> - Added active high or low after the description of the GPIOs.
> - Removed the reg and added a description of the virtual
> channel number of a DSI peripheral.
>
> Depends on:
> [1] https://git.kernel.org/cgit/linux/kernel/git/krzk/linux.git/ (for-next branch)
> [2] https://patchwork.kernel.org/patch/9504131/
> - ("arm64: dts: exynos: Add tm2 touchkey node")
>
> Hoegeun Kwon (2):
> dt-bindings: Add support for samsung s6e3ha2 panel binding
> drm/panel: Add support for S6E3HA2 panel driver on TM2 board
>
> Hyungwon Hwang (1):
> arm64: dts: exynos: Add support for S6E3HA2 panel device on TM2 board
>
> .../bindings/display/panel/samsung,s6e3ha2.txt | 28 +
> arch/arm64/boot/dts/exynos/exynos5433-tm2.dts | 12 +
> drivers/gpu/drm/panel/Kconfig | 6 +
> drivers/gpu/drm/panel/Makefile | 1 +
> drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c | 739 +++++++++++++++++++++
> 5 files changed, 786 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/display/panel/samsung,s6e3ha2.txt
> create mode 100644 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c
>
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH v11 0/3] Add support for the S6E3HA2 panel on TM2 board Hoegeun Kwon <hoegeun.kwon@samsung.com> - 2017-03-21 08:00 +0100
csiph-web