Re: [PATCH] dt-bindings: mailbox: ti,message-manager: Convert to yaml

2021-04-15 Thread Lokesh Vutla
[..snip..] > diff --git > a/Documentation/devicetree/bindings/mailbox/ti,message-manager.yaml > b/Documentation/devicetree/bindings/mailbox/ti,message-manager.yaml > new file mode 100644 > index ..4987e803ac37 > --- /dev/null > +++

Re: [PATCH v3 2/2] arm64: dts: ti: k3-am642: reserve gpio in mcu domain for firmware usage

2021-03-19 Thread Lokesh Vutla
On 19/03/21 10:49 am, Aswath Govindraju wrote: > The gpio0 subsystem present in MCU domain might be used by firmware and is > not pinned out in evm/sk. Therefore, reserve it for MCU firmware. > > Signed-off-by: Aswath Govindraju Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh

Re: [PATCH v3 1/2] arm64: dts: ti: k3-am64: Add GPIO DT nodes

2021-03-19 Thread Lokesh Vutla
On 19/03/21 10:49 am, Aswath Govindraju wrote: > Add device tree nodes for GPIO modules and interrupt controller in main > and mcu domains. > > Signed-off-by: Aswath Govindraju Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh > --- > arch/arm64/boot/dts/ti/k3-a

Re: [PATCH] arm64: dts: ti: k3-am64-main: Add ADC nodes

2021-03-11 Thread Lokesh Vutla
file. ADC lines are not pinned out on AM642 SK board, therefore disable > the node in k3-am642-sk.dts file. > > Signed-off-by: Vignesh Raghavendra Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh

Re: [PATCH 0/4] arm64: dts: ti: am642x: add CPSW3g DT nodes

2021-03-04 Thread Lokesh Vutla
nel Boot Log: > EVM: https://pastebin.ubuntu.com/p/6Qkbw35Jg3/ > SK: https://pastebin.ubuntu.com/p/Pd3xxP9J9K/ Except for the minor comment. Series Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh > > > Grygorii Strashko (1): > arm64: dts: ti: k3-am64-main: add main CPTS entry >

Re: [PATCH 1/4] arm64: dts: ti: am64-main: Add CPSW DT node

2021-03-04 Thread Lokesh Vutla
On 04/03/21 12:51 am, Grygorii Strashko wrote: > From: Vignesh Raghavendra > > Add CPSW3g DT node with two external ports, MDIO and CPTS support. For > CPSW3g DMA channels the ASEL is set to 15 (AM642x per DMA channel coherency > feature), so that CPSW DMA channel participates in Coherency

Re: [PATCH v2 2/4] arm64: dts: ti: k3: squelch warnings regarding no #address-cells for interrupt-controller

2021-01-08 Thread Lokesh Vutla
Hi Rob, Grygorii, On 27/11/20 7:53 pm, Nishanth Menon wrote: > On 09:46-20201124, Sekhar Nori wrote: >> On 24/11/20 6:51 AM, Nishanth Menon wrote: >>> On 09:45-20201123, Sekhar Nori wrote: >> The main reason I commented - is hope to get some clarification from DT >> maintainers. >>

Re: [PATCH] msi: use for_each_msi_entry_safe iterator macro

