cessary.
Reported-by: Marc Zyngier
Fixes: 48f4d9796d99 ("arm64: dts: rockchip: add Gru/Kevin DTS")
Fixes: 981ed1bfbc6c ("pinctrl: Really force states during suspend/resume")
Signed-off-by: Douglas Anderson
---
arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi | 16 +++-
For some more details on this bug, you can refer to:
https://bugs.chromium.org/p/chromium/issues/detail?id=783464
Signed-off-by: Douglas Anderson
---
drivers/phy/rockchip/phy-rockchip-typec.c | 24 ++--
1 file changed, 22 insertions(+), 2 deletions(-)
diff --git a/drivers/phy
-off-by: Douglas Anderson
Reviewed-by: Julius Werner
Tested-by: Stefan Wahren
Acked-by: John Youn
---
Changes in v4:
- Removed Cc for stable as per Felipe's request in v3
- Rebased and squashed the two patches since Kees' timer stuff landed
- Add John Youn's Ack.
Changes in v3:
- Add tested
longer for HPD...") new for v2.
- ("drm/panel-simple: Retry if we timeout waiting for HPD") new for v2.
- ("dt-bindings: dt-bindings: display: simple: Add N116BCA-EA1") new for v2.
- ("drm/panel-simple: Add N116BCA-EA1") new for v2.
Douglas Anderson (5):
drm/panel-si
re
attributed to the fact that it's pre-production and/or can be fixed,
retries clearly can help in some cases and really don't hurt.
Signed-off-by: Douglas Anderson
---
Changes in v2:
- ("drm/panel-simple: Retry if we timeout waiting for HPD") new for v2.
drivers/gpu/drm/pa
Another simple eDP panel.
Signed-off-by: Douglas Anderson
---
Changes in v2:
- ("dt-bindings: dt-bindings: display: simple: Add N116BCA-EA1") new for v2.
.../devicetree/bindings/display/panel/panel-simple.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Doc
This panel is quite similar to the similarly named N116BGE panel (the
nominal timings are, in fact identical). However, let's add a new
entry because the full range of clocks listed for N116BGE aren't
supported for N116BCA-EA1, at least according to the datasheet.
Signed-off-by: Douglas Anderson
fail to power on and need to be retried. We can
detect the problem sooner.
Signed-off-by: Douglas Anderson
---
Changes in v2:
- ("drm/panel-simple: Don't wait longer for HPD...") new for v2.
drivers/gpu/drm/panel/panel-simple.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletio
, but this patch makes it so that
if I add a retry that I can make things work.
Fixes: 48834e6084f1 ("drm/panel-simple: Support hpd-gpios for delaying
prepare()")
Signed-off-by: Douglas Anderson
---
Stephen: I didn't take your Reviewed-by tag since I made a small
change. If you're OK with this cha
-initialization.
Signed-off-by: Douglas Anderson
Reviewed-by: Stephen Boyd
Reviewed-by: Maulik Shah
Tested-by: Maulik Shah
Reviewed-by: Bjorn Andersson
---
Changes in v6:
- Don't wrap line; bust through 80 columns!
drivers/pinctrl/qcom/pinctrl-msm.c | 3 +--
drivers/pinctrl/qcom/pinctrl-msm.h | 2 ++
2
't need to open-code the logic in
both places.
This was found by code inspection. I don't have any access to the
hardware in question nor software that needs the Ack during unmask.
Fixes: 4b7618fdc7e6 ("pinctrl: qcom: Add irq_enable callback for msm gpio")
Signed-off-by: Douglas Anderson
Re
le callback for msm gpio")
Fixes: 71266d9d3936 ("pinctrl: qcom: Move clearing pending IRQ to
.irq_request_resources callback")
Signed-off-by: Douglas Anderson
Reviewed-by: Maulik Shah
Tested-by: Maulik Shah
---
I kept Maulik's tags from v5 even though there were slight
nterrupt status bits to
share a register.
NOTE: this code fixes no bugs--it simply avoids an extra register
read.
Signed-off-by: Douglas Anderson
Reviewed-by: Maulik Shah
Tested-by: Maulik Shah
Reviewed-by: Stephen Boyd
Reviewed-by: Bjorn Andersson
---
Changes in v6:
- Remove unneeded parenth
We have an external pull on this line, so disable the internal pull.
Signed-off-by: Douglas Anderson
---
arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi | 7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi
b/arch/arm64/boot/dts/qcom/sc7180
le callback for msm gpio")
Fixes: 71266d9d3936 ("pinctrl: qcom: Move clearing pending IRQ to
.irq_request_resources callback")
Signed-off-by: Douglas Anderson
Reviewed-by: Maulik Shah
Tested-by: Maulik Shah
---
I kept Maulik's tags from v5 even though there were slight
nterrupt status bits to
share a register.
NOTE: this code fixes no bugs--it simply avoids an extra register
read.
Signed-off-by: Douglas Anderson
Reviewed-by: Maulik Shah
Tested-by: Maulik Shah
Reviewed-by: Stephen Boyd
Reviewed-by: Bjorn Andersson
---
(no changes since v6)
Changes in v6
-initialization.
Signed-off-by: Douglas Anderson
Reviewed-by: Stephen Boyd
Reviewed-by: Maulik Shah
Tested-by: Maulik Shah
Reviewed-by: Bjorn Andersson
---
(no changes since v6)
Changes in v6:
- Don't wrap line; bust through 80 columns!
drivers/pinctrl/qcom/pinctrl-msm.c | 3 +--
drivers/pinctrl/qcom
, but this patch makes it so that
if I add a retry that I can make things work.
Fixes: 48834e6084f1 ("drm/panel-simple: Support hpd-gpios for delaying
prepare()")
Signed-off-by: Douglas Anderson
---
drivers/gpu/drm/panel/panel-simple.c | 10 --
1 file changed, 8 insertions(+), 2 deletion
't need to open-code the logic in
both places.
This was found by code inspection. I don't have any access to the
hardware in question nor software that needs the Ack during unmask.
Fixes: 4b7618fdc7e6 ("pinctrl: qcom: Add irq_enable callback for msm gpio")
Signed-off-by: Douglas Anderson
Re
o that we now have 3 modules: the old i2c-hid
module becomes the "core" module and two new modules will depend on
it, handling probing the specific device.
As part of this work, we'll remove the i2c-hid "platform data"
concept since it's not needed.
Signed-off-by: Doug
on the new subclass system.
Changes in v3:
- Fixed compatible in example.
- Removed Benjamin as a maintainer.
- Rework to use subclassing.
- Updated description.
Changes in v2:
- ("dt-bindings: HID: i2c-hid: Introduce bindings for the Goodix GT7375P") new
in v2.
- Get timings based on the compa
The i2c-hid driver has been split in two. Let's enable both halves.
Signed-off-by: Douglas Anderson
Acked-by: Will Deacon
---
(no changes since v4)
Changes in v4:
- ("arm64: defconfig: Update config names for i2c-hid rejigger") new for v4.
arch/arm64/configs/defconfig | 3 +
This adds new bindings for the Goodix GT7375P touchscreen. While this
touchscreen's communications are based on the generic "i2c-over-hid"
protocol, it needs special power sequencing and thus gets its own
compatible and bindings.
Signed-off-by: Douglas Anderson
Reviewed-by: R
touchscreen:
GT7375P
Signed-off-by: Douglas Anderson
---
Changes in v9:
- 120 ms delay => 180 ms delay
Changes in v6:
- Suspend/resume are no longer exported from the core.
Changes in v5:
- i2chid_subclass_data => i2chid_ops.
- power_up_device => power_up (same with power_down).
- subcla
p_intr() (our IRQ handler).
Doh!
I believe that the correct fix here is to assume that our power_off /
power_on functions might be called at "noirq" time and just always
poll if we're called via that path. Other paths can continue to wait
for the IRQ.
Fixes: 2209481409b7 ("soc: q
doodoo anyway. Let's just use the
non-interruptible version of the function and call it good enough.
Found by code inspection. No known test cases expose the problem
described here.
Fixes: 2209481409b7 ("soc: qcom: Add AOSS QMP driver")
Signed-off-by: Douglas Anderson
---
driver
ttle blurb to the logs if we ever need more
than 5.
Signed-off-by: Douglas Anderson
---
drivers/gpu/drm/bridge/ti-sn65dsi86.c | 40 +++
1 file changed, 29 insertions(+), 11 deletions(-)
diff --git a/drivers/gpu/drm/bridge/ti-sn65dsi86.c
b/drivers/gpu/drm/bridge/ti-sn65dsi
king right. If nothing
else, without this fix I see this in the logs:
OF: /soc@0/mdss@ae0: could not get #interconnect-cells for
/soc@0/interrupt-controller@17a0
Fixes: e23b1220a246 ("arm64: dts: qcom: sc7180: Increase the number of
interconnect cells")
Signed-off-
From: Taniya Das
In the case where the PLL configuration is lost, then the pm runtime
resume will reconfigure before usage.
Fixes: edab812d802d ("clk: qcom: lpass: Add support for LPASS clock controller
for SC7180")
Signed-off-by: Taniya Das
Signed-off-by: Douglas Anderson
From: Taniya Das
In the case where the PLL configuration is lost, then the pm runtime
resume will reconfigure before usage.
Fixes: edab812d802d ("clk: qcom: lpass: Add support for LPASS clock controller
for SC7180")
Signed-off-by: Taniya Das
Signed-off-by: Douglas Anderson
---
Cha
Let's convert the lpass clock control driver to use devm. This is a
few more lines of code, but it will be useful in a later patch which
disentangles the two devices handled by this driver.
Signed-off-by: Douglas Anderson
---
Changes in v4:
- Fixed typo lapss => lpass
- Mo
by the same driver.
Signed-off-by: Douglas Anderson
---
(no changes since v3)
Changes in v3:
- ("clk: qcom: lpass-sc7180: Disentangle the two clock devices") new for v3.
drivers/clk/qcom/lpasscorecc-sc7180.c | 101 --
1 file changed, 62 insertions(+), 39 deletion
Let's convert the lpass clock control driver to use devm. This is a
few more lines of code, but it will be useful in a later patch which
disentangles the two devices handled by this driver.
Signed-off-by: Douglas Anderson
---
Changes in v3:
- ("clk: qcom: lpasscc-sc7810: Use devm in
From: Taniya Das
In the case where the PLL configuration is lost, then the pm runtime
resume will reconfigure before usage.
Fixes: edab812d802d ("clk: qcom: lpass: Add support for LPASS clock controller
for SC7180")
Signed-off-by: Taniya Das
Signed-off-by: Douglas Anderson
---
Cha
by the same driver.
Signed-off-by: Douglas Anderson
---
Changes in v3:
- ("clk: qcom: lpass-sc7180: Disentangle the two clock devices") new for v3.
drivers/clk/qcom/lpasscorecc-sc7180.c | 121 +++---
1 file changed, 72 insertions(+), 49 deletions(-)
diff --git a/driver
+
+--
| (a) |
RESET -+
+-
| (b) |
I2C comm OK -+
Where (a) is 10 ms and (b) is 120 ms.
Let's add the ability to support this into the i2c-hid driver.
Signed-off-by: Douglas Anderson
---
drivers/hid/i2c
+
+--
| (a) |
RESET -+
+-
| (b) |
I2C comm OK -+
Where (a) is 10 ms and (b) is 120 ms.
Let's add the ability to specify these timings to the devicetree
bindings.
Signed-off-by: Douglas Anderson
---
I
/ rejigger. To me it seemed like a good
idea to first fix the probelm (and make the two functions as much of
an inverse as possible) and later try to clean things up. Yell if you
want something different.
Douglas Anderson (3):
soc: qcom: geni: More properly switch to DMA mode
Revert &quo
tel().
NOTE: the only current user of GENI_SE_DMA in mainline is i2c.
Fixes: 37692de5d523 ("i2c: i2c-qcom-geni: Add bus driver for the Qualcomm GENI
I2C controller")
Fixes: 02b9aec59243 ("i2c: i2c-qcom-geni: Fix DMA transfer race")
Signed-off-by: Douglas Anderson
---
driv
that this makes any performance
difference and it fixes no bugs. However, it seems (to me) like it
makes the functions a little easier to understand. Decreasing the
amount of times we read/write memory mapped registers is also nice,
even if we are using "relaxed" variants.
Signed-off-by: Dougla
;) is a prerequisite for this one.
Fixes: 02b9aec59243 ("i2c: i2c-qcom-geni: Fix DMA transfer race")
Signed-off-by: Douglas Anderson
---
drivers/i2c/busses/i2c-qcom-geni.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/i2c/busses/i2c-qcom-geni.c
b/driv
The lpass-sc7180 driver can be built as a module but is lacking a
MODULE_DEVICE_TABLE. This means it won't auto-load. Fix this
oversight.
Fixes: 24caf8d9eb10 ("ASoC: qcom: lpass-sc7180: Add platform driver for lpass
audio")
Signed-off-by: Douglas Anderson
---
sound/soc/qcom/lpas
the retry count to 10 just to be extra sure.
Fixes: 415b5a75da43 ("mmc: sdhci-msm: Add platform_execute_tuning
implementation")
Signed-off-by: Douglas Anderson
---
drivers/mmc/host/sdhci-msm.c | 18 +-
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/d
" will evaluate to true and we'll fall into the
error case. Oops.
Let's fix this.
Fixes: d05a7238fe1c ("mmc: sdhci-msm: Unconditionally call
dev_pm_opp_of_remove_table()")
Signed-off-by: Douglas Anderson
---
drivers/mmc/host/sdhci-msm.c | 2 +-
1 file changed, 1 insertion(+), 1 del
the DLL config whenever we do runtime
resume. This is safe and gets things working again.
NOTE: we don't need to introduce a whole new "struct
sdhci_msm_variant_info" for sc7180 since it would be exactly the same
as the sdm845 one. We'll just refer to that one.
Signed-off-by: Dougla
Add an entry for SC7180 SoC.
Signed-off-by: Douglas Anderson
---
drivers/soc/qcom/socinfo.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/soc/qcom/socinfo.c b/drivers/soc/qcom/socinfo.c
index e19102f46302..e56eea29615c 100644
--- a/drivers/soc/qcom/socinfo.c
+++ b/drivers/soc
Add a new SKU variant. This is a pick from the downstream tree that
is the current source of truth for this platform.
Link: https://crrev.com/c/2386997
Signed-off-by: Douglas Anderson
---
arch/arm64/boot/dts/qcom/Makefile | 1 +
.../dts/qcom/sc7180-trogdor-lazor-r1-kb.dts
to indicate that it's done.
There's no reason to block probe of all other devices on our probe.
Turn on async probe.
Signed-off-by: Douglas Anderson
---
Changes in v2:
- Updated commit message w/ details on why probe is slow.
- Added comment next to flag about why probe is slow.
drivers/iio
elieve both examples are supposed to be independent of each other.
Let's fix the bindings.
Fixes: 381cc6f97cda ("dt-bindings: clock: Add YAML schemas for LPASS clocks on
SC7180")
Signed-off-by: Douglas Anderson
---
.../bindings/clock/qcom,sc7180-lpasscorecc.yaml| 14 ++
1 fil
urn a bool indicating if there
is more to tx.
Signed-off-by: Douglas Anderson
---
drivers/spi/spi-geni-qcom.c | 167 +++-
1 file changed, 86 insertions(+), 81 deletions(-)
diff --git a/drivers/spi/spi-geni-qcom.c b/drivers/spi/spi-geni-qcom.c
index 0dc3f4c55b0b..49
er several runs.
Before: It took 6.66 seconds and 59669 interrupts fired.
After: It took 6.66 seconds and 47992 interrupts fired.
Signed-off-by: Douglas Anderson
---
drivers/spi/spi-geni-qcom.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/spi/spi-geni-qcom.c b/
not really noticeable on any real world benchmarks, we might as
well save the time.
Signed-off-by: Douglas Anderson
---
drivers/spi/spi-geni-qcom.c | 12 +++-
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/drivers/spi/spi-geni-qcom.c b/drivers/spi/spi-geni-qcom.c
index
-by: Douglas Anderson
---
drivers/spi/spi-geni-qcom.c | 13 ++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/drivers/spi/spi-geni-qcom.c b/drivers/spi/spi-geni-qcom.c
index 92d88bf85a90..6c7e12b68bf0 100644
--- a/drivers/spi/spi-geni-qcom.c
+++ b/drivers/spi/spi-geni
and we do a lot of SPI traffic.
Signed-off-by: Douglas Anderson
Reviewed-by: Stephen Boyd
---
(no changes since v1)
arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi | 19 ---
1 file changed, 16 insertions(+), 3 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi
b/
se devices.
>From a testing perspective, running "flashrom -p ec -r /tmp/foo.bin"
in a loop after this patch shows almost no reduction in time, but the
number of interrupts per command goes from 32357 down to 30611 (about
a 5% reduction).
Signed-off-by: Douglas Anderson
Reviewed-by: Ste
is called. Without seeing evidence that
this would really help someone, though, that doesn't seem worth it.
Signed-off-by: Douglas Anderson
---
arch/arm64/Kconfig | 15 +++
arch/arm64/include/asm/xor.h | 5 +
2 files changed, 20 insertions(+)
diff --git a/arch/arm64
nsole by just adding "console=ttyMSM0" (instead of
"console=ttyMSM0,115200n8") to the command line, so it seems like it'd
be nice to fix.
Let's switch the default to 115200.
Signed-off-by: Douglas Anderson
---
drivers/tty/serial/qcom_geni_serial.c | 2 +-
1 file changed, 1
structure to do this cleanly. This assumes that the
backlight will be enabled _after_ the panel enable finishes. This is
how it works today and seems a sane assumption.
Signed-off-by: Douglas Anderson
---
drivers/gpu/drm/panel/panel-simple.c | 48
1 file changed
nimum time between HPD being asserted by the panel and
setting the backlight enable GPIO. By specifying as a constraint we
can enforce this without over-delaying. Specifically the link
training is allowed to happen in parallel with this delay so adding a
fixed 80 ms delay isn't ideal.
Signed-off-b
Add yet another eDP panel.
Signed-off-by: Douglas Anderson
---
.../devicetree/bindings/display/panel/panel-simple.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
b/Documentation/devicetree/bindings/display
e the next patch AKA ("clk: qcom: gcc-sc7180: Add
50 MHz clock rate for SDC2")). That means then when you run an older
SD card it'll try to clock it at 100 MHz when it's only specced to run
at 50 MHz max. As you can probably guess that doesn't work super
well.
Signed-off-by: Dou
f their normal speed. There doesn't seem to be any
reason to skip this clock rate, so add it.
Fixes: 17269568f726 ("clk: qcom: Add Global Clock controller (GCC) driver for
SC7180")
Signed-off-by: Douglas Anderson
---
drivers/clk/qcom/gcc-sc7180.c | 1 +
1 file changed, 1 insertion(+)
a warning in the Qualcomm SDHCI driver to help catch the
problem.
This would have saved a bunch of time [1].
[1]
http://lore.kernel.org/r/20201210102234.1.I096779f219625148900fc984dd0084ed1ba87c7f@changeid
Suggested-by: Stephen Boyd
Signed-off-by: Douglas Anderson
---
drivers/mmc/host/sdhci-
a warning in the Qualcomm SDHCI driver to help catch the
problem.
This would have saved a bunch of time [1].
[1]
http://lore.kernel.org/r/20201210102234.1.I096779f219625148900fc984dd0084ed1ba87c7f@changeid
Suggested-by: Stephen Boyd
Signed-off-by: Douglas Anderson
---
Changes in v2:
- Store rate i
a warning in the Qualcomm SDHCI driver to help catch the
problem.
This would have saved a bunch of time [1].
[1]
http://lore.kernel.org/r/20201210102234.1.I096779f219625148900fc984dd0084ed1ba87c7f@changeid
Suggested-by: Stephen Boyd
Signed-off-by: Douglas Anderson
---
Changes in v3:
- Proper pri
rnel.org/r/20201210102234.1.I096779f219625148900fc984dd0084ed1ba87c7f@changeid
Suggested-by: Stephen Boyd
Signed-off-by: Douglas Anderson
Reviewed-by: Stephen Boyd
Reviewed-by: Bjorn Andersson
---
Changes in v4:
- Emphasize in the commit message that this itself doesn't fix anything.
Changes in v3:
- Pro
wrong rate (maybe it's rounding up instead of
down), this will make it much more obvious what's going on.
NOTE: we have to be a little careful here because the "actual_clock"
field shouldn't include the multiplier that sdhci-msm needs
internally.
Signed-off-by: Douglas Anderson
---
T7375P") new
in v2.
- Get timings based on the compatible string.
- Use a separate compatible string for this new touchscreen.
Douglas Anderson (4):
HID: i2c-hid: Reorganize so ACPI and OF are separate modules
arm64: defconfig: Update config names for i2c-hid rejigger
dt-bindings: inpu
o that we now have 3 modules: the old i2c-hid
module becomes the "core" module and two new modules will depend on
it, handling probing the specific device.
As part of this work, we'll remove the i2c-hid "platform data"
concept since it's not needed.
Signed-off-by: Doug
touchscreen:
GT7375P
Signed-off-by: Douglas Anderson
---
(no changes since v6)
Changes in v6:
- Suspend/resume are no longer exported from the core.
Changes in v5:
- i2chid_subclass_data => i2chid_ops.
- power_up_device => power_up (same with power_down).
- subclass => ops.
Chan
This adds new bindings for the Goodix GT7375P touchscreen. While this
touchscreen's communications are based on the generic "i2c-over-hid"
protocol, it needs special power sequencing and thus gets its own
compatible and bindings.
Signed-off-by: Douglas Anderson
Reviewed-by: R
The i2c-hid driver has been split in two. Let's enable both halves.
Signed-off-by: Douglas Anderson
Acked-by: Will Deacon
---
(no changes since v4)
Changes in v4:
- ("arm64: defconfig: Update config names for i2c-hid rejigger") new for v4.
arch/arm64/configs/defconfig | 3 +
rupt controller for QCOM SoCs")
Signed-off-by: Douglas Anderson
Reviewed-by: Maulik Shah
Tested-by: Maulik Shah
Reviewed-by: Stephen Boyd
---
There are no dependencies between this patch and patch #2/#3. It can
go in by itself. Patches are only grouped together in one series
because
-initialization.
Signed-off-by: Douglas Anderson
Reviewed-by: Stephen Boyd
---
(no changes since v1)
drivers/pinctrl/qcom/pinctrl-msm.c | 4 ++--
drivers/pinctrl/qcom/pinctrl-msm.h | 2 ++
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/pinctrl/qcom/pinctrl-msm.c
b/drivers/pinctrl
nt already masked us, but it's a good
idea in general.
* When we mux back will clear any interrupts and unmask our parent if
needed.
Fixes: 71266d9d3936 ("pinctrl: qcom: Move clearing pending IRQ to
.irq_request_resources callback")
Signed-off-by: Douglas Anderson
---
This patch
then get rid of
the clear.
Fixes: 4b7618fdc7e6 ("pinctrl: qcom: Add irq_enable callback for msm gpio")
Signed-off-by: Douglas Anderson
---
I don't have lots of good test cases here, so hopefully someone from
Qualcomm can confirm that this works well for them and there isn't
some other ph
o that we now have 3 modules: the old i2c-hid
module becomes the "core" module and two new modules will depend on
it, handling probing the specific device.
As part of this work, we'll remove the i2c-hid "platform data"
concept since it's not needed.
Signed-off-by: Doug
uot;dt-bindings: HID: i2c-hid: Introduce bindings for the Goodix GT7375P") new
in v2.
- Get timings based on the compatible string.
- Use a separate compatible string for this new touchscreen.
Douglas Anderson (4):
HID: i2c-hid: Reorganize so ACPI and OF are separate modules
arm64: defco
This adds new bindings for the Goodix GT7375P touchscreen. While this
touchscreen's communications are based on the generic "i2c-over-hid"
protocol, it needs special power sequencing and thus gets its own
compatible and bindings.
Signed-off-by: Douglas Anderson
Reviewed-by: R
touchscreen:
GT7375P
Signed-off-by: Douglas Anderson
---
(no changes since v6)
Changes in v6:
- Suspend/resume are no longer exported from the core.
Changes in v5:
- i2chid_subclass_data => i2chid_ops.
- power_up_device => power_up (same with power_down).
- subclass => ops.
Chan
The i2c-hid driver has been split in two. Let's enable both halves.
Signed-off-by: Douglas Anderson
Acked-by: Will Deacon
---
(no changes since v4)
Changes in v4:
- ("arm64: defconfig: Update config names for i2c-hid rejigger") new for v4.
arch/arm64/configs/defconfig | 3 +
rupt controller for QCOM SoCs")
Signed-off-by: Douglas Anderson
Reviewed-by: Maulik Shah
Tested-by: Maulik Shah
---
There are no dependencies between this patch and patch #2/#3. It can
go in by itself. Patches are only grouped together in one series
because they address similar iss
hat could have
been generated the first time we set RAW_STATUS_EN.
Fixes: 71266d9d3936 ("pinctrl: qcom: Move clearing pending IRQ to
.irq_request_resources callback")
Signed-off-by: Douglas Anderson
---
This patch depends on #2 in the series, but not #1. #1 can land on
its own and then
-initialization.
Signed-off-by: Douglas Anderson
---
(no changes since v1)
drivers/pinctrl/qcom/pinctrl-msm.c | 4 ++--
drivers/pinctrl/qcom/pinctrl-msm.h | 2 ++
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/pinctrl/qcom/pinctrl-msm.c
b/drivers/pinctrl/qcom/pinctrl-msm.c
index
gh handle_fifo_timeout() and then start a new transfer because
interrupts from the old transfer / cancel / abort could still be
pending. A future patch will help this corner case.
Fixes: 561de45f72bd ("spi: spi-geni-qcom: Add SPI driver support for GENI based
QUP")
Signed-off-by: Douglas
;)
Signed-off-by: Douglas Anderson
---
Changes in v3:
- spin the lock in spi_geni_is_abort_still_pending() if abort pending.
Changes in v2:
- Make this just about the failed abort.
drivers/spi/spi-geni-qcom.c | 59 +++--
1 file changed, 57 insertions(+), 2 delet
the driver even more
confused about what it's doing.
The SPI core in general assumes that setting chip select is a simple
operation that doesn't fail. Yet another reason to just reconfigure
the chip select line as GPIOs.
Signed-off-by: Douglas Anderson
---
Changes in v3:
- xfter => xfer
If we're using geni to manage the chip select line (don't do it--use a
GPIO!) and we happen to get a timeout waiting for the chip select
command to be completed, no errors are printed even though things
might not be in the best shape. Let's add a print.
Signed-off-by: Douglas Anderson
rnel.org/r/20201210102234.1.I096779f219625148900fc984dd0084ed1ba87c7f@changeid
Suggested-by: Stephen Boyd
Signed-off-by: Douglas Anderson
Reviewed-by: Stephen Boyd
Reviewed-by: Bjorn Andersson
---
(no changes since v4)
Changes in v4:
- Emphasize in the commit message that this itself doesn't fix anything
wrong rate (maybe it's rounding up instead of
down), this will make it much more obvious what's going on.
NOTE: we have to be a little careful here because the "actual_clock"
field shouldn't include the multiplier that sdhci-msm needs
internally.
Suggested-by: Adrian Hunter
Signed-o
ixes: 561de45f72bd ("spi: spi-geni-qcom: Add SPI driver support for GENI based
QUP")
Signed-off-by: Douglas Anderson
---
drivers/spi/spi-geni-qcom.c | 17 +
1 file changed, 17 insertions(+)
diff --git a/drivers/spi/spi-geni-qcom.c b/drivers/spi/spi-geni-qcom.c
index 25
t the next transfer.
Fixes: 561de45f72bd ("spi: spi-geni-qcom: Add SPI driver support for GENI based
QUP")
Signed-off-by: Douglas Anderson
---
drivers/spi/spi-geni-qcom.c | 69 -
1 file changed, 53 insertions(+), 16 deletions(-)
diff --git a/drivers/s
gh handle_fifo_timeout() and then start a new transfer because
interrupts from the old transfer / cancel / abort could still be
pending. A future patch will help this corner case.
Fixes: 561de45f72bd ("spi: spi-geni-qcom: Add SPI driver support for GENI based
QUP")
Signed-off-by: Douglas
If we're using geni to manage the chip select line (don't do it--use a
GPIO!) and we happen to get a timeout waiting for the chip select
command to be completed, no errors are printed even though things
might not be in the best shape. Let's add a print.
Signed-off-by: Douglas Anderson
;)
Signed-off-by: Douglas Anderson
---
Changes in v2:
- Make this just about the failed abort.
drivers/spi/spi-geni-qcom.c | 56 +++--
1 file changed, 54 insertions(+), 2 deletions(-)
diff --git a/drivers/spi/spi-geni-qcom.c b/drivers/spi/spi-geni-qcom.c
index
ure
the chip select line as GPIOs.
Signed-off-by: Douglas Anderson
---
Changes in v2:
- ("spi: spi-geni-qcom: Don't try to set CS if an xfer is pending") new for v2.
drivers/spi/spi-geni-qcom.c | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/drivers/spi/spi-
ot;hid-over-i2c" fallback and the various timings.
[1] https://lore.kernel.org/r/20201019211036.GA3595039@bogus
Signed-off-by: Douglas Anderson
---
Changes in v2:
- ("dt-bindings: HID: i2c-hid: Label this binding as deprecated") new in v2.
Documentation/devicetree/bindings/input/hid
hat we can list the two
possible i2c addresses for this device, which gives extra checking.
Signed-off-by: Douglas Anderson
---
Changes in v2:
- ("dt-bindings: HID: i2c-hid: Introduce bindings for the Goodix GT7375P") new
in v2.
.../bindings/input/goodix,gt7375p.yaml| 64 +++
tree, the guidance from the device tree maintainer is
that it's better to list the specific model and infer everything from
there. Thus that's what this patch implements.
Signed-off-by: Douglas Anderson
---
Changes in v2:
- Use a separate compatible string for this new touchscreen.
- Get timings
not already
well-defined numbers for all sd/mmc controllers, in the case of sc7180
there _are_ well defined numbers. IMO it is less confusing to use
those and match the docs.
Signed-off-by: Douglas Anderson
---
arch/arm64/boot/dts/qcom/sc7180.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --g
501 - 600 of 1431 matches
Mail list logo