03 Apr, 2019

3 commits


19 Mar, 2019

1 commit


18 Mar, 2019

5 commits


26 Feb, 2019

3 commits


18 Jan, 2019

1 commit

  • This switches the fbtft driver to use GPIO descriptors
    rather than numerical gpios:

    Utilize the GPIO library's intrinsic handling of OF GPIOs
    and polarity. If the line is flagged active low, gpiolib
    will deal with this.

    Remove gpios from platform device structure. Neither assign
    statically numbers to gpios in platform device nor allow
    gpios to be parsed as module parameters.

    Signed-off-by: Nishad Kamdar
    Signed-off-by: Greg Kroah-Hartman

    Nishad Kamdar
     

19 Dec, 2018

1 commit

  • strncmp() stops comparing when either the end of one of the first two
    arguments is reached or when 'n' characters have been compared, whichever
    comes first.That means that strncmp(s1, s2, n) is equivalent to
    strcmp(s1, s2) if n exceeds the length of s1 or the length of s2.

    This patch avoids that the following warning is reported by smatch:

    drivers/staging/fbtft/fbtft_device.c:1458
    fbtft_device_init() error: strncmp() '"list"' too small (5 vs 32)

    Signed-off-by: YueHaibing
    Signed-off-by: Greg Kroah-Hartman

    YueHaibing
     

04 Oct, 2018

1 commit


17 Sep, 2018

1 commit


10 Sep, 2018

1 commit


28 Aug, 2018

1 commit


08 Aug, 2018

8 commits


16 Jul, 2018

2 commits


02 Jul, 2018

1 commit


11 Jun, 2018

1 commit

  • Pull backlight updates from Lee Jones:
    "Core Frameworks
    - Provide helpers to enable/disable backlight
    - Provide standard and devres versions OF find helpers

    New Drivers:
    - Add support for the Zodiac Inflight Innovations RAVE Supervisory
    Processor

    New Functionality:
    - Allow pwm-on/pwm-off delay to be specified via DT

    Bug Fixes:
    - Fix ordering of the power {en,dis}able and PWM {en,dis}able
    signals
    - Fix Device Tree node look-up"

    * tag 'backlight-next-4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/backlight:
    backlight: as3711_bl: Fix Device Tree node leaks
    backlight: tps65217_bl: Fix Device Tree node lookup
    backlight: max8925_bl: Fix Device Tree node lookup
    backlight: as3711_bl: Fix Device Tree node lookup
    MAINTAINERS: Add dri-devel for backlight subsystem patches
    backlight: Nuke BL_CORE_DRIVER1
    staging: fbtft: Stop using BL_CORE_DRIVER1
    backlight: pandora: Stop using BL_CORE_DRIVER1
    backlight: generic-bl: Remove DRIVER1 state
    backlight: Nuke unused backlight.props.state states
    backlight: otm3225a: Add support for ORISE OTM3225A LCD SoC
    backlight: pwm_bl: Don't use GPIOF_* with gpiod_get_direction
    pwm-backlight: Add support for PWM delays proprieties.
    dt-bindings: pwm-backlight: Add PWM delay proprieties.
    pwm-backlight: Enable/disable the PWM before/after LCD enable toggle.
    dt-bindings: backlight: Add binding for RAVE SP backlight driver
    backlight: Add RAVE SP backlight driver

    Linus Torvalds
     

30 Apr, 2018

1 commit

  • Leaking driver internal tracking into the already massively confusing
    backlight power tracking is really confusing.

    Luckily we have already a drvdata structure, so fixing this is really
    easy.

    Signed-off-by: Daniel Vetter
    Acked-by: Daniel Thompson
    Reviewed-by: Jani Nikula
    Signed-off-by: Lee Jones

    Daniel Vetter
     

23 Apr, 2018

2 commits


25 Jan, 2018

1 commit


15 Jan, 2018