2020-12-18 Thread Lokesh Vutla
st(dev), list) { > + for_each_msi_entry_safe(desc, tmp, dev) { > list_del(>list); > free_msi_entry(desc); > } For ti_sci_inta_msi part: Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh

[irqchip: irq/irqchip-next] irqchip/ti-sci-intr: Fix freeing of irqs

2020-12-11 Thread irqchip-bot for Lokesh Vutla
The following commit has been merged into the irq/irqchip-next branch of irqchip: Commit-ID: fc6c7cd3878641fd43189f15697e7ad0871f5c1a Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms/fc6c7cd3878641fd43189f15697e7ad0871f5c1a Author:Lokesh Vutla

[irqchip: irq/irqchip-next] irqchip/ti-sci-inta: Fix printing of inta id on probe success

2020-12-11 Thread irqchip-bot for Lokesh Vutla
The following commit has been merged into the irq/irqchip-next branch of irqchip: Commit-ID: b10d5fd489b0c67f59cbdd28d95f4bd9f76a62f2 Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms/b10d5fd489b0c67f59cbdd28d95f4bd9f76a62f2 Author:Lokesh Vutla

Re: [PATCH] arm64: defconfig: Drop K3 SoC specific options

2020-11-17 Thread Lokesh Vutla
gned-off-by: Nishanth Menon Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh

Re: [PATCH 0/3] Add gpio support for TI's J7200 platform

2020-11-04 Thread Lokesh Vutla
tively. Series looks good to me. Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh

Re: [PATCH] pwm: lp3943: Dynamically allocate pwm chip base

2020-11-01 Thread Lokesh Vutla
Hi Uwe, On 31/10/20 1:41 am, Uwe Kleine-König wrote: > On Fri, Oct 30, 2020 at 07:11:35PM +0530, Lokesh Vutla wrote: >> When there are other pwm controllers enabled along with pwm-lp3943, >> pwm-lp3942 is failing to probe with -EEXIST error. This is because >> other pwm contr

[PATCH] pwm: lp3943: Dynamically allocate pwm chip base

2020-10-30 Thread Lokesh Vutla
that id is dynamically allocated. Fixes: af66b3c0934e ("pwm: Add LP3943 PWM driver") Signed-off-by: Lokesh Vutla --- drivers/pwm/pwm-lp3943.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pwm/pwm-lp3943.c b/drivers/pwm/pwm-lp3943.c index 7551253ada32..bf3f14fb5f24 100644 ---

Re: [PATCH] soc: ti: Kconfig: Drop ARM64 SoC specific configs

2020-10-27 Thread Lokesh Vutla
On 27/10/20 12:38 am, Nishanth Menon wrote: > On 23:30-20201026, Lokesh Vutla wrote: > [..] >> ➜ linux git:(master) git grep -in ARCH_K3_AM6_SOC >> arch/arm64/configs/defconfig:961:CONFIG_ARCH_K3_AM6_SOC=y >> drivers/soc/ti/Kconfig:7:config ARCH_K3_AM6_SOC >>

Re: [PATCH] soc: ti: Kconfig: Drop ARM64 SoC specific configs

2020-10-26 Thread Lokesh Vutla
On 26/10/20 10:36 pm, Nishanth Menon wrote: > With the integration of chip-id detection scheme in kernel[1], there > is no specific need to maintain multitudes of SoC specific config > options, discussed as per [2], we have deprecated the usage in other > places for v5.10-rc1. Drop the

Re: [PATCH V2 2/8] arm64: dts: ti: k3-am65-main: Use lower case hexadecimal

2020-09-03 Thread Lokesh Vutla
On 03/09/20 6:30 pm, Nishanth Menon wrote: > Device tree convention uses lower case a-f for hexadecimals. Fix the > same. > > Signed-off-by: Nishanth Menon Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh

Re: [PATCH V2 1/8] arm64: dts: ti: k3-j721e: Use lower case hexadecimal

2020-09-03 Thread Lokesh Vutla
On 03/09/20 6:30 pm, Nishanth Menon wrote: > Device tree convention uses lower case a-f for hexadecimals. Fix the > same. > > Signed-off-by: Nishanth Menon Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh

Re: drivers/irqchip/irq-ti-sci-intr.c:148 ti_sci_intr_alloc_parent_irq() warn: impossible condition '(p_hwirq < 0) => (0-u16max < 0)'

2020-09-03 Thread Lokesh Vutla
> git remote add linus > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > git fetch --no-tags linus master > git checkout a5b659bd4bc7518a8e45fda5256c5e5e8d3b7c49 > vim +148 drivers/irqchip/irq-ti-sci-intr.c > > a5b659bd4bc751 Lokesh Vutla 2020-08-06 134 st

Re: [PATCH 0/7] arm64: dts: ti: k3-*: Squash up node_name_chars_strict warnings

2020-09-01 Thread Lokesh Vutla
-am65-base-board Use generic camera for node name > instead of ov5640 > arm64: dts: ti: k3-am65-wakeup: Use generic temperature-sensor for > node name > arm64: dts: ti: k3-*: Use generic adc for node names > arm64: dts: ti: k3-*: Fix up node_name_chars_strict errors Series looks good to me, Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh

Re: [PATCH 1/4] dt-bindings: arm: ti: Add bindings for J7200 SoC

2020-08-26 Thread Lokesh Vutla
Hi Nishanth, On 27/08/20 5:53 am, Nishanth Menon wrote: > On 14:16-20200723, Lokesh Vutla wrote: >> The J7200 SoC is a part of the K3 Multicore SoC architecture platform. >> It is targeted for automotive gateway, vehicle compute systems, >> Vehicle-to-Vehicle (V2V) and Vehic

Re: [PATCH -next] irqchip/ti-sci-inta: Fix unsigned comparison to zero

2020-08-25 Thread Lokesh Vutla
On 26/08/20 9:24 am, YueHaibing wrote: > ti_sci_inta_xlate_irq() return -ENOENT on fail, p_hwirq > should be int type. > > Fixes: 5c4b585d2910 ("irqchip/ti-sci-inta: Add support for INTA directly > connecting to GIC") > Signed-off-by: YueHaibing Acked-by: Lokes

Re: [PATCH -next] irqchip/ti-sci-intr: Fix unsigned comparison to zero

2020-08-25 Thread Lokesh Vutla
On 26/08/20 9:23 am, YueHaibing wrote: > ti_sci_intr_xlate_irq() return -ENOENT on fail, p_hwirq > should be int type. > > Fixes: a5b659bd4bc7 ("irqchip/ti-sci-intr: Add support for INTR being a > parent to INTR") > Signed-off-by: YueHaibing Thanks for the pa

[tip: irq/urgent] arm64: dts: k3-am65: ti-sci-inta/intr: Update to latest bindings

2020-08-25 Thread tip-bot2 for Lokesh Vutla
The following commit has been merged into the irq/urgent branch of tip: Commit-ID: fef845122f6c3c92178e4e4a1f85cce84dca06fe Gitweb: https://git.kernel.org/tip/fef845122f6c3c92178e4e4a1f85cce84dca06fe Author:Lokesh Vutla AuthorDate:Thu, 06 Aug 2020 13:18:25 +05:30

[tip: irq/urgent] arm64: dts: k3-am65: Update the RM resource types

2020-08-25 Thread tip-bot2 for Lokesh Vutla
The following commit has been merged into the irq/urgent branch of tip: Commit-ID: 6da45875fa174d9db238ea0d6846061e68b41b6d Gitweb: https://git.kernel.org/tip/6da45875fa174d9db238ea0d6846061e68b41b6d Author:Lokesh Vutla AuthorDate:Thu, 06 Aug 2020 13:18:26 +05:30

[tip: irq/urgent] firmware: ti_sci: Drop unused structure ti_sci_rm_type_map

2020-08-25 Thread tip-bot2 for Lokesh Vutla
The following commit has been merged into the irq/urgent branch of tip: Commit-ID: 9b98e02a3d369c5d0875338ea0717030471b5210 Gitweb: https://git.kernel.org/tip/9b98e02a3d369c5d0875338ea0717030471b5210 Author:Lokesh Vutla AuthorDate:Thu, 06 Aug 2020 13:18:15 +05:30

[tip: irq/urgent] irqchip/ti-sci-inta: Add support for INTA directly connecting to GIC

2020-08-25 Thread tip-bot2 for Lokesh Vutla
The following commit has been merged into the irq/urgent branch of tip: Commit-ID: 5c4b585d29102c7e6a6217112bbf1be774795cd7 Gitweb: https://git.kernel.org/tip/5c4b585d29102c7e6a6217112bbf1be774795cd7 Author:Lokesh Vutla AuthorDate:Thu, 06 Aug 2020 13:18:23 +05:30

[tip: irq/urgent] dt-bindings: irqchip: Convert ti, sci-inta bindings to yaml

2020-08-25 Thread tip-bot2 for Lokesh Vutla
The following commit has been merged into the irq/urgent branch of tip: Commit-ID: c4dff06e79d99691f18dfc8a61a1cb17c602a025 Gitweb: https://git.kernel.org/tip/c4dff06e79d99691f18dfc8a61a1cb17c602a025 Author:Lokesh Vutla AuthorDate:Thu, 06 Aug 2020 13:18:21 +05:30

[tip: irq/urgent] firmware: ti_sci: Drop the device id to resource type translation

2020-08-25 Thread tip-bot2 for Lokesh Vutla
The following commit has been merged into the irq/urgent branch of tip: Commit-ID: 4473171db68fe9e3de3f2bc68a00527f23852ad8 Gitweb: https://git.kernel.org/tip/4473171db68fe9e3de3f2bc68a00527f23852ad8 Author:Lokesh Vutla AuthorDate:Thu, 06 Aug 2020 13:18:14 +05:30

[tip: irq/urgent] firmware: ti_sci: Add support for getting resource with subtype

2020-08-25 Thread tip-bot2 for Lokesh Vutla
The following commit has been merged into the irq/urgent branch of tip: Commit-ID: 53bf2b0e4e4c1ff0a957474237f9dcd20036ca54 Gitweb: https://git.kernel.org/tip/53bf2b0e4e4c1ff0a957474237f9dcd20036ca54 Author:Lokesh Vutla AuthorDate:Thu, 06 Aug 2020 13:18:16 +05:30

[tip: irq/urgent] arm64: dts: k3-j721e: ti-sci-inta/intr: Update to latest bindings

2020-08-25 Thread tip-bot2 for Lokesh Vutla
The following commit has been merged into the irq/urgent branch of tip: Commit-ID: 8d523f096da53598c271b5b69fcacb48779884a3 Gitweb: https://git.kernel.org/tip/8d523f096da53598c271b5b69fcacb48779884a3 Author:Lokesh Vutla AuthorDate:Thu, 06 Aug 2020 13:18:24 +05:30

[tip: irq/urgent] dt-bindings: irqchip: Convert ti, sci-intr bindings to yaml

2020-08-25 Thread tip-bot2 for Lokesh Vutla
The following commit has been merged into the irq/urgent branch of tip: Commit-ID: b8713af858997c3df5bc5b48e66ac1f1bfe19779 Gitweb: https://git.kernel.org/tip/b8713af858997c3df5bc5b48e66ac1f1bfe19779 Author:Lokesh Vutla AuthorDate:Thu, 06 Aug 2020 13:18:18 +05:30

[tip: irq/urgent] irqchip/ti-sci-intr: Add support for INTR being a parent to INTR

2020-08-25 Thread tip-bot2 for Lokesh Vutla
The following commit has been merged into the irq/urgent branch of tip: Commit-ID: a5b659bd4bc7518a8e45fda5256c5e5e8d3b7c49 Gitweb: https://git.kernel.org/tip/a5b659bd4bc7518a8e45fda5256c5e5e8d3b7c49 Author:Lokesh Vutla AuthorDate:Thu, 06 Aug 2020 13:18:19 +05:30

[tip: irq/urgent] irqchip/ti-sci-inta: Do not store TISCI device id in platform device id field

2020-08-25 Thread tip-bot2 for Lokesh Vutla
The following commit has been merged into the irq/urgent branch of tip: Commit-ID: 7206f3149b8198c65a0ca8c01bfa1d8ace27bf91 Gitweb: https://git.kernel.org/tip/7206f3149b8198c65a0ca8c01bfa1d8ace27bf91 Author:Lokesh Vutla AuthorDate:Thu, 06 Aug 2020 13:18:22 +05:30

[tip: irq/urgent] dt-bindings: irqchip: ti, sci-intr: Update bindings to drop the usage of gic as parent

2020-08-25 Thread tip-bot2 for Lokesh Vutla
The following commit has been merged into the irq/urgent branch of tip: Commit-ID: 9a8e2ae71f3553f1b6cd4e3681f04e5d0f147387 Gitweb: https://git.kernel.org/tip/9a8e2ae71f3553f1b6cd4e3681f04e5d0f147387 Author:Lokesh Vutla AuthorDate:Thu, 06 Aug 2020 13:18:17 +05:30

[tip: irq/urgent] dt-bindings: irqchip: ti, sci-inta: Update docs to support different parent.

2020-08-25 Thread tip-bot2 for Lokesh Vutla
The following commit has been merged into the irq/urgent branch of tip: Commit-ID: 6dde29dc31aa265a79d9e6b3571987cfa4b179cc Gitweb: https://git.kernel.org/tip/6dde29dc31aa265a79d9e6b3571987cfa4b179cc Author:Lokesh Vutla AuthorDate:Thu, 06 Aug 2020 13:18:20 +05:30

Re: [GIT PULL] irqchip fixes for 5.9, take #1

2020-08-23 Thread Lokesh Vutla
of the time > > - The promised TI firmware rework that couldn't make it into > the merge window due to a very badly managed set of dependency > > > Lokesh Vutla (13): > firmware: ti_sci: Drop the device

Re: [PATCH] soc: ti: k3-socinfo: Add entry for J7200

2020-08-03 Thread Lokesh Vutla
On 03/08/20 4:23 pm, Peter Ujfalusi wrote: > Update K3 chipinfo driver to support new TI J7200 SoC. > It's JTAG PARTNO is 0xBB6D. > > Signed-off-by: Peter Ujfalusi Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh > --- > drivers/soc/ti/k3-socinfo.c | 1 + &g

[PATCH 3/4] arm64: dts: ti: Add support for J7200 SoC

2020-07-23 Thread Lokesh Vutla
, eCAP/eQEP, eHRPWM among other peripherals. * One hardware accelerator block containing AES/DES/SHA/MD5 called SA2UL management. See J7200 Technical Reference Manual (SPRUIU1, June 2020) for further details: https://www.ti.com/lit/pdf/spruiu1 Signed-off-by: Lokesh Vutla --- arch/arm64/boot/dts

[PATCH 4/4] arm64: dts: ti: Add support for J7200 Common Processor Board

2020-07-23 Thread Lokesh Vutla
SOC config for building J7200 dts files. Signed-off-by: Lokesh Vutla Signed-off-by: Peter Ujfalusi --- arch/arm64/boot/dts/ti/Makefile | 3 +- .../dts/ti/k3-j7200-common-proc-board.dts | 64 +++ arch/arm64/boot/dts/ti/k3-j7200-som-p0.dtsi | 29 + 3 fi

[PATCH 2/4] dt-bindings: arm: ti: Convert K3 board/soc bindings to DT schema

2020-07-23 Thread Lokesh Vutla
Convert TI K3 Board/SoC bindings to DT schema format. Signed-off-by: Lokesh Vutla --- .../devicetree/bindings/arm/ti/k3.txt | 29 --- .../devicetree/bindings/arm/ti/k3.yaml| 28 ++ MAINTAINERS | 2 +- 3 files

[PATCH 0/4] arm64: Initial support for Texas Instrument's J7200 Platform

2020-07-23 Thread Lokesh Vutla
DT_SCHEMA_FILES="Documentation/devicetree/bindings/arm/ti/k3.yaml" v8make dt_binding_check Lokesh Vutla (4): dt-bindings: arm: ti: Add bindings for J7200 SoC dt-bindings: arm: ti: Convert K3 board/soc bindings to DT schema arm64: dts: ti: Add support for J7200 SoC arm64: dts: ti: Add

[PATCH 1/4] dt-bindings: arm: ti: Add bindings for J7200 SoC

2020-07-23 Thread Lokesh Vutla
, eCAP/eQEP, eHRPWM among other peripherals. * One hardware accelerator block containing AES/DES/SHA/MD5 called SA2UL management. See J7200 Technical Reference Manual (SPRUIU1, June 2020) for further details: https://www.ti.com/lit/pdf/spruiu1 Signed-off-by: Lokesh Vutla --- Documentation

[tip: timers/core] clocksource/drivers/timer-ti-dm: Do one override clock parent in prepare()

2020-06-01 Thread tip-bot2 for Lokesh Vutla
The following commit has been merged into the timers/core branch of tip: Commit-ID: 264418e20d1fedbed8ad79683b63caa3d72c3b2e Gitweb: https://git.kernel.org/tip/264418e20d1fedbed8ad79683b63caa3d72c3b2e Author:Lokesh Vutla AuthorDate:Mon, 27 Apr 2020 22:58:31 +05:30

[tip: timers/core] ARM: dts: Add 32KHz clock as default clock source

2020-06-01 Thread tip-bot2 for Lokesh Vutla
The following commit has been merged into the timers/core branch of tip: Commit-ID: ac819eda7cc96656df50897848ffe5dfe9a3cb7c Gitweb: https://git.kernel.org/tip/ac819eda7cc96656df50897848ffe5dfe9a3cb7c Author:Lokesh Vutla AuthorDate:Mon, 27 Apr 2020 22:56:04 +05:30

Re: [PATCH v3 02/14] soc: ti: k3: add navss ringacc driver

2019-10-09 Thread Lokesh Vutla
On 01/10/19 11:46 AM, Peter Ujfalusi wrote: > From: Grygorii Strashko > > The Ring Accelerator (RINGACC or RA) provides hardware acceleration to > enable straightforward passing of work between a producer and a consumer. > There is one RINGACC module per NAVSS on TI AM65x SoCs. > > The

Re: [PATCH 3/9] dt-bindings: interrupt-controller: arm, gic-v3: Describe ESPI range support

2019-07-23 Thread Lokesh Vutla
On 23/07/19 6:45 PM, Marc Zyngier wrote: > On 23/07/2019 13:59, Lokesh Vutla wrote: >> >> >> On 23/07/19 4:14 PM, Marc Zyngier wrote: >>> GICv3.1 introduces support for new interrupt ranges, one of them being >>> the Extended SPI range (ES

Re: [PATCH 3/9] dt-bindings: interrupt-controller: arm, gic-v3: Describe ESPI range support

2019-07-23 Thread Lokesh Vutla
On 23/07/19 4:14 PM, Marc Zyngier wrote: > GICv3.1 introduces support for new interrupt ranges, one of them being > the Extended SPI range (ESPI). The DT binding is extended to deal with > it as a new interrupt class. > > Signed-off-by: Marc Zyngier > --- >

Re: [PATCH 4/9] irqchip/gic-v3: Add ESPI range support

2019-07-23 Thread Lokesh Vutla
On 23/07/19 4:14 PM, Marc Zyngier wrote: > Add the required support for the ESPI range, which behave exactly like > the SPIs of old, only with new funky INTIDs. > > Signed-off-by: Marc Zyngier > --- > drivers/irqchip/irq-gic-v3.c | 85 -- >

Re: [PATCH] soc: ti: fix irq-ti-sci link error

2019-07-01 Thread Lokesh Vutla
t;) > Signed-off-by: Arnd Bergmann Looks like this is a side effect of the patch a6b112b04355b ("arm64: arch_k3: Fix kconfig dependency warning"). $Patch looks good to me. Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh > --- > drivers/soc/Makefile | 2 +- > drive

Re: [PATCH] firmware: ti_sci: Use the correct style for SPDX License Identifier

2019-06-14 Thread Lokesh Vutla
C source files where > C++ style should be used) > > Changes made by using a script provided by Joe Perches here: > https://lkml.org/lkml/2019/2/7/46 > > Suggested-by: Joe Perches > Signed-off-by: Nishad Kamdar Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh

