[RESEND PATCH] drm/rockchip: dsi: move all lane config except LCDC mux to bind()

2021-04-18 Thread Thomas Hebb
turns on during initial rockchipdrm load as expected. Fixes: 2d4f7bdafd70 ("drm/rockchip: dsi: migrate to use dw-mipi-dsi bridge driver") Signed-off-by: Thomas Hebb --- .../gpu/drm/rockchip/dw-mipi-dsi-rockchip.c | 36 ++- 1 file changed, 28 insertions(+), 8 deletion

[RESEND PATCH] drm/rockchip: dsi: remove extra component_del() call

2021-04-18 Thread Thomas Hebb
pi support") Cc: sta...@vger.kernel.org Signed-off-by: Thomas Hebb --- drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c b/drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c index 24a71091759c.

[PATCH] z3fold: prevent reclaim/free race for headless pages

2021-03-11 Thread Thomas Hebb
5aedb24f8 ("z3fold: stricter locking and more careful reclaim") Cc: sta...@vger.kernel.org Signed-off-by: Thomas Hebb --- mm/z3fold.c | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/mm/z3fold.c b/mm/z3fold.c index 0152ad9931a8..8ae944eeb8e2 100644

[RFC PATCH] z3fold: prevent reclaim/free race for headless pages

2021-02-16 Thread Thomas Hebb
d179b0e66 ("z3fold: stricter locking and more careful reclaim") Signed-off-by: Thomas Hebb --- I have NOT tested this patch yet beyond compiling it. If the approach seems good, I'll test it on my system for a period of several days and see if I can reproduce the crash before sending a v

[PATCH] hwmon: (dell-smm) Add XPS 15 L502X to fan control blacklist

2021-01-23 Thread Thomas Hebb
. [0] https://bugzilla.kernel.org/show_bug.cgi?id=211081 [1] https://bugzilla.kernel.org/show_bug.cgi?id=195751 Fixes: b8a13e5e8f37 ("hwmon: (dell-smm) Use one DMI match for all XPS models") Cc: sta...@vger.kernel.org Reported-by: Bob Hepple Tested-by: Bob Hepple Signed-off-by: T

[RESEND PATCH] drm/rockchip: dsi: move all lane config except LCDC mux to bind()

2020-12-13 Thread Thomas Hebb
turns on during initial rockchipdrm load as expected. Fixes: 2d4f7bdafd70 ("drm/rockchip: dsi: migrate to use dw-mipi-dsi bridge driver") Signed-off-by: Thomas Hebb --- Resending since I wasn't subscribed to dri-devel .../gpu/drm/rockchip/dw-mipi-dsi-rockchip.c | 36 ++---

[RESEND PATCH] drm/rockchip: dsi: remove extra component_del() call

2020-12-13 Thread Thomas Hebb
pi support") Cc: sta...@vger.kernel.org Signed-off-by: Thomas Hebb --- Resending since I wasn't subscribed to dri-devel drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c b/drivers/gpu/drm/

[PATCH] drm/rockchip: dsi: move all lane config except LCDC mux to bind()

2020-12-13 Thread Thomas Hebb
turns on during initial rockchipdrm load as expected. Fixes: 2d4f7bdafd70 ("drm/rockchip: dsi: migrate to use dw-mipi-dsi bridge driver") Signed-off-by: Thomas Hebb --- .../gpu/drm/rockchip/dw-mipi-dsi-rockchip.c | 36 ++- 1 file changed, 28 insertions(+), 8 deletion

[PATCH] ASoC: dapm: remove widget from dirty list on free

2020-12-12 Thread Thomas Hebb
d_resources(), which eventually called snd_soc_dapm_free() with widgets that were still dirty from when they'd been added. Fixes: db432b414e20 ("ASoC: Do DAPM power checks only for widgets changed since last run") Cc: sta...@vger.kernel.org Signed-off-by: Thomas Hebb --- sound/soc/soc-d

[PATCH] drm/rockchip: dsi: remove extra component_del() call

