From patchwork Mon Aug 16 07:46:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kefeng Wang X-Patchwork-Id: 1517049 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by ozlabs.org (Postfix) with ESMTP id 4Gp5kL4sTMz9sWS for ; Mon, 16 Aug 2021 17:43:22 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234372AbhHPHnw (ORCPT ); Mon, 16 Aug 2021 03:43:52 -0400 Received: from szxga03-in.huawei.com ([45.249.212.189]:13327 "EHLO szxga03-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231499AbhHPHnu (ORCPT ); Mon, 16 Aug 2021 03:43:50 -0400 Received: from dggemv711-chm.china.huawei.com (unknown [172.30.72.53]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4Gp5k821jPz7yyv; Mon, 16 Aug 2021 15:43:12 +0800 (CST) Received: from dggpemm500001.china.huawei.com (7.185.36.107) by dggemv711-chm.china.huawei.com (10.1.198.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Mon, 16 Aug 2021 15:43:12 +0800 Received: from localhost.localdomain.localdomain (10.175.113.25) by dggpemm500001.china.huawei.com (7.185.36.107) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Mon, 16 Aug 2021 15:43:12 +0800 From: Kefeng Wang To: , Rob Herring , "Frank Rowand" CC: , Russell King , "Linus Walleij" , , Kefeng Wang Subject: [PATCH 0/3] amba: Properly handle device probe without IRQ domain Date: Mon, 16 Aug 2021 15:46:16 +0800 Message-ID: <20210816074619.177383-1-wangkefeng.wang@huawei.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 X-Originating-IP: [10.175.113.25] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To dggpemm500001.china.huawei.com (7.185.36.107) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Patch 1 and 2 make some cleanup, and patch 3 use of_irq_get() instead of irq_of_parse_and_map() to get irq number, return -EPROBE_DEFER if the irq domain is not yet created, amba_device_add() will properly to handle the no IRQ domain issue via deferred probe. Kefeng Wang (3): amba: Drop unused functions about APB/AHB devices add Revert "ARM: amba: make use of -1 IRQs warn" amba: Properly handle device probe without IRQ domain drivers/amba/bus.c | 100 ++++++++++----------------------------- drivers/of/platform.c | 6 +-- include/linux/amba/bus.h | 18 ------- 3 files changed, 27 insertions(+), 97 deletions(-) Reviewed-by: Rob Herring