Re: [PATCH v2 1/2] dt-bindings: pinctrl: qcom,pmic-gpio: Allow gpio-hog nodes

2024-04-12 Thread Linus Walleij
On Tue, Apr 9, 2024 at 8:36 PM Luca Weiss wrote: > Allow specifying a GPIO hog, as already used on > qcom-msm8974-lge-nexus5-hammerhead.dts. > > Signed-off-by: Luca Weiss This patch applied to the pinctrl tree! Yours, Linus Walleij

Re: [PATCH 64/64] i2c: reword i2c_algorithm in drivers according to newest specification

2024-04-02 Thread Linus Walleij
needed. For the others more work needs to be done but this will be > performed incrementally along with API changes/improvements. All these > changes here are simple search/replace results. > > Signed-off-by: Wolfram Sang Acked-by: Linus Walleij Yours, Linus Walleij

Re: [PATCH 1/4] asm-generic/page.h: apply page shift to PFN instead of VA in pfn_to_virt

2024-02-29 Thread Linus Walleij
; Signed-off-by: Yan Zhao My bug, obviously. :( Reviewed-by: Linus Walleij I thought this was already applied with the other fixes, but maybe it was missed? Yours, Linus Walleij

Re: [PATCH] mm: Remove broken pfn_to_virt() on arch csky/hexagon/openrisc

2024-02-02 Thread Linus Walleij
eneric/page.h is not touched in this patch as > it's referenced by page_to_virt() in that header while the whole header is > going to be removed as a whole due to no one including it. > > Link:https://lore.kernel.org/all/20240131055159.2506-1-yan.y.z...@intel.com > [1] > Cc: Linus Wall

Re: [PATCH 0/4] apply page shift to PFN instead of VA in pfn_to_virt

2024-01-30 Thread Linus Walleij
most conditions, especially when there's an offset in > __va. Ooops that's right, I wonder why I got it wrong. Arithmetic made it not regress :/ Thank you so much for fixing this Yan! Reviewed-by: Linus Walleij Arnd: I think you can take most of them through the arch tree. Yours, Linus Walleij

Re: [PATCH v8 3/9] pinctrl: single: add marvell,pxa1908-padconf compatible

2024-01-27 Thread Linus Walleij
On Wed, Jan 10, 2024 at 8:04 PM Duje Mihanović wrote: > Add the "marvell,pxa1908-padconf" compatible to allow migrating to a > separate pinctrl driver later. > > Signed-off-by: Duje Mihanović Acked-by: Linus Walleij I guess you will merge all of this through the S

Re: [PATCH v8 2/9] dt-bindings: pinctrl: pinctrl-single: add marvell,pxa1908-padconf compatible

2024-01-27 Thread Linus Walleij
On Wed, Jan 10, 2024 at 8:04 PM Duje Mihanović wrote: > Add the "marvell,pxa1908-padconf" compatible to allow migrating to a > separate pinctrl driver later. > > Reviewed-by: Rob Herring > Signed-off-by: Duje Mihanović Acked-by: Linus Walleij Yours, Linus Walleij

Re: [PATCH v2 5/7] dt-bindings: pinctrl: qcom,sc7280: Allow gpio-reserved-ranges

2023-09-27 Thread Linus Walleij
On Tue, Sep 19, 2023 at 2:46 PM Luca Weiss wrote: > Allow the gpio-reserved-ranges property on SC7280 TLMM. > > Acked-by: Linus Walleij > Acked-by: Krzysztof Kozlowski > Signed-off-by: Luca Weiss This patch 5/7 applied to the pinctrl tree! Yours, Linus Walleij

Re: [PATCH v2 1/2] pinctrl: qcom: msm8226: Add MPM pin mappings

2023-09-27 Thread Linus Walleij
On Sat, Sep 23, 2023 at 3:14 PM Matti Lehtimäki wrote: > Add pin <-> wakeirq mappings to allow for waking up the AP from sleep > through MPM-connected pins. > > Signed-off-by: Matti Lehtimäki Both v2 patches applied! Yours, Linus Walleij

Re: [PATCH v2 0/3] Add blsp1_i2c6 and blsp1_uart2 to MSM8226 SoC

2023-09-27 Thread Linus Walleij
On Fri, Sep 22, 2023 at 6:56 PM Luca Weiss wrote: > Add the I2C bus and UART interface found on the MSM8226. For the I2C bus > we also first need to add the pinctrl function in the driver. > > Signed-off-by: Luca Weiss v2 looks fine and ACKs in place, so patches applied! Yours, Linus Walleij

Re: [PATCH] iio: light: gp2ap002: Fix rumtime PM imbalance on error

2021-04-19 Thread Linus Walleij
So in this case, since it is an I2C device, we are probably fine without grabbing a reference. But this is not a general rule for any (non-slow) bus, so the idiomatic pattern to follow is better like this. Yours, Linus Walleij

Re: BUG: iio: mpu3050: Wrong temperature scale

2021-04-19 Thread Linus Walleij
se controlled environment chambers for this. But I hope there is a better way. Yours, Linus Walleij

Re: [PATCH] dt-bindings: pinctrl: rockchip: add RK3568 SoC support

2021-04-14 Thread Linus Walleij
On Sat, Apr 10, 2021 at 10:45 PM Ezequiel Garcia wrote: > Add RK3568/RK3566 SoC support to pinctrl. > > Signed-off-by: Ezequiel Garcia Patch applied. Yours, Linus Walleij

Re: [PATCH v2 0/7] gpio-rockchip driver

2021-04-14 Thread Linus Walleij
ernel/git/linusw/linux-pinctrl.git/log/?h=devel ... or you can wait until kernel v5.13-rc1 is out and then we can merge it, but it might even require rebasing after that. Yours, Linus Walleij

Re: [PATCH v2 1/3] dt-bindings: gpio: add YAML description for rockchip,gpio-bank

2021-04-14 Thread Linus Walleij
ockchip,gpio-bank.yaml. > > Signed-off-by: Johan Jonker > --- > Changed V2: > changed example gpio nodename Reviewed-by: Linus Walleij Yours, Linus Walleij

Re: [PATCH v2] drivers: pinctrl: qcom: fix Kconfig dependency on GPIOLIB

2021-04-14 Thread Linus Walleij
ecursive dependency error. > > Signed-off-by: Julian Braha Patch applied. Yours, Linus Walleij

Re: [PATCH] iio: light: gp2ap002: Fix rumtime PM imbalance on error

2021-04-12 Thread Linus Walleij
pm_runtime_force_resume) Now you have ordinary sleep PM for free. It will just force the same suspend/resume callbacks and they are guaranteed to be race free. This doesn't work for everyone but surprisingly often this is what you want. Yours, Linus Walleij