Re: [PATCH v1.1] firmware: ti_sci: Add resource management APIs for ringacc, psi-l and udma

2019-06-10 Thread Lokesh Vutla
t; Rings from Ring Accelerator > PSI-L thread management > UDMAP tchan, rchan and rflow configuration. > > Signed-off-by: Peter Ujfalusi Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh

Re: [PATCH 01/16] firmware: ti_sci: Add resource management APIs for ringacc, psi-l and udma

2019-06-06 Thread Lokesh Vutla
Hi Peter, On 06/05/19 6:04 PM, Peter Ujfalusi wrote: > Signed-off-by: Peter Ujfalusi Patch has the following checkpatch warnings and checks which can be fixed: WARNING: Missing commit description - Add an appropriate one CHECK: Lines should not end with a '(' #262: FILE:

Re: [PATCH] firmware: ti_sci: Add support for processor control

2019-06-05 Thread Lokesh Vutla
management of the > various compute processors from the Linux kernel. > > Signed-off-by: Suman Anna Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh > --- > Hi Santosh, Nishanth, Tero, > > Appreciate it if this patch can be picked up for the 5.3 merge window. > T

Re: [RFC PATCH 1/3] arm64: dts: ti: am6-wakeup: Add gpio node

2019-06-05 Thread Lokesh Vutla
On 05/06/19 11:38 AM, Keerthy wrote: > Add gpio0 node under wakeup domain. This has 56 gpios > and all are capable of generating banked interrupts. > > Signed-off-by: Keerthy > --- > arch/arm64/boot/dts/ti/k3-am65-wakeup.dtsi | 15 +++ > 1 file changed, 15 insertions(+) > > diff

