From patchwork Fri Sep 30 09:25:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ashok Reddy Soma X-Patchwork-Id: 1684783 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=amd.com header.i=@amd.com header.a=rsa-sha256 header.s=selector1 header.b=MV/IqN9w; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Mf4bs4XTFz1yql for ; Fri, 30 Sep 2022 19:26:17 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8EF00849AA; Fri, 30 Sep 2022 11:26:11 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=amd.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=amd.com header.i=@amd.com header.b="MV/IqN9w"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B170E849AA; Fri, 30 Sep 2022 11:26:09 +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=0.9 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2, SPF_HELO_PASS,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2057.outbound.protection.outlook.com [40.107.244.57]) (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 184528423D for ; Fri, 30 Sep 2022 11:26:07 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=amd.com Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=ashok.reddy.soma@amd.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=d6vzUI29naPa3BonWCmxJyqPUKRHnkylqPoM88gPdPmmqDNtPbeYWqxA3PLGUDiE+PO0b/gmFwT6SmB3F43jRg9d9kPNdrxaFEv0CdEKhguF8RyJIyJ8RD8dGlnhfNqGlW4S7gZuug7ECVztJK15EfiuDHU7ALMiFoBbuaHqvAyOSnWmi1R4msAgmk8ffSX+OIu9MbmM2Zn+hBhiU55reoiHkMapA5kmyeV/s3nECfnCBiP5wBXxTrxdjM8b9Pq+V+cccm8/hxngibiNvBAdFmtCl0XTeXAH5Ozio2X/uVX/B2sA7rATk2ci01PNtJYwkRvg03F+VmHHo15YJUQGdA== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=+7MEEVY5DluvsZJ4XOOoX92RhREd5Rr9wuglF5Wq34A=; b=Hd4MEnY68wbd+1aSnaDsQc2UfbcCHdt5U/AxQ3bGW+A1y4X+64Sr8eMLyEAX4ExFNtvDMMjYsEHBL7iUGv21lhICzNXYqlhJStt81eBQ84Gc6mSqmrYDIsic1gB5Tb1FbgGQuDj4iwBDN38WEp/bWdrFrd0ieELY9W1TSmPN+Gmo2T6e1VmBYPWXbKJNBRuw9XPrI0HqFaXOHtT1xGy9tM9P4GXJNpHae+U82r+6vDFkiS/KDfLpEWu/rYmFjmHC+M4DpqLJns6AMTjc5D4CeRCYVgB0p1I5SbDLu70nuzuo2fQfBg4L9v5EUmay9G36EMHx6TJICO9eO2YQB5gtdA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.denx.de smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+7MEEVY5DluvsZJ4XOOoX92RhREd5Rr9wuglF5Wq34A=; b=MV/IqN9wzdeGtC93euDjgUCY800d+6ye8qLsUCPLYNnhhPs0RZR0WAs7EW0z3rUzZCaOHto7/YhDLJsrpeNO2TvSssh5ztwmHKumQF6JToDsp5DAF067FUrcg+F23wyB0/GyoHyFisj7557PoMHqdOVhijVVHHJ0VebzAqylLyk= Received: from MW4PR04CA0303.namprd04.prod.outlook.com (2603:10b6:303:82::8) by CH0PR12MB5169.namprd12.prod.outlook.com (2603:10b6:610:b8::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5676.23; Fri, 30 Sep 2022 09:26:03 +0000 Received: from CO1NAM11FT076.eop-nam11.prod.protection.outlook.com (2603:10b6:303:82:cafe::be) by MW4PR04CA0303.outlook.office365.com (2603:10b6:303:82::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5676.20 via Frontend Transport; Fri, 30 Sep 2022 09:26:03 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by CO1NAM11FT076.mail.protection.outlook.com (10.13.174.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5676.17 via Frontend Transport; Fri, 30 Sep 2022 09:26:02 +0000 Received: from SATLEXMB05.amd.com (10.181.40.146) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Fri, 30 Sep 2022 04:26:00 -0500 Received: from SATLEXMB03.amd.com (10.181.40.144) by SATLEXMB05.amd.com (10.181.40.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Fri, 30 Sep 2022 04:26:00 -0500 Received: from xhdashokred41.xilinx.com (10.180.168.240) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28 via Frontend Transport; Fri, 30 Sep 2022 04:25:57 -0500 From: Ashok Reddy Soma To: CC: , , , , , , , "Ashok Reddy Soma" Subject: [PATCH 0/3] Read mmc "power-domains" id from DT and use for firmware calls Date: Fri, 30 Sep 2022 03:25:45 -0600 Message-ID: <20220930092548.18453-1-ashok.reddy.soma@amd.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1NAM11FT076:EE_|CH0PR12MB5169:EE_ X-MS-Office365-Filtering-Correlation-Id: 2b78167a-1479-4642-81d9-08daa2c5cb61 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: OK26AvBiz+V05CjKLHLHsxrPJfgmXjgadhrqkkgI3G5Ij4Mb41qi9W6Edq7oo7/nnI6Yq9GT4AsKe9AR4QibEIVKS46yb/sa8xnQB/7hdfeqS5YTkk+Q8/9Vw4ed8SzaCt87YmhQ+meeVvvhf6KSt5F5ZMXWudChD3A4+yxuMJBessoqKvcCPAsZs6XQEyCCIst4+EM0zabNbdQjpu7qrUz1nfheJjtAujV+5Nzw0ZP6TKqCfyxxlJhVMdsf4nYazld2fVTCwNWisKDdfBa5Kp0eOCrvh3aBBYhhoHnRUXWS6RXbkcnsO4oOyU5ggr228mIo+IbeIGsv4H3imTs2gBdqt8Pmjmlxx4o53a57dJwducDi1oPr1SlvF9LfvVP1NpZbvWRCETYHEuu4xL6Br65i3EVhScHyrpedN9pXg686R1eBOytMdCm0Bucz7MwFxlusP6QmaGzIb2fMp6kBx1EDr7SOKKcxtEf3cKrSaUcVwNlykhxoSb2EZQl34oetNPbsNlwQW+2vT32tUQ433TuxD1Koj0YrMosPeVCggHhM2dHp4j0aR8zszZjOdZj/sci8SCsCb778pJaR8jthMX1lvW4Epx1qYQ0gztWBm4a8NGhy7EZ4/5OeZpRUryuD9f4v/5X2351i4nBTxLN6VvCYkaeM2jq1e4KNszF+wwSidti7xPS4ww2RRqohx56pYczCsB4FMmz2sfh3+PaoLOuaadW9gH0wckmBO0QHBmCBSZgyL+NONpS4NRwOkQ+Ve1NHexPIDjbPARePK2KwCxID8BzoOZf6d+/OIfHmien60Jb4Ciz6KLKYFcjy0wQr X-Forefront-Antispam-Report: CIP:165.204.84.17; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:SATLEXMB04.amd.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230022)(4636009)(346002)(396003)(39860400002)(376002)(136003)(451199015)(36840700001)(46966006)(40470700004)(356005)(186003)(316002)(6916009)(81166007)(54906003)(26005)(5660300002)(82740400003)(6666004)(4326008)(36756003)(2616005)(70586007)(1076003)(41300700001)(2906002)(103116003)(8936002)(8676002)(4744005)(36860700001)(82310400005)(70206006)(40460700003)(47076005)(336012)(426003)(478600001)(86362001)(83380400001)(40480700001)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Sep 2022 09:26:02.8893 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2b78167a-1479-4642-81d9-08daa2c5cb61 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d; Ip=[165.204.84.17]; Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT076.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR12MB5169 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.103.6 at phobos.denx.de X-Virus-Status: Clean In this patch series - Existing node_id is u8, change it to u32 to accommodate Versal node_id - Read "power-domains" id from DT and use in all firmware calls in place of node_id. - Remove static values of node_id which are set based on "device_id" - Remove "xlnx,device_id" from all dts files Ashok Reddy Soma (3): mmc: zynq_sdhci: Change node_id prototype to u32 mmc: zynq_sdhci: Read power-domains id from DT and use arm64: dts: Remove unused property device_id arch/arm/dts/versal-mini-emmc0.dts | 1 - arch/arm/dts/versal-mini-emmc1.dts | 1 - arch/arm/dts/zynqmp-mini-emmc0.dts | 1 - arch/arm/dts/zynqmp-mini-emmc1.dts | 1 - arch/arm/dts/zynqmp.dtsi | 2 -- drivers/mmc/zynq_sdhci.c | 53 +++++++++++++++--------------- 6 files changed, 27 insertions(+), 32 deletions(-)