Re: [PATCH] iio: light: gp2ap002: Fix rumtime PM imbalance on error

2021-04-11 Thread Linus Walleij
nd() will disable them, i.e. handover to runtime PM with the device in resumed state. I hope this is answering the question, not sure. Yours, Linus Walleij

Re: [PATCH] pinctrl: at91-pio4: Fix slew rate disablement

2021-04-09 Thread Linus Walleij
ll also > work for cases where pins have multiple configurations. > > Fixes: 440b144978ba ("pinctrl: at91-pio4: add support for slew-rate") > Signed-off-by: Tudor Ambarus Patch applied! Yours, Linus Walleij

Re: [PATCH] pinctrl: samsung: use 'int' for register masks in Exynos

2021-04-09 Thread Linus Walleij
ozlowski (...) > Please apply it directly, I don't have any patches for Samsung pinctrl > in my tree. OK! Patch applied! Yours, Linus Walleij

Re: [PATCH v3] drivers: introduce and use WANT_DMA_CMA for soft dependencies on DMA_CMA

2021-04-09 Thread Linus Walleij
e if DMA_CMA is not available/functioning, for example, if no CMA > area for DMA_CMA use has been setup via "cma=X". In the worst case, the > driver cannot do it's job properly in some configurations. Looks good to me. At least a lot better than what we have. Reviewed-by:

Re: [PATCHv2 35/38] dt-bindings: power: supply: ab8500: Convert to DT schema format

2021-04-08 Thread Linus Walleij
the information in plaintext for now. > > Signed-off-by: Sebastian Reichel Thanks for doing this Sebastian: Reviewed-by: Linus Walleij Long term I want to get rid of the "charging algorithm" device node, as can be easily seen that is not a real hardware device but just some mockery to get

Re: [GIT PULL] Apple M1 SoC platform bring-up for 5.13

2021-04-08 Thread Linus Walleij
ork on this series Hector, thanks for working so hard on this! Yours, Linus Walleij

Re: New 'make dtbs_check W=1' warnings

2021-04-08 Thread Linus Walleij
Documentation/devicetree/bindings/iio/st,st-sensors.yaml are slightly incorrect. Several sensors have more than 1 IRQ. I was working on a refined version of the bindings but got sidetracked. https://lore.kernel.org/linux-iio/20210104093343.2134410-1-linus.wall...@linaro.org/ I'll try to get to it. Yours, Linus Walleij

Re: [PATCH v2 1/2] dt-bindings: pinctrl: qcom-pmic-gpio: Add pm8008 support