2 commits

  • Now that the SPDX tag is in all fbtft files, that identifies the license
    in a specific and legally-defined manner. So the extra GPL text wording
    can be removed as it is no longer needed at all.

    This is done on a quest to remove the 700+ different ways that files in
    the kernel describe the GPL license text. And there's unneeded stuff
    like the address (sometimes incorrect) for the FSF which is never
    needed.

    No copyright headers or other non-license-description text was removed.

    Cc: Thomas Petazzoni
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     
  • It's good to have SPDX identifiers in all files to make it easier to
    audit the kernel tree for correct licenses.

    Fix up the all of the staging fbtft drivers to have a proper SPDX
    identifier, based on the license text in the file itself. The SPDX
    identifier is a legally binding shorthand, which can be used instead of
    the full boiler plate text.

    This work is based on a script and data from Thomas Gleixner, Philippe
    Ombredanne, and Kate Stewart.

    Cc: Thomas Gleixner
    Cc: Kate Stewart
    Cc: Philippe Ombredanne
    Cc: Thomas Petazzoni
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     

11 Jan, 2018

1 commit

  • This fixes the checkpatch message:

    CHECK: Alignment should match open parenthesis
    #1380: FILE: drivers/staging/fbtft/fbtft-core.c:1380:
    + dev_warn(dev,
    + "no default functions for regwidth=%d and buswidth=%d\n",

    Signed-off-by: Luis Gerhorst
    Signed-off-by: Jonny Schaefer
    Acked-by: Alexander Wuerstlein
    Signed-off-by: Greg Kroah-Hartman

    Luis Gerhorst
     

08 Jan, 2018

2 commits

  • The Linux kernel coding style states that braces should only be used
    when necessary.

    This fixes the checkpatch warning

    WARNING: line over 80 characters
    + } else if (display->regwidth == 8 && display->buswidth == 9 && par->spi) {

    introduced by patch #1.

    Signed-off-by: Luis Gerhorst
    Acked-by: Jonny Schaefer
    Acked-by: Alexander Wuerstlein
    Signed-off-by: Greg Kroah-Hartman

    Luis Gerhorst
     
  • This removes the following warning issued by checkpatch

    WARNING: suspect code indent for conditional statements (8, 8)
    + } else
    + if (display->regwidth == 8 && display->buswidth == 9 && par->spi) {

    Signed-off-by: Luis Gerhorst
    Acked-by: Jonny Schaefer
    Acked-by: Alexander Wuerstlein
    Signed-off-by: Greg Kroah-Hartman

    Luis Gerhorst
     

14 Nov, 2017

1 commit

  • Pull staging and IIO updates from Greg KH:
    "Here is the "big" staging and IIO driver update for 4.15-rc1.

    Lots and lots of little changes, almost all minor code cleanups as the
    Outreachy application process happened during this development cycle.
    Also happened was a lot of IIO driver activity, and the typec USB code
    moving out of staging to drivers/usb (same commits are in the USB tree
    on a persistent branch to not cause merge issues.)

    Overall, it's a wash, I think we added a few hundred more lines than
    removed, but really only a few thousand were modified at all.

    All of these have been in linux-next for a while. There might be a
    merge issue with Al's vfs tree in the pi433 driver (take his changes,
    they are always better), and the media tree with some of the odd
    atomisp cleanups (take the media tree's version)"

    * tag 'staging-4.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (507 commits)
    staging: lustre: add SPDX identifiers to all lustre files
    staging: greybus: Remove redundant license text
    staging: greybus: add SPDX identifiers to all greybus driver files
    staging: ccree: simplify ioread/iowrite
    staging: ccree: simplify registers access
    staging: ccree: simplify error handling logic
    staging: ccree: remove dead code
    staging: ccree: handle limiting of DMA masks
    staging: ccree: copy IV to DMAable memory
    staging: fbtft: remove redundant initialization of buf
    staging: sm750fb: Fix parameter mistake in poke32
    staging: wilc1000: Fix bssid buffer offset in Txq
    staging: fbtft: fb_ssd1331: fix mirrored display
    staging: android: Fix checkpatch.pl error
    staging: greybus: loopback: convert loopback to use generic async operations
    staging: greybus: operation: add private data with get/set accessors
    staging: greybus: loopback: Fix iteration count on async path
    staging: greybus: loopback: Hold per-connection mutex across operations
    staging: greybus/loopback: use ktime_get() for time intervals
    staging: fsl-dpaa2/eth: Extra headroom in RX buffers
    ...

    Linus Torvalds