2020-12-12 Thread Thomas Hebb
pi support") Cc: sta...@vger.kernel.org Signed-off-by: Thomas Hebb --- drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c b/drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c index 542dcf7eddd6.

[PATCH 3/3] libsubcmd: Get rid of useless conditional assignments

2020-07-26 Thread Thomas Hebb
. In addition, we can get rid of the LD assignment, because it's also set by Makefile.include. [1] https://www.gnu.org/software/make/manual/html_node/Implicit-Variables.html Signed-off-by: Thomas Hebb --- tools/lib/subcmd/Makefile | 4 1 file changed, 4 deletions(-) diff --git a/tools/lib

[PATCH 1/3] tools build feature: Use CC and CXX from parent

2020-07-26 Thread Thomas Hebb
html_node/Implicit-Variables.html Fixes: c8c188679ccf ("tools build: Use the same CC for feature detection and actual build") Signed-off-by: Thomas Hebb --- tools/build/Makefile.feature | 2 +- tools/build/feature/Makefile | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff

[PATCH 2/3] tools lib api: Get rid of useless conditional assignments

2020-07-26 Thread Thomas Hebb
. In addition, we can get rid of the LD assignment, because it's also set by Makefile.include. [1] https://www.gnu.org/software/make/manual/html_node/Implicit-Variables.html Signed-off-by: Thomas Hebb --- tools/lib/api/Makefile | 4 1 file changed, 4 deletions(-) diff --git a/tools/lib

[PATCH v2] pwm: berlin: Don't use broken prescaler values

2018-06-06 Thread Thomas Hebb
, this patch both fixes the driver's behavior and increases its performance (since, when the 4096 prescaler is selected, it now does only a single shift rather than the seven successive divisions it did before). Tested on BG2CD. Signed-off-by: Thomas Hebb --- drivers/pwm/pwm-berlin.c | 45

[PATCH v2] pwm: berlin: Don't use broken prescaler values

2018-06-06 Thread Thomas Hebb
, this patch both fixes the driver's behavior and increases its performance (since, when the 4096 prescaler is selected, it now does only a single shift rather than the seven successive divisions it did before). Tested on BG2CD. Signed-off-by: Thomas Hebb --- drivers/pwm/pwm-berlin.c | 45

[PATCH RESEND] pwm: berlin: Don't use broken prescaler values

2018-06-04 Thread Thomas Hebb
that respect the full range of TCNT. Tested on BG2CD. Signed-off-by: Thomas Hebb --- drivers/pwm/pwm-berlin.c | 45 ++-- 1 file changed, 25 insertions(+), 20 deletions(-) diff --git a/drivers/pwm/pwm-berlin.c b/drivers/pwm/pwm-berlin.c index 771859aca4be..7c8d6a168ceb

[PATCH RESEND] pwm: berlin: Don't use broken prescaler values

2018-06-04 Thread Thomas Hebb
that respect the full range of TCNT. Tested on BG2CD. Signed-off-by: Thomas Hebb --- drivers/pwm/pwm-berlin.c | 45 ++-- 1 file changed, 25 insertions(+), 20 deletions(-) diff --git a/drivers/pwm/pwm-berlin.c b/drivers/pwm/pwm-berlin.c index 771859aca4be..7c8d6a168ceb

[PATCH] ARM: dts: berlin: switch to earlycon

2018-05-29 Thread Thomas Hebb
The Synopsys DesignWare 8250 UART in Berlin SoCs is now supported by 8250_early, so we can use earlycon for early console output instead of earlyprintk, which requires an SoC-specific kernel. Signed-off-by: Thomas Hebb --- arch/arm/boot/dts/berlin2-sony-nsz-gs7.dts| 2 +- arch/arm/boot

[PATCH] ARM: dts: berlin: switch to earlycon

2018-05-29 Thread Thomas Hebb
The Synopsys DesignWare 8250 UART in Berlin SoCs is now supported by 8250_early, so we can use earlycon for early console output instead of earlyprintk, which requires an SoC-specific kernel. Signed-off-by: Thomas Hebb --- arch/arm/boot/dts/berlin2-sony-nsz-gs7.dts| 2 +- arch/arm/boot