2021-04-08 Thread Linus Walleij
On Thu, Apr 8, 2021 at 7:25 PM Guru Das Srinagesh wrote: > Add support for the 2 GPIOs present on Qualcomm Technologies, Inc. > PM8008. > > Acked-by: Bjorn Andersson > Signed-off-by: Guru Das Srinagesh Patches applied. Yours, Linus Walleij

Re: [PATCH v1 2/2] drivers/gpu/drm: don't select DMA_CMA or CMA from aspeed or etnaviv

2021-04-08 Thread Linus Walleij
actually using DMA_CMA. I suspect small allocations will be contiguous and big allocations will start to fragment? but it's just my guess. I guess "really need it"? Yours, Linus Walleij

Re: [PATCH] pinctrl: ti: fix error return code of ti_iodelay_dt_node_to_map()

2021-04-08 Thread Linus Walleij
On Tue, Mar 30, 2021 at 10:39 AM angkery wrote: > From: Junlin Yang > > when devm_kcalloc fails, use -ENOMEM instead of -EINVAL, > and consistent with other devm_kcalloc return values. > > Signed-off-by: Junlin Yang Patch applied. Yours, Linus Walleij

Re: [PATCH v9 00/22] pinctrl: add BCM63XX pincontrol support

2021-04-08 Thread Linus Walleij
is one IRQ line per GPIO line, the hierarchical support should be used as outlined. GPIO_REGMAP should be mostly (famous last words) orthogonal. Yours, Linus Walleij

Re: [PATCH V2 0/3] Add GPIO support for PM7325, PM8350c, PMK8350 and PMR735A

2021-04-08 Thread Linus Walleij
c gpio bindings > to YAML Please collect the ACKs and rebase like Björn says, sort stuff alphabetically and resend so I can try to apply it! The YAML conversion may need a nod from the DT people as well. Yours, Linus Walleij

Re: [PATCH 0/3] gpio-rockchip driver

2021-04-08 Thread Linus Walleij
On Mon, Mar 22, 2021 at 11:43 AM Jianqun Xu wrote: > Separate gpio driver from pinctrl driver. I tried to apply this too, but it fails, can you rebase on the pinctrl "devel" branch (I suppose the RK3568 driver got in the way). Yours, Linus Walleij

Re: [PATCH v1 2/2] drivers/gpu/drm: don't select DMA_CMA or CMA from aspeed or etnaviv

2021-04-08 Thread Linus Walleij
problem with your driver. "my" drivers: drivers/gpu/drm/mcde/Kconfig drivers/gpu/drm/pl111/Kconfig drivers/gpu/drm/tve200/Kconfig certainly needs this as well, and pretty much anything that is selecting DRM_KMS_CMA_HELPER or DRM_GEM_CMA_HELPER "wants" DMA_CMA. Yours, Linus Walleij

Re: [PATCH v1] drivers: pinctrl: qcom: fix Kconfig dependency on GPIOLIB

2021-04-08 Thread Linus Walleij
; > > > > Signed-off-by: Julian Braha > > > > Does it work to just: > > > > select GPIOLIB > > > > instead? > > > > The driver needs the library so... > > > > Yours, > > Linus Walleij > > > > Hi Linus, > > Looks

Re: [PATCH v4] gpio: mpc8xxx: Add ACPI support

2021-04-08 Thread Linus Walleij
On Tue, Apr 6, 2021 at 3:49 AM Ran Wang wrote: > Could this version be accepted, or any comment/suggestion? Andy says yes, then it is a yes :) FWIW Acked-by: Linus Walleij Yours, Linus Walleij

Re: [PATCH 32/32] pinctrl: update pin-control.rst references

2021-04-07 Thread Linus Walleij
. > > Fixes: 5513b411ea5b ("Documentation: rename pinctl to pin-control") > Signed-off-by: Mauro Carvalho Chehab Reviewed-by: Linus Walleij I assume you will apply this Mauro? Yours, Linus Walleij

Re: gemini: sl3516: Mainlining of NS 2502

2021-04-07 Thread Linus Walleij
21 #else (...) This seems to correspond to your device tree so OK... But it's annoying that we can't communicate with it. This is usually because some other device is "shading" the GPIO lines, i.e. hiding it. drivers/net/sl_switch.c is not used on your platform (Vitesse switch) and is a leftover from the Storlink reference design. > > > BUT neither ethernet nor USB works. > > > > For USB try this patch: > > https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git/commit/?h=gemini-usb=cbaf6cdf770b90de5f10bfa5112c679f1dffe948 > > > > One of the USB port is now working. Hey nice! :D The USB patch is not very widely tested, so it may need some shaping up. > Note that I have also started to work on the gemini crypto driver. I saw some nice debug prints! :D I always wanted to get that to work, nice that you're working on it! Yours, Linus Walleij

