From patchwork Fri Feb 24 05:07:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ashok Reddy Soma X-Patchwork-Id: 1747319 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=nDvI+9Ei; 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 4PNHvV63zhz240f for ; Fri, 24 Feb 2023 16:07:34 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3DCD0857C3; Fri, 24 Feb 2023 06:07:29 +0100 (CET) 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="nDvI+9Ei"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 70754857AA; Fri, 24 Feb 2023 06:07:27 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS, SPF_PASS autolearn=no autolearn_force=no version=3.4.2 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2060f.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe59::60f]) (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 1FE1D84528 for ; Fri, 24 Feb 2023 06:07:24 +0100 (CET) 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=d+gRR8XB6aELAFMZnfnUlGFOWu3DEutYNBqQi5js9+2U7EALxPzkKbOS1Uem5BB4t3EFngRfLbXlRKfkFKxgOYNxHO2X2rnz++xk7S+a1F6qU4hEWMapE1aXxYwmoJuNJ7gU9prRk1w6N5BWYR4UG8qDFhJPgixRdr9VaeMoMXXpD8bl0/pGYE6/26g3+ZxyIGl1s/wqAoR5rjBZRB19uMTmVuIa/aca1frCoSy1wNqSE4tmiMa3Cb3t7NNUPz4K9vJ03O78sb86sgaCoQvgnIv1nSbls7YR3e+GzEg2Z8tlsdmQI2ieOZLRwD22oRtxSluHh4Kjtll9J6h57Xsk7Q== 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=1GkbA2hsaFIPCBrdj9nl34fQH4eb0SlP6lCc1lzoeYM=; b=aKDu1Ws646pIsVJy1/YGAhZTE82/AegjZf8qLaxRYoMT4P9LaKxaWRJXG7lsDs07ttw5GY1PJJ3pNX8XGozrUfdEfVKTAT8QdF7fgDUU1fjaS31xsJAOmqVWLkOVkuPfQaLQa+sGoqOqFSsdikGFdwqP9mapUucw5GRJ7Rqmgfbq9sn+Kf1yoB7DH47545YaRHqxtg0h8X8YM9x3xsS8/mz22f3nO+w3As75oyvh4Utj5/140RzI/vS4QHEe8ArrhYGydwnl6vQroBJ+aXA+nUHI5NCPA3yRI7KPMaJeUbRRZNgxhoqL2r664a724Gq3LpuMH2xJy3hyjW0Q2oWPHQ== 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=1GkbA2hsaFIPCBrdj9nl34fQH4eb0SlP6lCc1lzoeYM=; b=nDvI+9EisPxWDvX4c9iOkd4Nus9sJkGAkpwIPeW/Pb6yWRvmJn1+VHI+ZJg/T4Df0Ejsd4A73rQsvMRGYcCwgNzR2Uj/bgOrkXmuYCnstW3m8/Yk1/8Mr5IlcUT94zpegXBNOa3kbYuCRcdCrWnt84iPExMqlEEc71VFvOuqdpI= Received: from MW4PR04CA0075.namprd04.prod.outlook.com (2603:10b6:303:6b::20) by MW3PR12MB4523.namprd12.prod.outlook.com (2603:10b6:303:5b::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.24; Fri, 24 Feb 2023 05:07:21 +0000 Received: from CO1NAM11FT029.eop-nam11.prod.protection.outlook.com (2603:10b6:303:6b:cafe::a7) by MW4PR04CA0075.outlook.office365.com (2603:10b6:303:6b::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.21 via Frontend Transport; Fri, 24 Feb 2023 05:07:21 +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 CO1NAM11FT029.mail.protection.outlook.com (10.13.174.214) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6134.24 via Frontend Transport; Fri, 24 Feb 2023 05:07:20 +0000 Received: from SATLEXMB08.amd.com (10.181.40.132) 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.34; Thu, 23 Feb 2023 23:07:20 -0600 Received: from SATLEXMB03.amd.com (10.181.40.144) by SATLEXMB08.amd.com (10.181.40.132) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Thu, 23 Feb 2023 21:07:19 -0800 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.34 via Frontend Transport; Thu, 23 Feb 2023 23:07:17 -0600 From: Ashok Reddy Soma To: CC: , , , Ashok Reddy Soma Subject: [PATCH 0/4] Fix arasan nand driver issues Date: Thu, 23 Feb 2023 22:07:05 -0700 Message-ID: <20230224050709.30014-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: CO1NAM11FT029:EE_|MW3PR12MB4523:EE_ X-MS-Office365-Filtering-Correlation-Id: db211b16-bdc1-417f-cc3c-08db1625022f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: GKjOrXOFzEdFvng7UeAK5OEwIj87+Jofa5+OzkhrRQivvBgy6scWIrSqaqWJCrsrHQycNgQ+ak1Y+MOJi2VM0ZN729LbTD/YaosmYIYz/Wg093MrpcKzkqsqtc/Qd57TKygJMrFViyoqeMgZRcarcJ0E9WAneS3ATqPRXHSb8G+YZmKpmELU0JBLyv3yiM8pw6Txw/x033ivBrFCjw6WmCGkPi0OtdR99CAjI8CRkifpteEnC+6SSHjH+xHoZRsvxpROgs1Xwwcna3kGOTtBChsdlNOdxY9jm2wOuA7+4oQpHglBnT7Wenpowm8U2k9KA5qLe2WA9c3iwx+PVcPzUbfNyMYPuF2H4kdXrPI60a5HrwdzliRwmQ97XOvwHuUK65h4/kaqSuHaE3+9/uCDbf2s31tdspz2VGraoRxcjXoPfwPMCt+VUobxlop+jSMKJv5z3J5guK8ozAT0M3pi9CKP5aP8VQZGuDEJmklUdUBzfkz/xO3IKryPorg0Ec5GAxSacw9dgDYx6Tlq1ciffusy9gzgdKHUvC9fyv5q7HG22uBRZDkX6iZwrF8kwQ92SaE9xh6PY6j9Tm4v7+HDtlV5vwNOT7XNXeqkwqRYm4fepsgN8haF41ZvKozj/841VSawWGXSK5LWTWpMXV12+XbYyCAbW5us2xI08taXAXTKXMSaxyjGlhb1KsL6rf1CvtPxnWm6gRIyGqtnYWoegmyWnzbRv0mmg4RtUEOviDo= 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:(13230025)(4636009)(376002)(346002)(136003)(396003)(39860400002)(451199018)(40470700004)(36840700001)(46966006)(81166007)(82740400003)(478600001)(54906003)(316002)(6666004)(8936002)(356005)(5660300002)(4744005)(41300700001)(1076003)(26005)(2616005)(186003)(2906002)(8676002)(86362001)(82310400005)(36860700001)(47076005)(36756003)(426003)(103116003)(83380400001)(336012)(70206006)(70586007)(6916009)(4326008)(40480700001)(40460700003)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Feb 2023 05:07:20.7938 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: db211b16-bdc1-417f-cc3c-08db1625022f 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: CO1NAM11FT029.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW3PR12MB4523 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 - Remove hardcoding of NAND_BBT_USE_FLASH in nand->bbt_options - Find and update nand ofnode. - Fix nand node in zynqmp-zc1751-xm017-dc3.dts file - Enable nand-on-flash-bbt flag in zynqmp DT's by default Ashok Reddy Soma (4): mtd: nand: arasan: Remove hardcoded bbt option mtd: nand: arasan: Set ofnode value arm64: dts: zynqmp: Fix nand dt node arm64: dts: zynqmp: Enable nand-on-flash-bbt in DT by default arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts | 2 + arch/arm/dts/zynqmp-zc1751-xm017-dc3.dts | 119 ++++++++++++++--------- drivers/mtd/nand/raw/arasan_nfc.c | 5 +- 3 files changed, 78 insertions(+), 48 deletions(-)