[PATCH 2/2] ARM: dts: chromecast: use PWM for LEDs

2018-05-14 Thread Thomas Hebb
Control the Chromecast's two LEDs using PWM instead of GPIO pins. This allows for variable brightness. Signed-off-by: Thomas Hebb <tommyh...@gmail.com> --- .../boot/dts/berlin2cd-google-chromecast.dts | 20 ++- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git

[PATCH 1/2] pwm: berlin: Don't use broken prescaler values

2018-05-14 Thread Thomas Hebb
that respect the full range of TCNT. Tested on BG2CD. Signed-off-by: Thomas Hebb <tommyh...@gmail.com> --- drivers/pwm/pwm-berlin.c | 45 ++-- 1 file changed, 25 insertions(+), 20 deletions(-) diff --git a/drivers/pwm/pwm-berlin.c b/drivers/pwm/pwm-berlin.c

[PATCH 2/2] ARM: dts: chromecast: use PWM for LEDs

2018-05-14 Thread Thomas Hebb
Control the Chromecast's two LEDs using PWM instead of GPIO pins. This allows for variable brightness. Signed-off-by: Thomas Hebb --- .../boot/dts/berlin2cd-google-chromecast.dts | 20 ++- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts

[PATCH 1/2] pwm: berlin: Don't use broken prescaler values

2018-05-14 Thread Thomas Hebb
that respect the full range of TCNT. Tested on BG2CD. Signed-off-by: Thomas Hebb --- drivers/pwm/pwm-berlin.c | 45 ++-- 1 file changed, 25 insertions(+), 20 deletions(-) diff --git a/drivers/pwm/pwm-berlin.c b/drivers/pwm/pwm-berlin.c index 771859aca4be..7c8d6a168ceb

[PATCH] ARM: dts: chromecast: override bad bootloader memory info

2018-05-14 Thread Thomas Hebb
y to define the real range. The ATAG code only overwrites reg, but linux,usable-memory is checked first in the OF driver, so the fact that reg gets changed makes no difference. Signed-off-by: Thomas Hebb <tommyh...@gmail.com> --- arch/arm/boot/dts/berlin2cd-google-chromecast.dts | 12 ++

[PATCH] ARM: dts: chromecast: override bad bootloader memory info

2018-05-14 Thread Thomas Hebb
y to define the real range. The ATAG code only overwrites reg, but linux,usable-memory is checked first in the OF driver, so the fact that reg gets changed makes no difference. Signed-off-by: Thomas Hebb --- arch/arm/boot/dts/berlin2cd-google-chromecast.dts | 12 +++- 1 file changed,

[PATCH] Documentation: arm: clean up Marvell Berlin family info

2018-05-14 Thread Thomas Hebb
Remove dead links, make spacing consistent, and note that the family was acquired by Synaptics in 2017. Signed-off-by: Thomas Hebb <tommyh...@gmail.com> --- Documentation/arm/Marvell/README | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/Documentati

[PATCH] Documentation: arm: clean up Marvell Berlin family info

2018-05-14 Thread Thomas Hebb
Remove dead links, make spacing consistent, and note that the family was acquired by Synaptics in 2017. Signed-off-by: Thomas Hebb --- Documentation/arm/Marvell/README | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/Documentation/arm/Marvell/README b

[PATCH] ath10k: search all IEs for variant before falling back

2018-02-21 Thread Thomas Hebb
ack and variant BDFs present, 2) only fallback BDF present, and 3) no matching BDFs present. Fixes: 1657b8f84ed9 ("ath10k: search SMBIOS for OEM board file extension") Signed-off-by: Thomas Hebb <tommyh...@gmail.com> --- drivers/net/wireless/ath/ath10k/core.c | 134 +++

[PATCH] ath10k: search all IEs for variant before falling back

2018-02-21 Thread Thomas Hebb
ack and variant BDFs present, 2) only fallback BDF present, and 3) no matching BDFs present. Fixes: 1657b8f84ed9 ("ath10k: search SMBIOS for OEM board file extension") Signed-off-by: Thomas Hebb --- drivers/net/wireless/ath/ath10k/core.c | 134 ++--- 1 file chan