Re: [PATCH] arm64: arch_k3: Fix kconfig dependency warning

2019-05-09 Thread Lokesh Vutla
s: 009669e74813 ("arm64: arch_k3: Enable interrupt controller drivers") > Signed-off-by: YueHaibing Thanks for catching it. Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh > --- > arch/arm64/Kconfig.platforms | 1 + > 1 file changed, 1 insertion(+) >

Re: [PATCH v8 00/14] Add support for TISCI Interrupt controller drivers

2019-05-01 Thread Lokesh Vutla
Hi Marc, On 01/05/19 5:28 PM, Marc Zyngier wrote: > On 30/04/2019 11:12, Lokesh Vutla wrote: >> TI AM65x SoC based on K3 architecture introduced support for Events >> which are message based interrupts with minimal latency. These events >> are not compatible with regular int

[PATCH v8 11/14] irqchip: ti-sci-inta: Add support for Interrupt Aggregator driver

2019-04-30 Thread Lokesh Vutla
aggregator registers can only be done by a system co-processor and the driver needs to send a message to this co processor over TISCI protocol. This patch adds support for Interrupt Aggregator irqdomain. Signed-off-by: Lokesh Vutla --- Changes since v7: - Update ti_sci_inta_set_type() to handle

[PATCH v8 04/14] firmware: ti_sci: Add RM mapping table for am654

