From patchwork Fri Apr 14 00:44:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dipen Patel X-Patchwork-Id: 83160 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp45707vqo; Thu, 13 Apr 2023 18:00:13 -0700 (PDT) X-Google-Smtp-Source: AKy350ZKiEgTdFPs8uIVCksFGHr+80RhUa2HObqZdsICKTJO6+2XQpWbzgIZGjZfGs2WgHczUu30 X-Received: by 2002:a05:6a20:e94:b0:eb:f7d2:565 with SMTP id fk20-20020a056a200e9400b000ebf7d20565mr3819470pzb.29.1681434013081; Thu, 13 Apr 2023 18:00:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1681434013; cv=pass; d=google.com; s=arc-20160816; b=kVrx5NPzsynspCasV/nGTKvpJ08pUNATeKBaJJlChEFSneik7/5uDFRMHAJ/5swoq3 +0teJEZUpg6to2Cg79F29xwAOaEH4c1+6ZR1XgMTRftvBeB+OYautIm88HkosytLdU0A AuUHStYt8LM2vTN+qztWPayIgvAUgP1y7P4XYWO8PLOLrnj6yV3Mi/2iQcQqNskT2Izv 2OzhysL1lN6B7gHeyBC33v54vQJAWciGjajmZOfqOEvI9ikqnGVMcUxI4MHnmjRzWc0T 4BvnHyJxdV3vvEyRtptd+gKHzm169nLQjTdQnY1u8EFLbHFfzRlPIO6rH4s/9D0fWKXB 5B3g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=x0B4e4waDo/8ygYRfAUPi4j/yHBgi9ZU9AnjB6UuD5k=; b=nt6ioVryJKRD/3uss8CsZPZ31ft0SeQfjtzxFqh0+89oEE7OAX5uU8vNoOLtIBSwsS lARZ/aLGtTyDVA54t+93AIBrLgFrA7gqGChf1KDN9ao/dRQLSPHqLpLLUq45H3V7wXOg r4YYfYSevv3IllQlqfWheUG/RqUDqRRyR6yAoVEp/3mAV64isGxTJW1iPNoj3I9voZnH XEgtHuuZ7edk0M2lZGvFIYe1rUFL8+ExQGEBweuoPtKiJvKiqwzLmMoLXb9hDo03cVIL 65GRG+YvD3qwTS8vWDbHKAzBcJZbSRD56DsAX3YuVjzmHcukARto97g1Yl6FxGsn/9Qo PaNw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=pqVji3cx; arc=pass (i=1 spf=pass spfdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k70-20020a638449000000b00503011e4f27si3309383pgd.869.2023.04.13.18.00.00; Thu, 13 Apr 2023 18:00:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=pqVji3cx; arc=pass (i=1 spf=pass spfdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230030AbjDNApo (ORCPT + 99 others); Thu, 13 Apr 2023 20:45:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229794AbjDNApR (ORCPT ); Thu, 13 Apr 2023 20:45:17 -0400 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10hn2233.outbound.protection.outlook.com [52.100.157.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F1DBE40FD; Thu, 13 Apr 2023 17:45:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oXR7N2jUA9f70SB0WR0ZVhMVS9PHzxGG5IIT25ElPisMOJENSWQuNXl3ZBeGIHBDGHHcAO6ECTnynIW0+Mxqigp+m55YvYNwCMRsIMFwEXTxQNFUO2EwXOmyiGOmOJiXN0tId85uPeTBxlBKg2sSQd2u+yQV/4hRKqVUsxa8NSL/vOCKKqMTHNmgnU6hVu1HtGSeufRMHWQ+SPNXe/UWlo8TrR0Dqh9u5QCrGvw70h08WvMKPCctLn8Ywj2E6tGkMagYTAoFzXiy1dWI4MxszaQhPw6MMk8It+oRUkLryxNG6qgeE1nA3cHEAbjljM8z0EulPnOFJ/lIT1jQoc+zgA== 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=x0B4e4waDo/8ygYRfAUPi4j/yHBgi9ZU9AnjB6UuD5k=; b=KcGjZDGPYE7lSyijQexX9eRYRJsws2AbD4t8PePoBAKZQbO272pZfdGd4QuNCrJiN6iepqomQDZrtdIA4teiuUD880r2L0A41GT8ezOhZrbRj0Li+DVCx0UPr4xsdLWm5EjeB24gzriWA32ttbFrWkJVjNoP1GDfKw01qryamsdFQAh3mq7cWPyO/BMlMW7vryfEawjBQLAt6GreQ6Q7HdL+TV/kdyo0D7cMyKh8pqgBWkooMt2EzqUXvq4MxHy7GHDHJFLpDd/r1mqf1qFrmW+UeE1puOQhLGH46SMjfOz2yjob5Hs9bZinfQvwPvX1gV04QImkvk01kF+5QWYHpQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=gmail.com smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=x0B4e4waDo/8ygYRfAUPi4j/yHBgi9ZU9AnjB6UuD5k=; b=pqVji3cx3ZfPFTyzikkMZcb2HaPhDfuX4MY7shLJW2Vc3ObfbPR7psSOo+LIrQTQvfabe19P0EOqZnT7Yu8kU5IAmgtGGmNlOz11s5/MDKCoH7l/Pd3vdgJEAp0U9hZR6sveDgy5L/BNNrX4nMSUKF0A0hIBc75lCFj1cKpHXOfO24cF+LzLK+jWSOrEcku07P5Cx3NKu3Ln8D0nt1wRpPgrEpVa5K6W3pvdh+f5QjkuPOjikJiYBccw9ni7zvGpHZk0zvcoOhG2rfufddfyoNSJwYk13lPSpGQZm6nkkNwC9froN/X7GfPJDoHUQcbHBT/WxpRmbX9e+V6E5fRhSQ== Received: from MW4PR04CA0122.namprd04.prod.outlook.com (2603:10b6:303:84::7) by DM4PR12MB5819.namprd12.prod.outlook.com (2603:10b6:8:63::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6298.30; Fri, 14 Apr 2023 00:45:14 +0000 Received: from CO1NAM11FT028.eop-nam11.prod.protection.outlook.com (2603:10b6:303:84:cafe::6f) by MW4PR04CA0122.outlook.office365.com (2603:10b6:303:84::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6298.32 via Frontend Transport; Fri, 14 Apr 2023 00:45:13 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by CO1NAM11FT028.mail.protection.outlook.com (10.13.175.214) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6298.30 via Frontend Transport; Fri, 14 Apr 2023 00:45:13 +0000 Received: from rnnvmail205.nvidia.com (10.129.68.10) by mail.nvidia.com (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.5; Thu, 13 Apr 2023 17:45:03 -0700 Received: from rnnvmail204.nvidia.com (10.129.68.6) by rnnvmail205.nvidia.com (10.129.68.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.37; Thu, 13 Apr 2023 17:45:03 -0700 Received: from dipenp.nvidia.com (10.127.8.10) by mail.nvidia.com (10.129.68.6) with Microsoft SMTP Server id 15.2.986.37 via Frontend Transport; Thu, 13 Apr 2023 17:45:03 -0700 From: Dipen Patel To: , , , , , , , , , , , , , CC: Dipen Patel Subject: [V6 9/9] gpio: tegra186: Add Tegra234 hte support Date: Thu, 13 Apr 2023 17:44:55 -0700 Message-ID: <20230414004455.19275-10-dipenp@nvidia.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230414004455.19275-1-dipenp@nvidia.com> References: <20230414004455.19275-1-dipenp@nvidia.com> X-NVConfidentiality: public MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1NAM11FT028:EE_|DM4PR12MB5819:EE_ X-MS-Office365-Filtering-Correlation-Id: 2e68dc6d-848a-4177-f71c-08db3c818211 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: qMPc5E7fOWXmu5zdiqWUx+aaXC6baQCFy0iwNl33dRFohQVOSD8cSrwdAWcxrSi5i+xsfP7kMIgxxek025dYUiaqptoQwY9bvcrOR+/EGWwVzWuaOLNJd0ccN5Ecibu396GC8r2A/32xjyDbvnDFjW0/Eyl8gESeVUzEoX5SgkNxU+a6rb7k2izTHXM7cYZbPJsG8qF0fnh4hfYMixtoKQPpQzO7bTnf9AKzJSRFiAhwoP1V6re1CC1ZN+RXmj6dykHFvYz8J11Vhdidrs7a7cfeSBUdif6N6F0tofbMTM669NBHtBOOQZKdD68H1Rt8iUnoTs/WoeXzJW816pXr9UH8DYZ88wzhN3T9bH6WMzMKl3NRkVFPXC+WXXxgh4jXxtF/g9/Gg3Jp/a0VZQ9iN45qPREEwr/cOVzKfa0b2E74PkKgyFrEdxETibUB21sNeMk+jObipVNtaWKSP+PP4tVP5Yl8X0q35ULJppgNgd53yuGpr4QjAAsVoPMErORAGNcpIFajJjKM3UUWGW+n/ktxVVU3DnZvAe9UQ5zJZEsH6cJKJ3PXYZCTEPbCNmzdqJ/vn8SyMjrElLmvZiFteBnQ9CVDEz3nUOLwpB+U2Rqa++RHiwr1WxESp96lef7ddv7W4vGs8h6BhF6H8PDie4cc+nd6cT6Hk7rnlGGsjv5hYt2WcQa7PPvYsFSeIpWaOYwzIb+aY4LyBkyxtkDdMebd9+/pAuojjUnHHM/8v1mXUEXFJkNNqZ5KpjgwrAz1IxjcM5VSlO+9vtN9GNg0w2XZE2o8DBjY40ziU4AXDBETsWR6UlHVqPbAsf2ZzIFwhw0Rjp6D0avKsYfk1wXlivEADdg58JcpQgAIGROeWMpda5xaM1X8o4xCM5MhCkm5 X-Forefront-Antispam-Report: CIP:216.228.117.161;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc6edge2.nvidia.com;CAT:NONE;SFS:(13230028)(4636009)(346002)(39860400002)(136003)(396003)(376002)(451199021)(5400799015)(36840700001)(40470700004)(46966006)(6666004)(7696005)(40460700003)(4744005)(4326008)(36756003)(70586007)(70206006)(110136005)(2906002)(7416002)(86362001)(356005)(7636003)(41300700001)(5660300002)(8676002)(8936002)(82740400003)(82310400005)(921005)(316002)(34020700004)(478600001)(40480700001)(1076003)(336012)(26005)(426003)(2616005)(36860700001)(107886003)(186003)(47076005)(83380400001)(83996005)(2101003)(12100799027);DIR:OUT;SFP:1501; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Apr 2023 00:45:13.2782 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2e68dc6d-848a-4177-f71c-08db3c818211 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.117.161];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT028.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5819 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1763111351361562090?= X-GMAIL-MSGID: =?utf-8?q?1763111351361562090?= To enable timestamp support for the Tegra234, has_gte variable needs to be set true. Signed-off-by: Dipen Patel Acked-by: Thierry Reding Acked-by: Bartosz Golaszewski Reviewed-by: Linus Walleij --- drivers/gpio/gpio-tegra186.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpio/gpio-tegra186.c b/drivers/gpio/gpio-tegra186.c index 14c872b6ad05..b904de0b1784 100644 --- a/drivers/gpio/gpio-tegra186.c +++ b/drivers/gpio/gpio-tegra186.c @@ -1134,6 +1134,7 @@ static const struct tegra_gpio_soc tegra234_aon_soc = { .name = "tegra234-gpio-aon", .instance = 1, .num_irqs_per_bank = 8, + .has_gte = true, }; #define TEGRA241_MAIN_GPIO_PORT(_name, _bank, _port, _pins) \