Re: [PATCH] iio: light: gp2ap002: Fix rumtime PM imbalance on error

2021-04-07 Thread Linus Walleij
t; > Signed-off-by: Dinghao Liu Looks correct, this semantic ordering always confuse me a bit: Reviewed-by: Linus Walleij Yours, Linus Walleij

Re: gemini: sl3516: Mainlining of NS 2502

2021-04-06 Thread Linus Walleij
is pretty important, if you have vendor source code, please share so I can check how they set it up. > BUT neither ethernet nor USB works. For USB try this patch: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git/commit/?h=gemini-usb=cbaf6cdf770b90de5f10bfa5112c679f1dffe948 Pls report progress! I hope we can mainline this device. Yours, Linus Walleij

Re: [PATCH RFC/RFT 1/1] misc: add simple logic analyzer using polling

2021-04-01 Thread Linus Walleij
im and gpio-aggregator so why not. I would create a Kconfig menu with "GPIO hardware hacking tools". But Bartosz would need to agree on that idea. > +config GPIO_LOGIC_ANALYZER > + tristate "Simple GPIO logic analyzer" > + depends on GPIOLIB || COMPILE_TEST > + help depends on EXPERT I would say. Definitely not something for the average user. Yours, Linus Walleij

Re: [PATCH v2] pinctrl: bcm: bcm6362: fix warning

2021-03-31 Thread Linus Walleij
pinctrl: add a pincontrol driver for BCM6362") > Signed-off-by: Álvaro Fernández Rojas Patch applied! Thanks! Yours, Linus Walleij

[GIT PULL] pin control fixes for the v5.12 kernel

2021-03-31 Thread Linus Walleij
Hi Linus, here are some overly ripe fixes for the v5.12 kernel. I should have sent earlier but had my head stuck in GDB. All are driver fixes. Details in the signed tag. Please pull it in! Yours, Linus Walleij The following changes since commit a38fd8748464831584a19438cbb3082b5a2dab15

Re: [PATCH] pinctrl: microchip: fix array overflow

2021-03-30 Thread Linus Walleij
On Sun, Mar 28, 2021 at 7:18 PM Lars Povlsen wrote: > Linus Walleij writes: > > > On Tue, Mar 23, 2021 at 2:10 PM Arnd Bergmann wrote: > > > >> From: Arnd Bergmann > >> > >> Building with 'make W=1' shows an array overflow: > >> >

Re: linux-next: build warning after merge of the pinctrl tree

2021-03-30 Thread Linus Walleij
t didn't see it. Good that we have so many layers. I bet Álvaro will have a patch to fix it in no time. Yours, Linus Walleij

Re: [PATCH v2 01/13] gpio: Add Elba SoC gpio driver for spi cs control

2021-03-29 Thread Linus Walleij
rite. Yours, Linus Walleij

Re: [PATCH v2 13/13] gpio: Use linux/gpio/driver.h

2021-03-29 Thread Linus Walleij
On Mon, Mar 29, 2021 at 4:00 AM Brad Larson wrote: > New drivers should include instead > of legacy . > > Signed-off-by: Brad Larson Fold into patch 1 as indicated by Greg. Yours, Linus Walleij

Re: [PATCH v9 01/22] gpio: guard gpiochip_irqchip_add_domain() with GPIOLIB_IRQCHIP

2021-03-29 Thread Linus Walleij
usw/linux-pinctrl.git/log/?h=ib-bcm63xx If we get problems between GPIO and pin control you can pull this in, but let's hope not! Yours, Linus Walleij

Re: [PATCH v9 00/22] pinctrl: add BCM63XX pincontrol support

2021-03-29 Thread Linus Walleij
vel" branch so the build servers can churn at it! Later today I will integrate it into linux-next. Any remaining issues can certainly be fixed in-tree. Thanks for your perseverance in cleaning up these SoCs!! Now, what about a patch set for the IRQ support? :) Yours, Linus Walleij

Re: [PATCH v2 00/13] Driver of Intel(R) Gaussian & Neural Accelerator

2021-03-26 Thread Linus Walleij
nice. Have you made any attempts to cooperate with anyone else in the world on this, or is this Intel's personal playground? Yours, Linus Walleij

Re: [PATCH] tools: gpio-utils: fix various kernel-doc warnings

2021-03-25 Thread Linus Walleij
Cc: Bartosz Golaszewski > Cc: Linus Walleij > Cc: linux-g...@vger.kernel.org Reviewed-by: Linus Walleij Yours, Linus Walleij

Re: [PATCH] pinctrl: qcom: fix unintentional string concatenation