2019-04-30 Thread Lokesh Vutla
y Lindgren Signed-off-by: Peter Ujfalusi Signed-off-by: Lokesh Vutla --- Changes since v7: - None .../bindings/arm/keystone/ti,sci.txt | 3 ++- drivers/firmware/ti_sci.c | 23 +++ 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/Doc

[PATCH v8 13/14] irqchip: ti-sci-inta: Add msi domain support

2019-04-30 Thread Lokesh Vutla
Add a msi domain that is child to the INTA domain. Clients uses the INTA msi bus layer to allocate irqs in this msi domain. Signed-off-by: Lokesh Vutla --- Changes sinece v7: -None drivers/irqchip/Kconfig | 1 + drivers/irqchip/irq-ti-sci-inta.c | 40

[PATCH v8 14/14] arm64: arch_k3: Enable interrupt controller drivers

2019-04-30 Thread Lokesh Vutla
Select the TISCI Interrupt Router, Aggregator drivers and all its dependencies for TI's SoCs based on K3 architecture. Suggested-by: Marc Zyngier Signed-off-by: Lokesh Vutla --- Changes since v7: -None arch/arm64/Kconfig.platforms | 5 + 1 file changed, 5 insertions(+) diff --git a/arch

[PATCH v8 07/14] gpio: thunderx: Use the default parent apis for {request,release}_resources

2019-04-30 Thread Lokesh Vutla
Signed-off-by: Lokesh Vutla --- Changes since v7: - None drivers/gpio/gpio-thunderx.c | 16 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/drivers/gpio/gpio-thunderx.c b/drivers/gpio/gpio-thunderx.c index 1306722faa5a..715371b5102a 100644 --- a/drivers/gpio/gpio

