From patchwork Tue Oct 18 08:49:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Svyatoslav Ryhel X-Patchwork-Id: 267 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp1850306wrs; Tue, 18 Oct 2022 02:05:33 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5suL9vI/Gj+suFel/F9r+fEz/4TB5Z+dCOfYcJxQ37gKqFxUHmC5OcWrGpZ05OoZROZoSO X-Received: by 2002:a17:906:8a64:b0:78d:b00d:fe with SMTP id hy4-20020a1709068a6400b0078db00d00femr1629327ejc.32.1666083933117; Tue, 18 Oct 2022 02:05:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666083933; cv=none; d=google.com; s=arc-20160816; b=HdGQ8RQiHXq/Gfa2qTV9bMJdGw6/2F2nPZ1NmKnh1ghUd2ez2Kik6glCEzBjwbbMoj T1eWCag7pi5apH5y1eEPHNho1z57t6iTPlMMvq6i09dbkxaAX99MosTgbiEeq27EIu1l nGYrAMc9fIy9RnNUirmtoHOZX9d5fO+jks007AbmgtSc7bv2ViV7APJrWxs2ZyNaXF41 IzJfwLqhW9IpxNW7Thq9iAGIGVkcamuW3gwwEg5J900xlEf+vfD5EiUy/wK9oWCGGLmt uTuY7JBCVX2WAEJDy04krSHRH2SI0J1xQKBc7WQKsNBfaFDuv7Jv7NvgbDld5pmELqFw wRiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=ASVdbX1uwutQ8LkCPHmupGy4+8wzihgP/ZAbqQQYpHA=; b=xxqmRwRCI+qAeZuXtrHJ7RnPICobuZugGIGYknrPj9lYLMqSgH0b/G2enY8ycY6RFV QlxFMKsrx5CZFEuaIFcf/GqJ5B+hZ6qf+lj2vkdBngj5ZYN2YJN6E6rbWU2EUConlv8z zyaDO3jfKyHpbN6lgiuX+Ne/ZRjHuTc3TohpDSglhSVIg69U3sdoffIveyXwsRUhfgzW ivgG+Ss/6cPeTTqk/rdPo0Vi2jgAPw6kesPhheopwzWj0TOqLzj8KQv+dgsg0pWDusWU GNByiZfAVJ5+iUZM1Y3TW/24JWByvqdS8c6UTPzRW4undjiCwofgI0Ewl8QP9UPGp7jd Z9ZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=b4m7Xe7O; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f13-20020a0564021e8d00b0045d4a88c735si9753120edf.220.2022.10.18.02.05.07; Tue, 18 Oct 2022 02:05:33 -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=@gmail.com header.s=20210112 header.b=b4m7Xe7O; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231167AbiJRIuC (ORCPT + 99 others); Tue, 18 Oct 2022 04:50:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57238 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231142AbiJRIt4 (ORCPT ); Tue, 18 Oct 2022 04:49:56 -0400 Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E2C12D13A; Tue, 18 Oct 2022 01:49:27 -0700 (PDT) Received: by mail-lj1-x22d.google.com with SMTP id j23so16999399lji.8; Tue, 18 Oct 2022 01:49:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ASVdbX1uwutQ8LkCPHmupGy4+8wzihgP/ZAbqQQYpHA=; b=b4m7Xe7OTeZrDyEgwGeokF3uW8vjY4assmR6FL1H8txH1a8jkLZN4sJCp73IJASr0x lcpMC3Fnnkag1twnuNDLoOgTXxjCPm8CF8uj/KiICpVlZHDHgkxKZDHIT1N0375aR4Yu 83RBKJKbHCLhDE4KrvEm6ECCZpMxWwLZTAy3z+zozAcW4E+mO9f1KSER/FRnpfswLW2i xUTVL2shoQtbTpfSi3cHVO1Eqjx22oOJCa+Yj/h3RvsQgU8lTaXs7R0TJFW2zPsOpCZ8 aVp0Ij45XmO7FrRplXplG9s6KcLHH1znjIQxDllTQkIrroX+xUiWTZjiUCi/dvTQm5eW q+mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ASVdbX1uwutQ8LkCPHmupGy4+8wzihgP/ZAbqQQYpHA=; b=6jlrGj8LTsiPh2I1k5pgxQvj4n8u7VoZ1jucoz3FhqXg0PRC9BfiIUzy7Q98ki/TJG LbmKFwv+E3gt4otLbN9Xt/sBSpwQoXsExgNN07B2imH5DW3a/WGc3KIWtKX71WJHFWMW kEdNfr+yVedmrg7YkGFZ9oxY8C5kqKj3c0l+pDHe8EwRj5Xj7gJ5spDAnRosND06v4c+ qg9QqzdDk4iWUckaOpuWvPqHNSHYCOhBihytQ3a9PX2GCO/rvcGh4p6CS91ZPKIQwMUP rlKcI3hpJfVv4jvITTfAlaMARGi9Rb5aGKNCneIl+XjKf0pRappnhSJm4WQnIajED7q8 XM+w== X-Gm-Message-State: ACrzQf22AFcZmkOIcpmSCKc4eJWTaIjKLF/0qg7Qb7RJUKmfE6y+g2L3 d/aDbVTO5OdJq9uzLkc+WQw= X-Received: by 2002:a2e:9181:0:b0:26e:91d8:5796 with SMTP id f1-20020a2e9181000000b0026e91d85796mr708968ljg.398.1666082966108; Tue, 18 Oct 2022 01:49:26 -0700 (PDT) Received: from localhost.localdomain ([188.163.112.49]) by smtp.gmail.com with ESMTPSA id e10-20020a05651236ca00b004949f7cbb6esm1771890lfs.79.2022.10.18.01.49.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Oct 2022 01:49:25 -0700 (PDT) From: Svyatoslav Ryhel To: Linus Walleij , Bartosz Golaszewski , Thierry Reding , Jonathan Hunter , Dmitry Osipenko Cc: linux-gpio@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 0/2] gpio: tegra: Convert to immutable irq chip Date: Tue, 18 Oct 2022 11:49:03 +0300 Message-Id: <20221018084905.21717-1-clamor95@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham 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?1747015616973096084?= X-GMAIL-MSGID: =?utf-8?q?1747015625813845969?= Update the driver to use an immutable IRQ chip like tegra186 Switch to new *_PM_OPS and pm_sleep_ptr() macros. Svyatoslav Ryhel (2): gpio: tegra: Convert to immutable irq chip gpio: tegra: Switch to new *_PM_OPS macros drivers/gpio/gpio-tegra.c | 60 ++++++++++++++++++++++++++------------- 1 file changed, 41 insertions(+), 19 deletions(-)