2021-03-25 Thread Linus Walleij
o22", >^ > Add the missing comma that must have accidentally been removed. > > Fixes: ac43c44a7a37 ("pinctrl: qcom: Add SDX55 pincontrol driver") > Signed-off-by: Arnd Bergmann Patch applied. Yours, Linus Walleij

Re: [PATCH v2] ARM: Implement Clang's SLS mitigation

2021-03-25 Thread Linus Walleij
inux.git/commit/?id=679db70801da9fda91d26caf13bf5b5ccc74e8e8 So it seems the most vulnerable spot was already fixed by you, thanks! But I bet there are some more spots. Yours, Linus Walleij

Re: [PATCH v4 09/16] gpio: support ROHM BD71815 GPOs

2021-03-25 Thread Linus Walleij
v3: > - No changes This looks OK to me: Acked-by: Linus Walleij It could potentially (like the other Rohm GPIO MFD PMIC drivers) make some use of the gpio regmap library, but we have some pending changes for that so look into it after the next merge window. I.e. for your TODO: look a

Re: [PATCH] pinctrl: microchip: fix array overflow

2021-03-25 Thread Linus Walleij
xes: be2dc859abd4 ("pinctrl: pinctrl-microchip-sgpio: Add irq support (for > sparx5)") > Signed-off-by: Arnd Bergmann Patch applied. Yours, Linus Walleij

Re: [PATCH v5 00/11] gpio: implement the configfs testing module

2021-03-25 Thread Linus Walleij
elay the new testing driver anymore so I intend to > apply the entire series and take it upstream through the GPIO tree by > the end of this week. I say go ahead. Acked-by: Linus Walleij Yours, Linus Walleij

Re: [PATCH] Documentation: gpio: chip should be plural

2021-03-25 Thread Linus Walleij
On Tue, Mar 23, 2021 at 3:56 PM Bryan Brattlof wrote: > Signed-off-by: Bryan Brattlof Reviewed-by: Linus Walleij Yours, Linus Walleij

Re: [PATCH] drivers: pinctrl: Remove duplicate include of io.h

2021-03-25 Thread Linus Walleij
On Tue, Mar 23, 2021 at 2:37 AM Wan Jiabing wrote: > linux/io.h has been included at line 6, so remove the > duplicate include at line 18. > > Signed-off-by: Wan Jiabing Patch applied! Yours, Linus Walleij

Re: [PATCH v2 6/7] usb: gadget: pch_udc: Initialize device pointer before use

2021-03-25 Thread Linus Walleij
s: e20849a8c883 ("usb: gadget: pch_udc: Convert to use GPIO descriptors") > Signed-off-by: Andy Shevchenko Ooops sorry. Reviewed-by: Linus Walleij Yours, Linus Walleij

Re: [PATCH v2 1/7] usb: gadget: pch_udc: Replace cpu_to_le32() by lower_32_bits()

2021-03-25 Thread Linus Walleij
(different base > types) > .../pch_udc.c:1813:27:expected unsigned int [usertype] dataptr > .../pch_udc.c:1813:27:got restricted __le32 [usertype] > > Fixes: f646cf94520e ("USB device driver of Topcliff PCH") > Signed-off-by: Andy Shevchenko Nice fix! Also easie

Re: [PATCH] pinctrl: PINCTRL_ROCKCHIP should depend on ARCH_ROCKCHIP

2021-03-25 Thread Linus Walleij
ot;) > Signed-off-by: Geert Uytterhoeven Patch applied. I saw this was causing issues on S390. Yours, Linus Walleij

Re: [PATCH] pinctrl: add lock in mtk_rmw function.

2021-03-25 Thread Linus Walleij
On Sun, Mar 21, 2021 at 4:32 AM Zhiyong Tao wrote: > When multiple threads operate on the same register resource > which include multiple pin, It will make the register resource > wrong to control. So we add lock to avoid the case. > > Signed-off-by: Zhiyong Tao Patch applied

Re: [RFC PATCH 07/12] gpio: amd-fch: add oftree probing support

2021-03-25 Thread Linus Walleij
n just grep for PROPERTY_ENTRY and you find some examples of how we use it. Yours, Linus Walleij

Re: [PATCH v4 2/3] dt-bindings: pinctrl: Add binding for ZynqMP pinctrl driver

2021-03-25 Thread Linus Walleij
+enum: [0, 1] As concluded from driver review, replace this with power-source which is already defined in Documentation/devicetree/bindings/pinctrl/pincfg-node.yaml Yours, Linus Walleij

Re: [PATCH v4 3/3] pinctrl: Add Xilinx ZynqMP pinctrl driver support

