Re: [PATCH v5 0/3] Add Actions Semi Owl family sirq support
From: Cristian Ciocaltea <cristian.ciocaltea@gmail.com>
Date: 2020-08-25 09:44:51
Also in:
linux-devicetree, lkml
On Tue, Aug 25, 2020 at 07:39:32AM +0530, Manivannan Sadhasivam wrote:
On 23 August 2020 4:35:13 AM IST, Cristian Ciocaltea [off-list ref] wrote:quoted
Hi Mani, On Sat, Aug 22, 2020 at 06:47:12PM +0530, Manivannan Sadhasivam wrote:quoted
Hi Cristi, On Wed, Aug 19, 2020 at 07:37:55PM +0300, Cristian Ciocaltea wrote:quoted
This patch series adds support for the external interruptcontrollerquoted
quoted
(SIRQ) found in the Actions Semi Owl family of SoC's (S500, S700andquoted
quoted
S900). The controller handles up to 3 external interrupt linesthroughquoted
quoted
dedicated SIRQ pins. This is a rework of the patch series submitted some time ago by Parthiban Nallathambi: https://lore.kernel.org/lkml/20181126100356.2840578-1-pn@denx.de/ (local)You need to preserve the authorship while reposting the patches. Ifyou'dquoted
like to take the authorship intentionally then please explain thereason inquoted
cover letter. Thanks, ManiThanks for pointing this out, I was not aware of the procedure - this is actually my very first repost. Could you please indicate how should I proceed to fix this? I had absolutely no intention to take the authorship..Below command would change the author of last commit: git commit --amend --author="Manivannan Sadhasivam [off-list ref]"
Got it now, for some reason I have lost original author information in my local repository - I'll pay more attention to this next time. I will submit the fix after receiving Rob's review for the binding doc, if that would be ok. Thanks, Cristi
quoted
Sorry for the mistake,No issues! Thanks, Maniquoted
Cristiquoted
quoted
Please note I have dropped, for the moment, the S700 relatedpatchesquoted
quoted
since I do not own a compatible hardware for testing. I'm usinginsteadquoted
quoted
an S500 SoC based board for which I have already provided theinitialquoted
quoted
support:https://lore.kernel.org/lkml/cover.1592123160.git.cristian.ciocaltea@gmail.com/ (local)quoted
quoted
The SIRQ controller support is a prerequisite of the soon to besubmittedquoted
quoted
MFD driver for the Actions Semi ATC260x PMICs. Thanks and regards, Cristi Changes in v5: - Integrated Marc's review (more details in the driver patchchangelog)quoted
quoted
- Rebased patch series on v5.9-rc1 Changes in v4: - Simplified the DTS structure: * dropped 'actions,sirq-shared-reg' node, now the differentiation between SoC variants is handled now via the compatible property * dropped 'actions,sirq-reg-offset', now controller base addressinquoted
quoted
DTS points to SIRQ0 register, so no additional information is required for S500 and S700, while for S900 SoC the offsets ofSIRQ1quoted
quoted
and SIRQ2 regs are provided by the driver * 'actions,ext-irq-range' was replaced with'actions,ext-interrupts',quoted
quoted
an array of the GIC interrupts triggered by the controller - Fixed wrong INTC_EXTCTL_TYPE_MASK definition - Removed redundant irq_fwspec checks in owl_sirq_domain_alloc() - Improved error handling in owl_sirq_of_init() - Added yaml binding document - Dropped S700 related DTS patches for lack of testing hardware: * arm64: dts: actions: Add sirq node for Actions Semi S700 * arm64: dts: actions: s700-cubieboard7: Enable SIRQ - Updated MAINTAINERS - Rebased patchset on kernel v5.8 - Cosmetic changes * Ordered include statements alphabetically * Added comment to owl_sirq_set_type() describing conversion offallingquoted
quoted
edge or active low signals * Replaced IRQF_TRIGGER_* with corresponding IRQ_TYPE_* variants * Ensured data types and function naming are consistent regardingthequoted
quoted
'owl_sirq' prefix Changes in v3 (Parthiban Nallathambi): - Set default operating frequency to 24MHz - Falling edge and Low Level interrupts translated to rising edgeand high levelquoted
quoted
- Introduced common function with lock handling for register readand writequoted
quoted
- Used direct GIC interrupt number for interrupt local hwirq andfinding offsetquoted
quoted
using DT entry (range) when registers are shared - Changed irq_ack to irq_eoi - Added translation method for irq_domain_ops - Clearing interrupt pending based on bitmask for edge triggered - Added pinctrl definition for sirq for cubieboard7. This dependson,quoted
quoted
https://lore.kernel.org/patchwork/patch/1012859/ Changes in v2 (Parthiban Nallathambi): - Added SIRQ as hierarchical chip GIC <----> SIRQ <----> External interrupt controller/Childdevicesquoted
quoted
- Device binding updates with vendor prefix - Register sharing handled globally and common init sequence/datafor allquoted
quoted
actions SoC family Cristian Ciocaltea (3): dt-bindings: interrupt-controller: Add Actions SIRQ controllerbindingquoted
quoted
irqchip: Add Actions Semi Owl SIRQ controller MAINTAINERS: Add entries for Actions Semi Owl SIRQ controller .../actions,owl-sirq.yaml | 68 ++++ MAINTAINERS | 2 + drivers/irqchip/Makefile | 1 + drivers/irqchip/irq-owl-sirq.c | 347++++++++++++++++++quoted
quoted
4 files changed, 418 insertions(+) create mode 100644Documentation/devicetree/bindings/interrupt-controller/actions,owl-sirq.yamlquoted
quoted
create mode 100644 drivers/irqchip/irq-owl-sirq.c -- 2.28.0-- Sent from my Android device with K-9 Mail. Please excuse my brevity.
_______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel