From patchwork Wed Jul 20 10:40:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emil Renner Berthing X-Patchwork-Id: 1658468 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=UYMMP1GH; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4Lnsg104Dnz9sFs for ; Wed, 20 Jul 2022 20:40:43 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1oE786-0005QM-Uc; Wed, 20 Jul 2022 10:40:34 +0000 Received: from smtp-relay-internal-1.internal ([10.131.114.114] helo=smtp-relay-internal-1.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1oE783-0005NW-0C for kernel-team@lists.ubuntu.com; Wed, 20 Jul 2022 10:40:31 +0000 Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id B18013F0B5 for ; Wed, 20 Jul 2022 10:40:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1658313630; bh=WS+I6JgAO5R+DT8YtpEfbus1sZqRqWV+VWlwFDP7MB4=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=UYMMP1GHTFopmECvK9MFUPptGqlNHddRDgqT/8C/d89y9FBuOqbQu/SZI3/koEn89 qQQxGbKsJwlpu1duPiBl3c8xVY8reuJ/bUBnOSjKDqemWsPo2eQnxBuIphTnmH1rKP Rp/KtMKlDVMkf8uEVVBiSyqcYrFn0Xlq/352rHrhIMJCSbmb2hBf+gidNXT3NVx/a2 vkur4xdpbuaqB6TxuM7Pvrs9eNq+SiqJ8L4QBsAz9KhN/XdEEpTlWns31IzYfwPszf zvaPf56yzs5BXGDQN4FHA1L6ugCMgUEbP4bvgtfa5pR+5WFpRVY7brpJBzlFLn+gB3 POgSA2cIBqb1A== Received: by mail-ed1-f70.google.com with SMTP id h17-20020a056402281100b0043aa5c0493dso11829691ede.16 for ; Wed, 20 Jul 2022 03:40:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=WS+I6JgAO5R+DT8YtpEfbus1sZqRqWV+VWlwFDP7MB4=; b=0avlehgs6Fhhb1hh69quTic+klh9HAbwu87SfBarcEeKk3Aycwezaxo7ssqT0dQZxY pbMTEMfoPD9DlRhtzBiNfi5dIY/ADkpFEOChVFVyuuevScD4Uk8PVXZrYS8FCumZk7Pj ghTN/QhSD88JfQTFMoE+00pC7BLwKUrqTr4WGeXO4Qd3kg2G5JIHfd2VAOY1tnkRtrNc NYTgNPuGOOkWZVVj/filqoFRJYKh3tzykPi3c7lNDi0Hh9USEt1W1Jsg9/d1bemcpYhX D31HlapTwyA8hBDM/ZCMMcq6viDSxdtDsKCGM/GaPRnTXzA0FbvqD5ZiV8u5URkgTzZk oJQQ== X-Gm-Message-State: AJIora/c2+uZLQeTsGsbJqd2NDCZjxyhQyS1DSNd/Use7rWkbFi1mRVN pBUrCSg1bj0jSeXZTXVvBzanI2ryZ3xyoN2k4qt5/zeLRJ1V7b7g3z97j16q/VOskf8E7+oVwb6 r/BbP4fyfgkGcjRdbVWk8x+6o6BiEriblOG1GJzpsAw== X-Received: by 2002:a17:907:2c47:b0:72b:9478:924c with SMTP id hf7-20020a1709072c4700b0072b9478924cmr35217646ejc.188.1658313630244; Wed, 20 Jul 2022 03:40:30 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sYFSgFKga1JDQr222R648wslG1j4jBgxPy2WJa/krTjn5RKhq2f3dpuYaGf+wwgRrR8m8hBA== X-Received: by 2002:a17:907:2c47:b0:72b:9478:924c with SMTP id hf7-20020a1709072c4700b0072b9478924cmr35217628ejc.188.1658313629983; Wed, 20 Jul 2022 03:40:29 -0700 (PDT) Received: from stitch.. (80.71.140.73.ipv4.parknet.dk. [80.71.140.73]) by smtp.gmail.com with ESMTPSA id r18-20020a17090609d200b006feed200464sm7699690eje.131.2022.07.20.03.40.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Jul 2022 03:40:29 -0700 (PDT) From: Emil Renner Berthing To: kernel-team@lists.ubuntu.com Subject: [SRU][J/oem-5.17][PATCH] UBUNTU: [Config] Enable CONFIG_GPIO_CDEV_V1 Date: Wed, 20 Jul 2022 12:40:23 +0200 Message-Id: <20220720104025.1580222-5-emil.renner.berthing@canonical.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220720104025.1580222-1-emil.renner.berthing@canonical.com> References: <20220720104025.1580222-1-emil.renner.berthing@canonical.com> MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/1953613 Enable v1 of the character device interface for manipulating GPIOs from userspace. The libgpiod2 library and gpiod tools in Jammy are still using this interface. Signed-off-by: Emil Renner Berthing --- debian.hwe-5.17/config/annotations | 4 +++- debian.hwe-5.17/config/config.common.ubuntu | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/debian.hwe-5.17/config/annotations b/debian.hwe-5.17/config/annotations index 8f923af56591..b17bf320938f 100644 --- a/debian.hwe-5.17/config/annotations +++ b/debian.hwe-5.17/config/annotations @@ -1816,7 +1816,9 @@ CONFIG_GPIOLIB_FASTPATH_LIMIT policy<{'amd64': '512', 'arm64': CONFIG_DEBUG_GPIO policy<{'amd64': 'n', 'arm64': 'n', 'armhf': 'n', 'ppc64el': 'n', 's390x': 'n'}> CONFIG_GPIO_SYSFS policy<{'amd64': 'y', 'arm64': 'y', 'armhf': 'y', 'ppc64el': 'y', 's390x': 'y'}> CONFIG_GPIO_CDEV policy<{'amd64': 'y', 'arm64': 'y', 'armhf': 'y', 'ppc64el': 'y', 's390x': 'y'}> -CONFIG_GPIO_CDEV_V1 policy<{'amd64': 'n', 'arm64': 'n', 'armhf': 'n', 'ppc64el': 'n', 's390x': 'n'}> +CONFIG_GPIO_CDEV_V1 policy<{'amd64': 'y', 'arm64': 'y', 'armhf': 'y', 'ppc64el': 'y', 's390x': 'y'}> + +CONFIG_GPIO_CDEV_V1 note # Menu: Device Drivers >> GPIO Support >> I2C GPIO expanders CONFIG_GPIO_ADP5588 policy<{'amd64': 'm', 'arm64': 'm', 'armhf': 'm', 'ppc64el': 'm', 's390x': 'n'}> diff --git a/debian.hwe-5.17/config/config.common.ubuntu b/debian.hwe-5.17/config/config.common.ubuntu index 25bfe404e915..f3dc5ad08192 100644 --- a/debian.hwe-5.17/config/config.common.ubuntu +++ b/debian.hwe-5.17/config/config.common.ubuntu @@ -4031,7 +4031,7 @@ CONFIG_GPIO_BRCMSTB=m CONFIG_GPIO_BT8XX=m CONFIG_GPIO_CADENCE=m CONFIG_GPIO_CDEV=y -# CONFIG_GPIO_CDEV_V1 is not set +CONFIG_GPIO_CDEV_V1=y CONFIG_GPIO_CRYSTAL_COVE=y CONFIG_GPIO_DA9052=m CONFIG_GPIO_DA9055=m