From patchwork Wed Jun 14 06:57:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juerg Haefliger X-Patchwork-Id: 1794825 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.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: legolas.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=vsbO3oER; dkim-atps=neutral Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Qgx7T45Bsz20Vx for ; Wed, 14 Jun 2023 16:57:25 +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 1q9KRS-000273-C1; Wed, 14 Jun 2023 06:57:18 +0000 Received: from smtp-relay-internal-0.internal ([10.131.114.225] helo=smtp-relay-internal-0.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1q9KRP-00026e-MU for kernel-team@lists.ubuntu.com; Wed, 14 Jun 2023 06:57:15 +0000 Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.72]) (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-0.canonical.com (Postfix) with ESMTPS id BB9743F12E for ; Wed, 14 Jun 2023 06:57:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1686725834; bh=A2XJNBh1nnDwgFfA6TWt3Nh+kUipwk4BpxGmUJ6suUw=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=vsbO3oERAUiFG/1Dyo0Z/A7qwTpRPadZQppyCeOeTPC8LNu5En6qkA+S5iQzZstC/ ToeNc0D769E/iI7sspBl0yDDinaXYocYESTe9ohYv0zTwX1F7UxzNTzNSw3p4+jDpp Ts4TOLL4IgS88PLF1pKNGI1bAQTc5MQ2ugoLKKMIw2aCwlh4w/4zkPTfRZD1Vby/sv 1SwT/jR9O+vdQzFTYPyZe77+KCi93XKUN6ErNYsQ7EU3pRKP+bv50TsxCylxLpTPvM zdyCBiJaAv4ubE05jPhbaV3mi+nR4hHWOleWVdFidj8ESy1gV/sZ5HsXaNgjCfMHjk S5j74BNPsumHQ== Received: by mail-ej1-f72.google.com with SMTP id a640c23a62f3a-9715654ab36so38292566b.0 for ; Tue, 13 Jun 2023 23:57:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686725834; x=1689317834; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=A2XJNBh1nnDwgFfA6TWt3Nh+kUipwk4BpxGmUJ6suUw=; b=OUA8MsDGDt0D1fE4sYSa8GhTH9+QIb1cktNnVs50GCvmGGDfBEbRcHeXXtOnFbIZ+G e5dmHCeIv5TYGfjq30AqJvXl2IQL5YlvLFO7780U5INLCmfRuNSgAzeaUb8Z7BUY2ZEa r9QxV9LzurvyXviP4WuciVZhSIYuRpuCGE79SAf0PBSe6LpM9DfkdoaxunzdJicJfzvK uEvh0L/XVRDM5Eunj+x+j6SwoQc/0XTNZcBlUI6UyU+rKTIZ4YKKIlqXzPDt6r7/Th4l 7SsqNgN2h3J3wmgF1E9/4nUj1Pf5/nGh7agWdKGeWhxFkLpM+TApsnRwvAASnyqBTn0c LcYw== X-Gm-Message-State: AC+VfDxX3e32kpq3CwWkO8B3x/+B6iZOX75m8ItRlw+cbhfRNmCtuOAS S4XfmndZGgPDDmAm2nTJmjtwzG8eTijckVf+L75lVOlxSxo5jne2YmHGKc+L7eMfdxoIRxHB3HO wSJecNdlmrgv9Mmv3GLC62vmeYKiaEGtvpoSHahPgWfnKsqVkB2dQ X-Received: by 2002:a17:907:6d08:b0:978:992e:efc4 with SMTP id sa8-20020a1709076d0800b00978992eefc4mr13140099ejc.8.1686725834387; Tue, 13 Jun 2023 23:57:14 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6647pKjxmwkbggXmrZyH6DE2kkCKmgiCWumES6Jw0ysdet6FowyTU9Uen7HqK2Ykb6KYEmOQ== X-Received: by 2002:a17:907:6d08:b0:978:992e:efc4 with SMTP id sa8-20020a1709076d0800b00978992eefc4mr13140091ejc.8.1686725833956; Tue, 13 Jun 2023 23:57:13 -0700 (PDT) Received: from localhost ([194.191.244.86]) by smtp.gmail.com with ESMTPSA id u20-20020a17090617d400b009745b0cb326sm7535152eje.109.2023.06.13.23.57.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Jun 2023 23:57:13 -0700 (PDT) From: Juerg Haefliger To: kernel-team@lists.ubuntu.com Subject: [SRU][L:raspi][PATCH] UBUNTU: [Config] raspi: Set I2C_CHARDEV=y Date: Wed, 14 Jun 2023 08:57:11 +0200 Message-Id: <20230614065711.207718-1-juerg.haefliger@canonical.com> X-Mailer: git-send-email 2.37.2 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/2019320 User space expects /dev/i2c-* device entries but in raspi 6.2 the i2c-dev driver is compiled as a module which is not auto-loaded, hence no device entries. The driver is small enough to not have a significant impact on kernel memory consumption for applications that don't need i2c, so compile it into the kernel (as in previous releases). Signed-off-by: Juerg Haefliger Acked-by: Andrei Gherzan Acked-by: Tim Gardner --- debian.raspi/config/annotations | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian.raspi/config/annotations b/debian.raspi/config/annotations index 3ec0b739073f..d234e87fa22e 100644 --- a/debian.raspi/config/annotations +++ b/debian.raspi/config/annotations @@ -91,7 +91,7 @@ CONFIG_HUGETLBFS policy<{'arm64': 'y', 'armhf': ' CONFIG_HWSPINLOCK policy<{'arm64': 'n', 'armhf': 'n'}> note<'Not supported on Pi'> CONFIG_I2C_BCM2708 policy<{'arm64': 'm', 'armhf': 'm'}> note<'Introduced by rpi-6.2.y'> CONFIG_I2C_BCM2708_BAUDRATE policy<{'arm64': '100000', 'armhf': '100000'}> note<'Introduced by rpi-6.2.y'> -CONFIG_I2C_CHARDEV policy<{'arm64': 'm', 'armhf': 'm'}> note<'Not essential on Pi'> +CONFIG_I2C_CHARDEV policy<{'arm64': 'y', 'armhf': 'y'}> note<'LP: #2019320 - i2c devices missing in lunar'> CONFIG_I2C_DESIGNWARE_PLATFORM policy<{'arm64': 'm', 'armhf': 'm'}> note<'Not essential on Pi'> CONFIG_I2C_EMEV2 policy<{'arm64': 'n', 'armhf': 'n'}> note<'Not supported on Pi armhf'> CONFIG_I2C_SLAVE policy<{'arm64': 'n', 'armhf': 'n'}> note<'Not desired on Pi'>