[PATCH] pinctrl: berlin: fix BG2CD field widths

2015-09-26 Thread Thomas Hebb
The previous register layout was incorrect, many of the fields having fewer bits than were needed to represent all their modes. The new layout is taken from the bootloader source of a BG2CD device. Signed-off-by: Thomas Hebb --- drivers/pinctrl/berlin/berlin-bg2cd.c | 62

[PATCH 2/4 RESEND] ARM: dts: berlin: change BG2Q's USB PHY compatible

2015-09-26 Thread Thomas Hebb
Currently, BG2Q shares a compatible with BG2. This is incorrect, since BG2 and BG2Q use different USB PLL dividers. In reality, BG2Q shares a divider with BG2CD. Change BG2Q's USB PHY compatible string to reflect that. Signed-off-by: Thomas Hebb Cc: sta...@vger.kernel.org --- This patch seems

[PATCH 2/4 RESEND] ARM: dts: berlin: change BG2Q's USB PHY compatible

2015-09-26 Thread Thomas Hebb
Currently, BG2Q shares a compatible with BG2. This is incorrect, since BG2 and BG2Q use different USB PLL dividers. In reality, BG2Q shares a divider with BG2CD. Change BG2Q's USB PHY compatible string to reflect that. Signed-off-by: Thomas Hebb <tommyh...@gmail.com> Cc: sta...@vger.kern

[PATCH] pinctrl: berlin: fix BG2CD field widths

2015-09-26 Thread Thomas Hebb
The previous register layout was incorrect, many of the fields having fewer bits than were needed to represent all their modes. The new layout is taken from the bootloader source of a BG2CD device. Signed-off-by: Thomas Hebb <tommyh...@gmail.com> --- drivers/pinctrl/berlin/berlin-bg2cd.

Re: [PATCH 1/4] phy: berlin-usb: fix divider for BG2CD

2015-07-03 Thread Thomas Hebb
On 07/03/2015 05:20 AM, Antoine Tenart wrote: > Thomas, > > On Thu, Jul 02, 2015 at 01:04:18AM -0400, Thomas Hebb wrote: >> The marvell,berlin2cd-usb-phy compatible incorrectly sets the PLL >> divider to BG2's value instead of BG2CD/BG2Q's. Change it to the right >&

Re: [PATCH 4/4] phy: berlin-usb: rename table copied from SATA PHY

