From patchwork Wed Jul 22 07:16:03 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sai Krishna Potthuri X-Patchwork-Id: 11677547 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5735013B6 for ; Wed, 22 Jul 2020 07:11:40 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2F5AB206F5 for ; Wed, 22 Jul 2020 07:11:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Vc6P+CFI"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=xilinx.onmicrosoft.com header.i=@xilinx.onmicrosoft.com header.b="nyJAXOGt" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2F5AB206F5 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=kCBAUXWmTWrDMr1oAmzHpUxot/bnVdoVUHcZtYHbe5U=; b=Vc6P+CFI5JciCGz60JXr3JnitE MHp1SZjKM15bQAPtV8p/AnDt66CckDy5Q5BD4H+yIMORjJq8j/xtwqhDpM+GCVoW8wROdPbJmKL9o f19uWWwOl1fDKLfZjcoz9Zm1RlIt8+kDao/MRQRsXG5mPA1xQeI+Z3R33A3+36mNcC1oYxnRRUNV4 +0XgVY589Y6wXkbfqGUUGPYQkyXMrL/RbojxngXoDv1nHLsRz22fiDhbqqrHUv2wv8tvjeNSFsvW4 j3nsyriiLQPn+ZGAWRRbWuyIzhxjacDJ4Ix30I44APU8HDb2GN34NSiAf7EKF5PAZ7lSY7MtCFcmt zCpfUTMQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jy8t9-0003B8-Qa; Wed, 22 Jul 2020 07:10:03 +0000 Received: from mail-co1nam11on2057.outbound.protection.outlook.com ([40.107.220.57] helo=NAM11-CO1-obe.outbound.protection.outlook.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jy8t3-00038x-Gv for linux-arm-kernel@lists.infradead.org; Wed, 22 Jul 2020 07:09:58 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oTZ9jyEZ1Pr/wZ51ZH5Qx/T8EzNG6h/6RSHlneJ/K5boFZ5z1I5syGSXRyGK/Y1BiORGKOH9wUf+4lTAGSAtzhVO/CShs5kZxwujOjmAVYcX1Tmn7LfBLVxyVcZ/hhDgSpTLVRUiJqnCjoLFRJBC4CfwW7a3Wbidk28/uQOuRwVk2lpwzSimHZ6oqWIAY+RunNFsiV7MR/xQjuYnaLJbQhzTVW5BzLvfGXW4fHZsis/ynPyE9hhDrf7/NxR6ok3fuzjADexrNpUv/utIA5HCeIxTAd5MHlRV7AAuq7PT+nA5CcQGpTVk0XLOgHxP/o60nYXLoA4fsr6xyUBtvUz48g== 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=JCr8Vo/3mylQ6cvDnmBofE5wdrnd86UXiDjzcbTx/44=; b=BhzBSDMzzt7SN4+SOyqokLsmwSP07r/NP/bVk76pjTt1p36t9FIaX7wjkeS8FZMDCer427GFoRY2s1W+hTHqPOwx+nYjXBgfyG+/WhFAfkqTyRA5vNlwz6QepvXNoJGRJhpCP+mCgtC/USUllh66lW5VExDjShjcnAjJb4AiMPVczTDEsTB/gib/lZF2DFADvrtSEOoZltwmnVQlvtndg964MDb/5ebjMcQNoyL8OR938OZmqsJNnytJ9nKK92ylSp5FF6pSTHPTcxDCZUJUpaQkmjKDzm6VrGIT0sHaQXC60ugrnFZ8tvfCN99OjU9bY7QG1IyblQStgd62xJKrcg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 149.199.60.83) smtp.rcpttodomain=avnet.com smtp.mailfrom=xilinx.com; dmarc=bestguesspass action=none header.from=xilinx.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector2-xilinx-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JCr8Vo/3mylQ6cvDnmBofE5wdrnd86UXiDjzcbTx/44=; b=nyJAXOGtPeClq0jEu4y/9EBq1enyNcPoD+RNyy0DzAvCrKuhLlQwgUCWmqS2Q5hPAlczRllxxe0HejHFUjkfmu4+XEmd8Sw5rumpRUItVnvTsQgVE6/o2+G0RusE84WlUK7aW6IOUTSEqM8nYPPjxi89nJ6dr0mPvg6Y/PcQE1w= Received: from MN2PR07CA0029.namprd07.prod.outlook.com (2603:10b6:208:1a0::39) by BYAPR02MB6007.namprd02.prod.outlook.com (2603:10b6:a03:119::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3174.21; Wed, 22 Jul 2020 07:09:55 +0000 Received: from BL2NAM02FT028.eop-nam02.prod.protection.outlook.com (2603:10b6:208:1a0:cafe::ec) by MN2PR07CA0029.outlook.office365.com (2603:10b6:208:1a0::39) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3216.21 via Frontend Transport; Wed, 22 Jul 2020 07:09:54 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 149.199.60.83) smtp.mailfrom=xilinx.com; avnet.com; dkim=none (message not signed) header.d=none;avnet.com; dmarc=bestguesspass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.60.83 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.60.83; helo=xsj-pvapsmtpgw01; Received: from xsj-pvapsmtpgw01 (149.199.60.83) by BL2NAM02FT028.mail.protection.outlook.com (10.152.77.165) with Microsoft SMTP Server id 15.20.3216.10 via Frontend Transport; Wed, 22 Jul 2020 07:09:54 +0000 Received: from [149.199.38.66] (port=60688 helo=smtp.xilinx.com) by xsj-pvapsmtpgw01 with esmtp (Exim 4.90) (envelope-from ) id 1jy8rB-0002Ju-Us; Wed, 22 Jul 2020 00:08:01 -0700 Received: from [127.0.0.1] (helo=xsj-smtp-dlp1.xlnx.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1jy8sy-0001G7-96; Wed, 22 Jul 2020 00:09:52 -0700 Received: from xsj-pvapsmtp01 (maildrop.xilinx.com [149.199.38.66]) by xsj-smtp-dlp1.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id 06M79oVc016845; Wed, 22 Jul 2020 00:09:51 -0700 Received: from [10.140.6.35] (helo=xhdsaipava40.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1jy8sw-0001Fp-NI; Wed, 22 Jul 2020 00:09:50 -0700 Received: by xhdsaipava40.xilinx.com (Postfix, from userid 14964) id 125DC13C0564; Wed, 22 Jul 2020 12:46:06 +0530 (IST) From: Sai Krishna Potthuri To: Philipp Zabel , Rob Herring , Michal Simek Subject: [PATCH v2 0/2] reset: reset-zynqmp: Added Versal platform support Date: Wed, 22 Jul 2020 12:46:03 +0530 Message-Id: <1595402165-8282-1-git-send-email-lakshmi.sai.krishna.potthuri@xilinx.com> X-Mailer: git-send-email 2.7.4 X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.2.0.1013-23620.005 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:149.199.60.83; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:xsj-pvapsmtpgw01; PTR:unknown-60-83.xilinx.com; CAT:NONE; SFTY:; SFS:(346002)(376002)(39850400004)(136003)(396003)(46966005)(81166007)(8936002)(5660300002)(47076004)(4744005)(6636002)(4326008)(82310400002)(8676002)(83380400001)(42186006)(478600001)(426003)(356005)(336012)(70586007)(186003)(82740400003)(107886003)(6266002)(110136005)(2906002)(2616005)(6666004)(316002)(70206006)(36756003)(26005); DIR:OUT; SFP:1101; X-MS-PublicTrafficType: Email MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 3132e4e2-95ec-4ea9-df4b-08d82e0e3c0a X-MS-TrafficTypeDiagnostic: BYAPR02MB6007: X-LD-Processed: 657af505-d5df-48d0-8300-c31994686c5c,ExtAddr X-Microsoft-Antispam-PRVS: X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-MS-Oob-TLC-OOBClassifiers: OLM:608; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Hd1cR340PTLitUY5IC3wsjIKuyzCqsykfhrAuAjezUnBm4dSyR69sE8wY7hF3bwyGktQWbNsn08OnCWh7pIRCXHuUP4LSjUmIJovIXthkW7pgV9JBPIyCOfWhbsPEvcVhwICLJE2Aa4I9aYOiYIcukuIyaeRR0/rOt8cPEnxaqLLOsXB12u+Mg8ycZVialM6Uxr3QHvDBS5aQvM+UAJQ3t9DV1cphgMPvhFS6Yi3EhZFMo/E5GsqUK+6AGSta6oy8HmUWGeQdwpulbDEFLpC9q+oOm6sF7j5accjVfHBQox6dAASCpXWr67cY1P5QBXHsjYUWoniLutqddfOqxo2/m3ld3FRX0BSui3mQX31qEwCdhVQp+bZrNXZz3ZJ2i2sAcoS+UKt4i5nSN92SOgzWw== X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Jul 2020 07:09:54.4570 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3132e4e2-95ec-4ea9-df4b-08d82e0e3c0a X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c; Ip=[149.199.60.83]; Helo=[xsj-pvapsmtpgw01] X-MS-Exchange-CrossTenant-AuthSource: BL2NAM02FT028.eop-nam02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR02MB6007 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200722_030957_647297_C97F096B X-CRM114-Status: GOOD ( 10.25 ) X-Spam-Score: 3.0 (+++) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (3.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [40.107.220.57 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [40.107.220.57 listed in wl.mailspike.net] 3.0 AC_FROM_MANY_DOTS Multiple periods in From user name X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: saikrishna12468@gmail.com, devicetree@vger.kernel.org, Sai Krishna Potthuri , linux-kernel@vger.kernel.org, git@xilinx.com, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Extended the ZynqMP reset driver to support Versal platform, accordingly updated the dt-binding with the Versal platform specific information like compatible string and reset indices. Changes in v2: - Updated 1/2 patch commit description with some explanation about reset indices. - 2/2 patch, Created SOC specific data structure and initialize the const data based on of_device_get_match_data. - Defined driver specific of_xlate callback. Sai Krishna Potthuri (2): dt-bindings: reset: Updated binding for Versal reset driver reset: reset-zynqmp: Added support for Versal platform .../bindings/reset/xlnx,zynqmp-reset.txt | 11 +- drivers/reset/reset-zynqmp.c | 50 ++++++++- .../dt-bindings/reset/xlnx-versal-resets.h | 105 ++++++++++++++++++ 3 files changed, 156 insertions(+), 10 deletions(-) create mode 100644 include/dt-bindings/reset/xlnx-versal-resets.h