[PATCH v8 10/14] dt-bindings: irqchip: Introduce TISCI Interrupt Aggregator bindings

2019-04-30 Thread Lokesh Vutla
Add the DT binding documentation for Interrupt Aggregator driver. Signed-off-by: Lokesh Vutla --- Changes since v7: - None .../interrupt-controller/ti,sci-inta.txt | 66 +++ MAINTAINERS | 1 + 2 files changed, 67 insertions(+) create mode

[PATCH v8 12/14] soc: ti: Add MSI domain bus support for Interrupt Aggregator

2019-04-30 Thread Lokesh Vutla
to the device. - ti_sci_inta_msi_get_virq() for getting the virq attached to a specific event. Signed-off-by: Lokesh Vutla --- Changes since v7: - None MAINTAINERS| 2 + drivers/soc/ti/Kconfig | 6 + drivers/soc/ti/Makefile| 1 + drivers/soc

[PATCH v8 08/14] dt-bindings: irqchip: Introduce TISCI Interrupt router bindings

2019-04-30 Thread Lokesh Vutla
Add the DT binding documentation for Interrupt router driver. Signed-off-by: Lokesh Vutla --- Changes since v7: - Changes interrupt cells to 2. .../interrupt-controller/ti,sci-intr.txt | 82 +++ MAINTAINERS | 1 + 2 files changed, 83

[PATCH v8 09/14] irqchip: ti-sci-intr: Add support for Interrupt Router driver

2019-04-30 Thread Lokesh Vutla
of the interrupt router registers can only be done by a system co-processor and the driver needs to send a message to this co processor over TISCI protocol. Add support for Interrupt Router driver over TISCI protocol. Signed-off-by: Lokesh Vutla --- Changes since v7: - Adapted driver to interrupt cells 2

[PATCH v8 01/14] firmware: ti_sci: Add support to get TISCI handle using of_phandle

2019-04-30 Thread Lokesh Vutla
be used by TISCI users to get TISCI handle using of phandle property. Signed-off-by: Grygorii Strashko Signed-off-by: Lokesh Vutla --- Changes since v7: - None drivers/firmware/ti_sci.c | 83 ++ include/linux/soc/ti/ti_sci_protocol.h | 17 ++ 2 files

[PATCH v8 05/14] firmware: ti_sci: Add helper apis to manage resources

2019-04-30 Thread Lokesh Vutla
Each resource with in the device can be uniquely identified as defined by TISCI. Since this is generic across the devices, resource allocation also can be made generic instead of each client driver handling the resource. So add helper apis to manage the resource. Signed-off-by: Lokesh Vutla

[PATCH v8 06/14] genirq: Introduce irq_chip_{request,release}_resource_parent() apis

2019-04-30 Thread Lokesh Vutla
Introduce irq_chip_{request,release}_resource_parent() apis so that these can be used in hierarchical irqchips. Signed-off-by: Lokesh Vutla --- Changes since v7: -None include/linux/irq.h | 2 ++ kernel/irq/chip.c | 27 +++ 2 files changed, 29 insertions(+) diff

[PATCH v8 00/14] Add support for TISCI Interrupt controller drivers

2019-04-30 Thread Lokesh Vutla
ase. Boot Log: https://pastebin.ubuntu.com/p/YwprMKXdg4/ Changes since v7: - Rebased on top of latest master. - Each patch has respective changes mentioned. Grygorii Strashko (1): firmware: ti_sci: Add support to get TISCI handle using of_phandle Lokesh Vutla (12): firmware: ti_sci: Add supp

[PATCH v8 03/14] firmware: ti_sci: Add support for IRQ management

2019-04-30 Thread Lokesh Vutla
TISCI abstracts the handling of IRQ routes where interrupt sources are not directly connected to host interrupt controller. Add support for the set of TISCI commands for requesting and releasing IRQs. Signed-off-by: Lokesh Vutla --- Changes since v7: - Updated to latest system firmware version

[PATCH v8 02/14] firmware: ti_sci: Add support for RM core ops

2019-04-30 Thread Lokesh Vutla
for TISCI commands to get resource ranges. Signed-off-by: Lokesh Vutla Signed-off-by: Peter Ujfalusi --- Changes since v7: - None drivers/firmware/ti_sci.c | 170 + drivers/firmware/ti_sci.h | 42 ++ include/linux/soc/ti/ti_sci_protocol.h | 27

Re: [PATCH v7 11/14] irqchip: ti-sci-inta: Add support for Interrupt Aggregator driver

2019-04-30 Thread Lokesh Vutla
On 29/04/19 6:41 PM, Marc Zyngier wrote: > On 20/04/2019 11:09, Lokesh Vutla wrote: >> Texas Instruments' K3 generation SoCs has an IP Interrupt Aggregator >> which is an interrupt controller that does the following: >> - Converts events to interrupts that can be understood

Re: [PATCH v7 11/14] irqchip: ti-sci-inta: Add support for Interrupt Aggregator driver