2021-03-25 Thread Linus Walleij
o comment. > > > > Linus? While it is fine to add custom pin config options to pin controllers for hopelessly idiomatic stuff, this does look like it should be using PIN_CONFIG_POWER_SOURCE with the voltage rail as parameter, see include/linux/pinctrl/pinconf-generic.h If you're not using that then tell us why. Yours, Linus Walleij

Re: [PATCH v2 7/7] usb: gadget: pch_udc: Provide a GPIO line used on Intel Minnowboard (v1)

2021-03-25 Thread Linus Walleij
> Signed-off-by: Andy Shevchenko Reviewed-by: Linus Walleij Yours, Linus Walleij

Re: [PATCH v1 6/6] usb: gadget: pch_udc: Provide a GPIO line used on Intel Minnowboard (v1)

2021-03-25 Thread Linus Walleij
> Signed-off-by: Andy Shevchenko Excellent solution! Reviewed-by: Linus Walleij Yours, Linus Walleij

Re: [PATCH v5 2/2] gpio: sch: Hook into ACPI GPE handler to catch GPIO edge events

2021-03-25 Thread Linus Walleij
; SCI events. Therefore, we need to hook from the driver into GPE handler of > the ACPI subsystem in order to catch and report GPIO-related events. > > Validated on the Inlel Minnowboard (v1) platform. > > Signed-off-by: Andy Shevchenko Looks good to me: Reviewed-by: Linus Walleij Yours, Linus Walleij

Re: [PATCH v5 1/2] gpio: sch: Add edge event support

2021-03-25 Thread Linus Walleij
handle_bad_irq; I always add a local variable like: struct gpio_irq_chip *girq; And assign with the arrow, so as to make it easier to read: girq->parent_handler = NULL etc. +/- the above: Reviewed-by: Linus Walleij Yours, Linus Walleij

Re: [PATCH v4 0/3] Fix pinctrl-single pcs_pin_dbg_show()

2021-03-25 Thread Linus Walleij
se. This v4 patch set applied! Yours, Linus Walleij

Re: [PATCH] linux/gpio/driver.h: some edits for clarity

2021-03-25 Thread Linus Walleij
On Tue, Mar 23, 2021 at 11:19 PM Randy Dunlap wrote: > Fix a few typos and some punctuation. > Also, change CONFIG_OF to CONFIG_OF_GPIO in one comment. > > Signed-off-by: Randy Dunlap > Cc: Linus Walleij > Cc: Bartosz Golaszewski > Cc: linux-g...@vger.kernel.org Revie

Re: [RESEND 1/1] arch: arm: mach-at91: pm: Move prototypes to mutually included header

2021-03-24 Thread Linus Walleij
~~ > > > > > > Cc: Russell King > > > Cc: Nicolas Ferre > > > Cc: Alexandre Belloni > > > Cc: Ludovic Desroches > > > Signed-off-by: Lee Jones > > > > I'm pretty sure you had my ack on v3 ;) > > > > Acked-by: Alexandre Belloni > > > > or again, alternatively, I can apply it with Linus' ack > > That would be my preference, thanks. Acked-by: Linus Walleij Yours, Linus Walleij

Re: [GIT PULL] Immutable branch between MFD and Power due for the v5.13 merge window

2021-03-23 Thread Linus Walleij
e I will just defer to after v5.13-rc1. Yours, Linus Walleij

Re: GTE - The hardware timestamping engine

2021-03-23 Thread Linus Walleij
be generic enough that a certain hardware timestamp can be selected sooner or later. But let's not overcomplicate things for now. Yours, Linus Walleij

Re: include/linux/unaligned/be_byteshift.h:46:19: error: redefinition of 'get_unaligned_be32'

2021-03-22 Thread Linus Walleij
& HAS_DMA >>Selected by >>- SND_ATMEL_SOC_SSC && SOUND && !UML && SND && SND_SOC && SND_ATMEL_SOC >>- SND_ATMEL_SOC_SSC_PDC && SOUND && !UML && SND && SND_SOC && >> SND_ATMEL_SOC && ATMEL_SSC > > This one though is interesting. This looks like nothing to me :/ As confused as ever about Kconfig. Yours, Linus Walleij

Re: [PATCH 0/3] gpio-rockchip driver

2021-03-22 Thread Linus Walleij
and he may want to take a look). Yours, Linus Walleij

Re: [PATCH v1 1/1] gpio: Support interrupts in gpio-mlxbf2.c

2021-03-22 Thread Linus Walleij
: Len Brown L: linux-a...@vger.kernel.org Yours, Linus Walleij

Re: [PATCH v5] ARM: Implement SLS mitigation