2015-07-03 Thread Thomas Hebb
On 07/03/2015 05:18 AM, Antoine Tenart wrote: > Thomas, > > On Thu, Jul 02, 2015 at 01:04:30AM -0400, Thomas Hebb wrote: >> We're not in a SATA PHY driver, so the of_match table shouldn't have >> "sata" in its name. > > There is already a patch fixing this (

Re: [PATCH 1/4] phy: berlin-usb: fix divider for BG2CD

2015-07-03 Thread Thomas Hebb
On 07/03/2015 05:20 AM, Antoine Tenart wrote: Thomas, On Thu, Jul 02, 2015 at 01:04:18AM -0400, Thomas Hebb wrote: The marvell,berlin2cd-usb-phy compatible incorrectly sets the PLL divider to BG2's value instead of BG2CD/BG2Q's. Change it to the right value. Signed-off-by: Thomas Hebb

Re: [PATCH 4/4] phy: berlin-usb: rename table copied from SATA PHY

2015-07-03 Thread Thomas Hebb
On 07/03/2015 05:18 AM, Antoine Tenart wrote: Thomas, On Thu, Jul 02, 2015 at 01:04:30AM -0400, Thomas Hebb wrote: We're not in a SATA PHY driver, so the of_match table shouldn't have sata in its name. There is already a patch fixing this (which was sent last week): https://lkml.org

[PATCH 3/4] phy: berlin-usb: fix divider for BG2

2015-07-01 Thread Thomas Hebb
The USB PLL divider set by the marvell,berlin2-usb-phy compatible is not correct for BG2. We couldn't change it before because BG2Q incorrectly used the same compatible string. Now that BG2Q's compatible is fixed, change BG2's divider to the correct value. Signed-off-by: Thomas Hebb --- drivers

[PATCH 4/4] phy: berlin-usb: rename table copied from SATA PHY

2015-07-01 Thread Thomas Hebb
We're not in a SATA PHY driver, so the of_match table shouldn't have "sata" in its name. Signed-off-by: Thomas Hebb Suggested-by: Sebastian Hesselbarth --- drivers/phy/phy-berlin-usb.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/phy/phy-berl

[PATCH 2/4] ARM: dts: berlin: change BG2Q's USB PHY compatible

2015-07-01 Thread Thomas Hebb
Currently, BG2Q shares a compatible with BG2. This is incorrect, since BG2 and BG2Q use different USB PLL dividers. In reality, BG2Q shares a divider with BG2CD. Change BG2Q's USB PHY compatible string to reflect that. Signed-off-by: Thomas Hebb --- arch/arm/boot/dts/berlin2q.dtsi | 6 +++--- 1

[PATCH 1/4] phy: berlin-usb: fix divider for BG2CD

2015-07-01 Thread Thomas Hebb
The marvell,berlin2cd-usb-phy compatible incorrectly sets the PLL divider to BG2's value instead of BG2CD/BG2Q's. Change it to the right value. Signed-off-by: Thomas Hebb Cc: sta...@vger.kernel.org --- drivers/phy/phy-berlin-usb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[PATCH 0/4] phy: berlin-usb: PLL divider fixes

2015-07-01 Thread Thomas Hebb
mistakenly carried over from phy-berlin-sata). I have verified that the new divider values work on BG2CD and Antoine Tenart has verified that they work on BG2Q. The divider value for BG2 was taken from bootloader source but has not been tested. Thomas Hebb (4): phy: berlin-usb: fix divider for B

[PATCH 3/4] phy: berlin-usb: fix divider for BG2

2015-07-01 Thread Thomas Hebb
The USB PLL divider set by the marvell,berlin2-usb-phy compatible is not correct for BG2. We couldn't change it before because BG2Q incorrectly used the same compatible string. Now that BG2Q's compatible is fixed, change BG2's divider to the correct value. Signed-off-by: Thomas Hebb tommyh

[PATCH 4/4] phy: berlin-usb: rename table copied from SATA PHY

2015-07-01 Thread Thomas Hebb
We're not in a SATA PHY driver, so the of_match table shouldn't have sata in its name. Signed-off-by: Thomas Hebb tommyh...@gmail.com Suggested-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- drivers/phy/phy-berlin-usb.c | 8 1 file changed, 4 insertions(+), 4 deletions

[PATCH 1/4] phy: berlin-usb: fix divider for BG2CD

2015-07-01 Thread Thomas Hebb
The marvell,berlin2cd-usb-phy compatible incorrectly sets the PLL divider to BG2's value instead of BG2CD/BG2Q's. Change it to the right value. Signed-off-by: Thomas Hebb tommyh...@gmail.com Cc: sta...@vger.kernel.org --- drivers/phy/phy-berlin-usb.c | 4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH 0/4] phy: berlin-usb: PLL divider fixes

2015-07-01 Thread Thomas Hebb
carried over from phy-berlin-sata). I have verified that the new divider values work on BG2CD and Antoine Tenart has verified that they work on BG2Q. The divider value for BG2 was taken from bootloader source but has not been tested. Thomas Hebb (4): phy: berlin-usb: fix divider for BG2CD ARM

[PATCH 2/4] ARM: dts: berlin: change BG2Q's USB PHY compatible

2015-07-01 Thread Thomas Hebb
Currently, BG2Q shares a compatible with BG2. This is incorrect, since BG2 and BG2Q use different USB PLL dividers. In reality, BG2Q shares a divider with BG2CD. Change BG2Q's USB PHY compatible string to reflect that. Signed-off-by: Thomas Hebb tommyh...@gmail.com --- arch/arm/boot/dts