2019-04-29 Thread Lokesh Vutla
On 29/04/19 2:17 PM, Marc Zyngier wrote: > On 23/04/2019 11:00, Lokesh Vutla wrote: >> Hi Marc, > > [...] > >>> +/** >>> + * ti_sci_inta_set_type() - Update the trigger type of the irq. >>> + * @data: Pointer to corresponding irq_data >

Re: [PATCH v7 11/14] irqchip: ti-sci-inta: Add support for Interrupt Aggregator driver

2019-04-23 Thread Lokesh Vutla
Hi Marc, On 20/04/19 3:39 PM, Lokesh Vutla wrote: > Texas Instruments' K3 generation SoCs has an IP Interrupt Aggregator > which is an interrupt controller that does the following: > - Converts events to interrupts that can be understood by > an interrupt router. > - Allows f

[PATCH v7 09/14] irqchip: ti-sci-intr: Add support for Interrupt Router driver

2019-04-20 Thread Lokesh Vutla
of the interrupt router registers can only be done by a system co-processor and the driver needs to send a message to this co processor over TISCI protocol. Add support for Interrupt Router driver over TISCI protocol. Signed-off-by: Lokesh Vutla --- Changes since v6: - Arranged header files in alphabetical

[PATCH v7 13/14] irqchip: ti-sci-inta: Add msi domain support

2019-04-20 Thread Lokesh Vutla
Add a msi domain that is child to the INTA domain. Clients uses the INTA msi bus layer to allocate irqs in this msi domain. Signed-off-by: Lokesh Vutla --- Changes since v6: - Updated to get device id from platform device. drivers/irqchip/Kconfig | 1 + drivers/irqchip/irq-ti-sci

[PATCH v7 12/14] soc: ti: Add MSI domain bus support for Interrupt Aggregator

2019-04-20 Thread Lokesh Vutla
to the device. - ti_sci_inta_msi_get_virq() for getting the virq attached to a specific event. Signed-off-by: Lokesh Vutla --- Changes since v6: - Arranged header files in alphabetical order. - Dropped dev_id from struct ti_sci_inta_msi_desc - Renamed index to dev_index in struct ti_sci_inta_msi_desc - Fixed

[PATCH v7 11/14] irqchip: ti-sci-inta: Add support for Interrupt Aggregator driver

2019-04-20 Thread Lokesh Vutla
aggregator registers can only be done by a system co-processor and the driver needs to send a message to this co processor over TISCI protocol. This patch adds support for Interrupt Aggregator irqdomain. Signed-off-by: Lokesh Vutla --- Changes since v6: - Updated commit message. - Arranged header files

[PATCH v7 10/14] dt-bindings: irqchip: Introduce TISCI Interrupt Aggregator bindings

2019-04-20 Thread Lokesh Vutla
Add the DT binding documentation for Interrupt Aggregator driver. Signed-off-by: Lokesh Vutla --- Changes since v6: - None .../interrupt-controller/ti,sci-inta.txt | 66 +++ MAINTAINERS | 1 + 2 files changed, 67 insertions(+) create

[PATCH v7 14/14] arm64: arch_k3: Enable interrupt controller drivers

2019-04-20 Thread Lokesh Vutla
Select the TISCI Interrupt Router, Aggregator drivers and all its dependencies for TI's SoCs based on K3 architecture. Suggested-by: Marc Zyngier Signed-off-by: Lokesh Vutla --- Changes since v6: - Moved the selection to ARCH_K3 arch/arm64/Kconfig.platforms | 5 + 1 file changed, 5

[PATCH v7 07/14] gpio: thunderx: Use the default parent apis for {request,release}_resources

2019-04-20 Thread Lokesh Vutla
thunderx_gpio_irq_{request,release}_resources apis are trying to {request,release} resources on parent interrupt. There are default apis doing the same. Use the default parent apis instead of writing the same code snippet. Cc: linux-g...@vger.kernel.org Cc: Linus Walleij Signed-off-by: Lokesh

[PATCH v7 08/14] dt-bindings: irqchip: Introduce TISCI Interrupt router bindings

2019-04-20 Thread Lokesh Vutla
Add the DT binding documentation for Interrupt router driver. Signed-off-by: Lokesh Vutla --- Changes since v6: - None. New firmware is bound to release this month end. When released, Ill repost with interrupt cells as 2. .../interrupt-controller/ti,sci-intr.txt | 84

[PATCH v7 05/14] firmware: ti_sci: Add helper apis to manage resources

2019-04-20 Thread Lokesh Vutla
Each resource with in the device can be uniquely identified as defined by TISCI. Since this is generic across the devices, resource allocation also can be made generic instead of each client driver handling the resource. So add helper apis to manage the resource. Signed-off-by: Lokesh Vutla

[PATCH v7 06/14] genirq: Introduce irq_chip_{request,release}_resource_parent() apis

2019-04-20 Thread Lokesh Vutla
Introduce irq_chip_{request,release}_resource_parent() apis so that these can be used in hierarchical irqchips. Signed-off-by: Lokesh Vutla --- Changes since v6: - New patch include/linux/irq.h | 2 ++ kernel/irq/chip.c | 27 +++ 2 files changed, 29 insertions

[PATCH v7 04/14] firmware: ti_sci: Add RM mapping table for am654

2019-04-20 Thread Lokesh Vutla
y Lindgren Signed-off-by: Peter Ujfalusi Signed-off-by: Lokesh Vutla --- Changes since v6: - None .../bindings/arm/keystone/ti,sci.txt | 3 ++- drivers/firmware/ti_sci.c | 23 +++ 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/Doc

[PATCH v7 03/14] firmware: ti_sci: Add support for IRQ management

2019-04-20 Thread Lokesh Vutla
TISCI abstracts the handling of IRQ routes where interrupt sources are not directly connected to host interrupt controller. Add support for the set of TISCI commands for requesting and releasing IRQs. Signed-off-by: Lokesh Vutla --- Changes since v6: - None drivers/firmware/ti_sci.c

[PATCH v7 00/14] Add support for TISCI Interrupt controller drivers

2019-04-20 Thread Lokesh Vutla
IRQ configuration - Interrupt Router(INTR) driver. - Interrupt Aggregator(INTA) driver. - Interrupt Aggregator MSI bus layer. Changes since v6: - Each patch has respective changes mentioned. Grygorii Strashko (1): firmware: ti_sci: Add support to get TISCI handle using of_phandle Lokesh Vutla

[PATCH v7 02/14] firmware: ti_sci: Add support for RM core ops

2019-04-20 Thread Lokesh Vutla
for TISCI commands to get resource ranges. Signed-off-by: Lokesh Vutla Signed-off-by: Peter Ujfalusi --- Changes since v6: - None drivers/firmware/ti_sci.c | 170 + drivers/firmware/ti_sci.h | 42 ++ include/linux/soc/ti/ti_sci_protocol.h | 27

[PATCH v7 01/14] firmware: ti_sci: Add support to get TISCI handle using of_phandle

2019-04-20 Thread Lokesh Vutla
be used by TISCI users to get TISCI handle using of phandle property. Signed-off-by: Grygorii Strashko Signed-off-by: Lokesh Vutla --- Changes since v6: - None drivers/firmware/ti_sci.c | 83 ++ include/linux/soc/ti/ti_sci_protocol.h | 17 ++ 2 files

Re: [PATCH v6 10/12] soc: ti: Add MSI domain bus support for Interrupt Aggregator

2019-04-17 Thread Lokesh Vutla
On 17/04/19 10:36 PM, Marc Zyngier wrote: > On 17/04/2019 17:59, Lokesh Vutla wrote: >> >> >> On 17/04/19 10:04 PM, Marc Zyngier wrote: >>> On 10/04/2019 05:13, Lokesh Vutla wrote: >>>> With the system coprocessor managing the range allocation

Re: [PATCH v6 10/12] soc: ti: Add MSI domain bus support for Interrupt Aggregator

2019-04-17 Thread Lokesh Vutla
On 17/04/19 10:04 PM, Marc Zyngier wrote: > On 10/04/2019 05:13, Lokesh Vutla wrote: >> With the system coprocessor managing the range allocation of the >> inputs to Interrupt Aggregator, it is difficult to represent >> the device IRQs from DT. >> >> The sugge

Re: [PATCH v6 09/12] irqchip: ti-sci-inta: Add support for Interrupt Aggregator driver

2019-04-17 Thread Lokesh Vutla
Hi Marc, On 17/04/19 7:44 PM, Marc Zyngier wrote: > Hi Lokesh, > > On 10/04/2019 05:13, Lokesh Vutla wrote: >> Texas Instruments' K3 generation SoCs has an IP Interrupt Aggregator >> which is an interrupt controller that does the following: >> - Converts ev

Re: [PATCH v6 09/12] irqchip: ti-sci-inta: Add support for Interrupt Aggregator driver

2019-04-17 Thread Lokesh Vutla
On 10/04/19 9:43 AM, Lokesh Vutla wrote: > Texas Instruments' K3 generation SoCs has an IP Interrupt Aggregator > which is an interrupt controller that does the following: > - Converts events to interrupts that can be understood by > an interrupt router. > - Allows for multipl

Re: [PATCH v6 06/12] dt-bindings: irqchip: Introduce TISCI Interrupt router bindings

2019-04-11 Thread Lokesh Vutla
On 11/04/19 8:30 PM, Tony Lindgren wrote: > Hi, > > * Lokesh Vutla [190410 04:15]: >> +Example: >> + >> +The following example demonstrates both interrupt router node and the >> consumer >> +node(main gpio) on the AM654 SoC: &g

Re: [PATCH v6 04/12] firmware: ti_sci: Add RM mapping table for am654

2019-04-11 Thread Lokesh Vutla
On 11/04/19 8:24 PM, Tony Lindgren wrote: > Hi, > > * Lokesh Vutla [190410 04:15]: >> From: Peter Ujfalusi >> diff --git a/Documentation/devicetree/bindings/arm/keystone/ti,sci.txt >> b/Documentation/devicetree/bindings/arm/keystone/ti,sci.txt >> index

[PATCH v6 12/12] soc: ti: am6: Enable interrupt controller driver

2019-04-09 Thread Lokesh Vutla
Select the TISCI Interrupt Router, Aggregator drivers and all its dependencies for AM6 SoC. Suggested-by: Marc Zyngier Signed-off-by: Lokesh Vutla --- Changes since v5: - None drivers/soc/ti/Kconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/soc/ti/Kconfig b/drivers/soc

[PATCH v6 10/12] soc: ti: Add MSI domain bus support for Interrupt Aggregator

2019-04-09 Thread Lokesh Vutla
to the device. - ti_sci_inta_msi_get_virq() for getting the virq attached to a specific event. Signed-off-by: Lokesh Vutla --- Changes since v5: - Updated the input parametes to all apis - Updated the default chip ops. - Prefixed all the apis with ti_sci_inta_ Marc, Right now ti_sci_resource is being

[PATCH v6 09/12] irqchip: ti-sci-inta: Add support for Interrupt Aggregator driver

2019-04-09 Thread Lokesh Vutla
dynamically. - INTA domain that is parent to the MSI domain that manages the interrupt resources. Signed-off-by: Lokesh Vutla --- Changes since v5: - Moved all the allocation of events and parent irqs to .irq_request_resources callback of irqchip. This is based on the offline discussion with Marc. Marc

[PATCH v6 08/12] dt-bindings: irqchip: Introduce TISCI Interrupt Aggregator bindings

2019-04-09 Thread Lokesh Vutla
Add the DT binding documentation for Interrupt Aggregator driver. Signed-off-by: Lokesh Vutla --- Changes since v5: - Dropped interrupt-cells property - Added msi controller property .../interrupt-controller/ti,sci-inta.txt | 66 +++ MAINTAINERS

  1   2   3   4   5   6   >