2021-03-22 Thread Linus Walleij
On Wed, Mar 10, 2021 at 5:43 AM Jian Cai wrote: > On Sat, Mar 6, 2021 at 4:25 AM Linus Walleij wrote: > > On Fri, Mar 5, 2021 at 12:23 AM Jian Cai wrote: > > > On Wed, Mar 3, 2021 at 7:04 AM Linus Walleij > > > wrote: > > > I think gcc also has thes

Re: [PATCH v3] gpio: pl061: Support implementations without GPIOINTR line

2021-03-22 Thread Linus Walleij
On Mon, Mar 22, 2021 at 9:50 AM Alexander Sverdlin wrote: > On 20/03/2021 12:10, Linus Walleij wrote: > >>> I'm wondering if the GPIO library support for IRQ hierarchy is what > >>> you are looking for. > > It is indeed what should be used. > > and what

Re: [PATCH] mfd: ABX500_CORE should depend on ARCH_U8500

2021-03-20 Thread Linus Walleij
rnel without U8500 support. > > Also, merely enabling CONFIG_COMPILE_TEST should not enable additional > code, and thus should not enable this driver by default. > > Signed-off-by: Geert Uytterhoeven Very nice. Good catch! Reviewed-by: Linus Walleij Yours, Linus Walleij

Re: GTE - The hardware timestamping engine

2021-03-20 Thread Linus Walleij
want to use this timestamp for IIO devices? If it is just GPIOs and IRQs today, it will be gyroscopes and accelerometers tomorrow, am I right? Yours, Linus Walleij

Re: [PATCH v7 00/22] pinctrl: add BCM63XX pincontrol support

2021-03-20 Thread Linus Walleij
st effort and involves a bit of guesswork and group effort and you are part of the group effort now :) Yours, Linus Walleij

Re: [PATCH v3] gpio: pl061: Support implementations without GPIOINTR line

2021-03-20 Thread Linus Walleij
ssion > from 2017, where > Linus Walleij suggested to use it. Well, the initial patch was just 11-liner > and PL061 is > rather counterexample and doesn't fit well into the existing hierarchical > infrastructure. > > >> Link: > >> https://lore.kernel.org/linux

Re: [PATCH v7 00/22] pinctrl: add BCM63XX pincontrol support

2021-03-16 Thread Linus Walleij
its can be fixed in-tree. Yours, Linus Walleij

Re: [PATCH v9 2/4] pinctrl: pinmux: Add pinmux-select debugfs file

2021-03-15 Thread Linus Walleij
ds have multiple SIM slots that can be switched > via some gpio pin. > > Not sure whether traditional pinmux would be a good match for that. What is wrong with the subsystem drivers/mux? It's exactly for this usecase I think. Peter Rosin already wrote a GPIO-controlled mux driver too. Yours, Linus Walleij

Re: [PATCH 1/2] pinctrl: qcom: sm8350: add GPIO wakeup interrupt map

2021-03-15 Thread Linus Walleij
; Signed-off-by: Lina Iyer > Signed-off-by: Bjorn Andersson This patch 1/2 applied to the pin control tree. Please take the DTS patch into the qcom SoC tree! Yours, Linus Walleij

Re: [PATCH v6 04/15] dt-bindings: add BCM6328 pincontroller binding documentation

2021-03-15 Thread Linus Walleij
n also be bolted with a front-end pin controller (facing the pins) with several GPIO+interrupt controller back-ends. Then it gets the structure in this patch, subnodes for each GPIO controller. Our current bindings have all three examples and it simply reflects the different ways HW engineers have chosen to integrate their stuff. Yours, Linus Walleij

Re: [PATCH] pinctrl: core: Set ret to 0 when group is skipped

2021-03-15 Thread Linus Walleij
ialize ret to 0 to avoid uninitialized ret value in first > loop or reusing ret value from first loop in second. > > Addresses-Coverity: ("Uninitialized variables") > Signed-off-by: Michal Simek > CC: Colin Ian King > CC: Dan Carpenter Patch applied! Yours, Linus Walleij

Re: [PATCH] pinctrl: ti: fix error return code of ti_iodelay_probe()

2021-03-15 Thread Linus Walleij
ted-by: TOTE Robot > Signed-off-by: Jia-Ju Bai Patch applied! Yours, Linus Walleij

Re: [PATCH 2/2] gpio: Add Realtek Otto GPIO support

2021-03-15 Thread Linus Walleij
e IMR registers may not match the reversed order in the other > registers (DCBA, and BA-DC or DC-BA). > > Signed-off-by: Sander Vanheule Overall this is a beautiful driver and it makes use of all the generic frameworks I can think of. I don't see any reason not to merge it so: Reviewed-by:

Re: [PATCH 1/2] dt-bindings: gpio: Binding for Realtek Otto GPIO

