From patchwork Wed Sep 9 08:14:44 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Priyanka Jain X-Patchwork-Id: 249437 Delivered-To: patch@linaro.org Received: by 2002:a92:5b9c:0:0:0:0:0 with SMTP id c28csp191514ilg; Wed, 9 Sep 2020 01:15:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxB9fp2VyaY+mFoqO4WWe6wUemZqqEd8IdNl5kHfayftlOU7dH7y/ganYmIijYTTMFSU4t1 X-Received: by 2002:a17:906:3e4e:: with SMTP id t14mr2386805eji.269.1599639321967; Wed, 09 Sep 2020 01:15:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1599639321; cv=pass; d=google.com; s=arc-20160816; b=LEoetpJsUFPyp9txd1s6xSKL7SOL1hEpUV3lTm1vSVKeH1hTg6BD4KqlmdXZGYvmY3 zYWhMhwsdIk1YYMiEPoLy8kJmSWLCLHE9dIaHZYjBr89oyNeiC03LOzccurnEBg1e8Rz SRt3Cxey5aGxXjVbXYQazsPlgM8uOp6H6PCRFnKMPSTled3b0et/m/2Lrd5lsJqNDSVs 8QLsD68YNsW4zu8rCcIz5+n25Ykl59xzwYr2C9Ht4nYRzX8nLnXGGEfP1yaEUVpuq5Hw Bw4sPt/5a3Y2TqUEQaUtOO5kfU/lJbPqnCHGNNKSN1AFJ57q54rkTV/TC0MbTbM73YMn Bs/w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mime-version:message-id:date :subject:cc:to:from:dkim-signature; bh=6dLmz/hwM99zvtfxg7DX65V3Y7igJbgoXxxKZaAHoBo=; b=kxlgWDK80bPqc0t+fcDa4WV2MKKfib7uzHYQxHuwJjhbLMizQi0qmyCev5Xp5KHMqi O3MiG7u6GbCdlIR6+Izc7/ouuMFvnwIKtApJg/L4mtfNqkrimywntkCXHR9xgCm6uZzj BrtjJPiFKsBnwL9d3anyVDqwzfygH3cj+bfgQc7rkP+I5XyRi8m888utk7fG3WrtDlf7 sxgIe2MwLgcGdJWG/nesldO27u0RjypY9+DS7UDnAPAuQNx+XRi1QBxz/f/r7gxGqhfq saBs9O+AiPnQDBEyBLfMFQoEOaOnEy+5Q8Vqm1I8jkjjbw/orpaMFRhe6e2WnDzyjBAD lLfg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=Zq1sG5Kj; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id bk4si991038ejb.215.2020.09.09.01.15.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Sep 2020 01:15:21 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=Zq1sG5Kj; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 54B0581C31; Wed, 9 Sep 2020 10:15:21 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=nxp.com header.i=@nxp.com header.b="Zq1sG5Kj"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4FBC782174; Wed, 9 Sep 2020 10:15:20 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FORGED_SPF_HELO,MSGID_FROM_MTA_HEADER, SPF_HELO_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0611.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe02::611]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id B1FDF81B79 for ; Wed, 9 Sep 2020 10:15:17 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=priyanka.jain@nxp.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kZtHQnsKzyVADEy2D/xnwg/U5y9yZwUAxJiuqafzggw87IfFuPQieoDBT66noOkUR+OJPj0t9FlPQb9fjG0q9FRx0zgaVK53V2NxdvNIHlt8F7edY0t4dgX+KYh4aIel3Bjznu/PZ0EsILXk7RF/R4QF0oK0DHGzYQDiclyhffvCeA1nMm1lAAmCvTJZu/w2mvEb9qA8QEfDVzBmmXVpQhLNjfZ1m8b8c+/lIFKq49z9/vJDg1w+rQGZD1kh4ZwOO2Hz5/v/+QRLaEiTCGwvx3oN0eYNeEpyaZ+z6TWe4FV4mmKZbKQ0Xttl99LRGtyinKmEwo9TycaLhS69l6QlYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6dLmz/hwM99zvtfxg7DX65V3Y7igJbgoXxxKZaAHoBo=; b=jD+eeBMvOYY+ESRJ02BWH4FXhLkwNQqcXbBA+pxOVYao0knZmZJPzbqg6mWNXqUz/Q4++/IhLbOjmwOJ0yCzUziGHIbIe/TEEGdkDLqNutQ8GAmQhsYJW0WBZd8NlrU9EfQ84QUsTGAAhi3iT+C6vPr2Ci2ogNX5i9/Q2Y1CHtg1/qyx/+xrfpy/PuXJMkDTHDIaoP/xntrIsUmnlRWdVPXBhvFDGpJfR+2g8o+TbCYhaCCcnXDj/vCCJWfAB890S9qIvJ1kk/6VyWExUwVgHOcwhXsCXdgQdHu6VppK7vajiJ0jp9wyF2fIpKUK7k3OurWLadeyp97+czm3LmD9pQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6dLmz/hwM99zvtfxg7DX65V3Y7igJbgoXxxKZaAHoBo=; b=Zq1sG5KjKD8YCIx1MNBDzknSVTvh4i0vymt4NewP0nwslyNxUDmm2yprKOZ265cpIFmcITsG4ba/Lrfv8A5GoJ0EnbHlRSloxWve82QQk7xvYj4Dk2cs7HJKvlZRo3P5iV406U8IywK/zztn52X+1S3Zaghj4NKOKmp/Ii2Kdf8= Authentication-Results: broadcom.com; dkim=none (message not signed) header.d=none; broadcom.com; dmarc=none action=none header.from=nxp.com; Received: from VE1PR04MB6494.eurprd04.prod.outlook.com (2603:10a6:803:127::15) by VI1PR04MB4782.eurprd04.prod.outlook.com (2603:10a6:803:55::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3348.15; Wed, 9 Sep 2020 08:15:16 +0000 Received: from VE1PR04MB6494.eurprd04.prod.outlook.com ([fe80::8cfb:f816:b229:43e2]) by VE1PR04MB6494.eurprd04.prod.outlook.com ([fe80::8cfb:f816:b229:43e2%7]) with mapi id 15.20.3348.019; Wed, 9 Sep 2020 08:15:16 +0000 From: Priyanka Jain To: rayagonda.kokatanur@broadcom.com, sr@denx.de, trini@konsulko.com, u-boot@lists.denx.de Cc: Priyanka Jain Subject: [PATCH] arm: gic-v3-its: Add irq UCLASS_DRIVER Date: Wed, 9 Sep 2020 13:44:44 +0530 Message-Id: <20200909081444.2573-1-priyanka.jain@nxp.com> X-Mailer: git-send-email 2.17.1 X-ClientProxiedBy: SG2PR02CA0116.apcprd02.prod.outlook.com (2603:1096:4:92::32) To VE1PR04MB6494.eurprd04.prod.outlook.com (2603:10a6:803:127::15) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from lsv03169.swis.in-blr01.nxp.com (14.142.151.118) by SG2PR02CA0116.apcprd02.prod.outlook.com (2603:1096:4:92::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3370.16 via Frontend Transport; Wed, 9 Sep 2020 08:15:12 +0000 X-Mailer: git-send-email 2.17.1 X-Originating-IP: [14.142.151.118] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 12c9122f-0883-465e-912d-08d854987a86 X-MS-TrafficTypeDiagnostic: VI1PR04MB4782: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:121; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: PLo8vWlcB+o44iYCpYizaHhmO5NaNn0ALxceIwau9iPaVTCE7bb6I7rxmtvZNRJmQRIVVGYsJkAqsIvVSXoop4Nf1/tsna2DBR4tVGhQ63fRm+zvux2GwZ/dVZ0DpaEhSox8IhOfMrkRiVwSNtn8llflOZ0lg8YVIOY4LNiVs7+PLNDojG8cmJCToGRk9kumG2NVpSTJyCSl5n3sllj3ij+JUUu2LLGScu9sz3fRAyyPwbyd74hHp+d3KAWnitXQ2fLItYGCLOGQF/tB7ITEqSmilM850/rKW9hhHlCGOZybrEMBu35LsNJQp3gCYtDm/T6wmU5sm5UIj2Y4VAPXYKdjQkSNoC+OuUW3jsVxOP4IccafwdQFAZjnVzHQNXqm X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VE1PR04MB6494.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(136003)(366004)(39860400002)(346002)(376002)(66476007)(66556008)(55236004)(66946007)(186003)(16526019)(1006002)(6666004)(1076003)(86362001)(4744005)(5660300002)(44832011)(6486002)(26005)(2616005)(4326008)(956004)(2906002)(316002)(36756003)(7696005)(52116002)(8676002)(478600001)(8936002)(110426005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: D44CKUzBqsiJ3f+UiPk0pKa7P0CX7PoQT0LiPxZA9HT6zl71vMBDn49eKgjChUV7GN45Bh0mSNy2X/DVQYXdo2gAhv5RwnKxOp0r35c25tOazI7XZ4ibC0J+WfFXPoUHRudHaws/ADKTMmvyZRVliZKky3I6fhq8mReCZJzOZnH2oMRTad8YVP19Ajlr1QqKvwMB86Oelrf2LUmomiOZe1Ml+L3eWV+ecFjd5+Oaaxjba/wQq4XJYKLpUB46lPgelT6Oq+LfK63DgmDf+/d5PCMB8+/batCzKHVX1wIhWSsOb5Cuvu5PSHCgFTUzr1SA3JcwL9q7HgU1bTz8Kd9078yySixJlF9ln7ew/VlFleesVdluXe5FqYM7CR+6Iq2u+KzE1K1u+UfglyU0DgqkCWnuvJZtmU+DzsqVPI6HOngG66keq4uddEzRm5kdZBeWL/s96wcUAWy1J3NhtgjszAjbyEi2HzJRWRXfIFOJukl5duv4b9TbcL29lf8F+YJu7DUW805EukP4sRT45j0bEgDZXt+TslJae9cfdeZzI+o1i5lJz0EfZ605UACGLdSPehCDXfKRKjVBfzb5hafwcfpIl0OZrRD4USJO/Fbp3a0sQbCgcFF6w1RSO36jHXp8L/B1fSmOuhFESjeaLgSC/Q== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 12c9122f-0883-465e-912d-08d854987a86 X-MS-Exchange-CrossTenant-AuthSource: VE1PR04MB6494.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Sep 2020 08:15:14.9861 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: jni/2yitBZn/x+f84dX6NPZxBE+TblHEvrvtFrf3IouQGijqyiSKUoRxZorycTPB0taslnjS8GRmGeZvwZ0E0A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB4782 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean This is required to fix "Error binding driver 'gic-v3': -96" on lx2160a platforms. Signed-off-by: Priyanka Jain --- arch/arm/lib/gic-v3-its.c | 5 +++++ 1 file changed, 5 insertions(+) -- 2.17.1 diff --git a/arch/arm/lib/gic-v3-its.c b/arch/arm/lib/gic-v3-its.c index a1657e3853..6c6b7c430c 100644 --- a/arch/arm/lib/gic-v3-its.c +++ b/arch/arm/lib/gic-v3-its.c @@ -208,3 +208,8 @@ U_BOOT_DRIVER(gic_lpi_syscon) = { .id = UCLASS_SYSCON, .of_match = gic_lpi_syscon_ids, }; + +UCLASS_DRIVER(irq) = { + .id = UCLASS_IRQ, + .name = "irq", +};