2021-03-15 Thread Linus Walleij
vided for cases where the > actual port ordering is not known yet, and enabling the interrupt > controller may result in uncaught interrupts. > > Signed-off-by: Sander Vanheule These bindings look good to me. Reviewed-by: Linus Walleij Yours, Linus Walleij

Re: [RFC PATCH 1/5] rpmb: add Replay Protected Memory Block (RPMB) subsystem

2021-03-12 Thread Linus Walleij
who knows what secure world imperialists are out there). This leaves Linux in control of the eMMC RPMB under all circumstances as far as I can see. Yours, Linus Walleij

Re: [RFC PATCH 1/5] rpmb: add Replay Protected Memory Block (RPMB) subsystem

2021-03-12 Thread Linus Walleij
s it is absolutely necessary that the secure world and the Linux storage drivers cooperate so the solution is to let Linux handle this arbitration. Now the question for this patch set is: is TEE software the only user we need to care about? Yours, Linus Walleij

Re: [RFC PATCH 1/5] rpmb: add Replay Protected Memory Block (RPMB) subsystem

2021-03-12 Thread Linus Walleij
Hi Hector, thanks for the long and detailed answer! I learn new things all the time. (Maybe one day I add something too, who knows.) I hope I'm not taking too much of your time, we're having fun :) On Thu, Mar 11, 2021 at 9:02 PM Hector Martin wrote: > On 11/03/2021 23.06, Linus Walleij wr

Re: [PATCH 0/4] mfd/power: Push data into power supply

2021-03-12 Thread Linus Walleij
On Fri, Mar 12, 2021 at 9:36 AM Linus Walleij wrote: > - The power maintainer (Sebastian) provide an ACK Ooops I noticed actuall Sebastian already gave an ACK for these patches: https://lore.kernel.org/linux-pm/20210128001700.pkuyfpq6uzcjb5ud@earth.universe/ Sorry for keeping bad tr

[PATCH 4/4] mfd/power: ab8500: Push data to power supply code

2021-03-12 Thread Linus Walleij
There is a slew of defines, structs and enums and even a function call only relevant for the charging code that still lives in . Push it down to the "ab8500-bm.h" header in the power supply subsystem where it is actually used. Signed-off-by: Linus Walleij --- drivers/power/supply/a

[PATCH 0/4] mfd/power: Push data into power supply

2021-03-12 Thread Linus Walleij
patches. No hurry. Linus Walleij (4): mfd/power: ab8500: Require device tree mfd/power: ab8500: Push data to power supply code mfd/power: ab8500: Push algorithm to power supply code mfd/power: ab8500: Push data to power supply code drivers/mfd/ab8500-core.c | 17

[PATCH 2/4] mfd/power: ab8500: Push data to power supply code

2021-03-12 Thread Linus Walleij
as platform data to the MFD cells and then picked back into the same subsystem that defined it in the first place. This kills off a layer of indirection. Acked-for-MFD-by: Lee Jones Signed-off-by: Linus Walleij --- drivers/mfd/ab8500-core.c | 17 + .../power/supply}/ab8500

[PATCH 3/4] mfd/power: ab8500: Push algorithm to power supply code

2021-03-12 Thread Linus Walleij
code needing to pass data from boardfiles, which we don't do anymore. Signed-off-by: Linus Walleij --- .../power/supply/ab8500-chargalg.h | 6 +++--- drivers/power/supply/ab8500_charger.c | 2 +- drivers/power/supply/abx500_chargalg.c

[PATCH 1/4] mfd/power: ab8500: Require device tree

2021-03-12 Thread Linus Walleij
The core AB8500 driver and the whole platform is completely dependent on being probed from device tree so remove the non-DT probe paths. Signed-off-by: Linus Walleij --- drivers/power/supply/Kconfig | 2 +- drivers/power/supply/ab8500_btemp.c| 10 -- drivers/power/supply

Re: [PATCH v2 0/5] drm/panel-simple: Patches for N116BCA-EA1

2021-03-11 Thread Linus Walleij
this as well. Yours, Linus Walleij

Re: [PATCH v2 0/5] drm/panel-simple: Patches for N116BCA-EA1

2021-03-11 Thread Linus Walleij
on applied to drm-misc-next. Yours, Linus Walleij

Re: [PATCH v6 03/15] pinctrl: bcm: add bcm63xx base code

2021-03-11 Thread Linus Walleij
On Thu, Mar 11, 2021 at 3:58 PM Rob Herring wrote: > On Wed, Mar 10, 2021 at 6:09 PM Linus Walleij > wrote: > > On Wed, Mar 10, 2021 at 6:51 PM Rob Herring wrote: > > > > > > +static const struct of_device_id bcm63xx_gpio_of_match[] = { > > > >

  1   2   3   4   5   6   7   8   9   10   >