From patchwork Thu Sep 28 13:28:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 1840862 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=fbB4r8tT; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=zxrwyb3I; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4RxDsb4ms4z1ynX for ; Thu, 28 Sep 2023 23:31:47 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:To:In-Reply-To:References:Message-Id: MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Xo0M1XgI+maKqNp7PohtpIM/0f9w40Nf3ebwxFqG8gI=; b=fbB4r8tTC5Vu/n 4AT2FQGTjIpGS0enITGNLIQJzy8NW6b0KFQlMUzLwDrL7V3LvTOQ/8E4rxkYNqacOt9CQS+efwZu9 As365JYhCStJxl+CWTUm9DC1j3HAdBscwNvngSnsIy20o+JwyUz4Z4nOd55lCudMq074uaJLmrYRi FW6EttZ0JeVMjtsu41ggp6ViKB9c33YGVjgf4yxdZNSjy0AsIVCWaY0csvCpeZWgHJx4gTJIsQonv /VIoc6+Sje2yz/V+yqRCTi6ERk54zaF/Epw97XmPwdFuXm+3OqeIWd7LJpmHaKasUyWVgcJFN2Eo+ OZkhb4r4P2ILXL6+7YJQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qlr4R-004Jcp-2i; Thu, 28 Sep 2023 13:28:47 +0000 Received: from mail-lj1-x236.google.com ([2a00:1450:4864:20::236]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qlr4I-004JUm-3D for openwrt-devel@lists.openwrt.org; Thu, 28 Sep 2023 13:28:42 +0000 Received: by mail-lj1-x236.google.com with SMTP id 38308e7fff4ca-2c00df105f8so214376811fa.2 for ; Thu, 28 Sep 2023 06:28:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1695907715; x=1696512515; darn=lists.openwrt.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=JsdaxkE4XhXvxQ1PBVdNj8aNpUIgp4bKpDIqN1bAzYk=; b=zxrwyb3Iks8uOBgVNag7Id3ljOWLf8DkpYHxo9YQOp132fL3MVhxG2eP5CDeOHYfBA EZqIX54ScrOzSvGmZyP41TrGz6sMdOmtAlSJXvGxbxqyg7UQrdxap3W0/lhIgpsdqUVP hXOMIjEdP9F/DqrUExQhevEwAEkGGmDoUyCqoqlYAznVs+MLHCv1zUDYQCn+QJqaXAPb rXWLB1PSckVrVmuYnO3N5+GuwNfvCahzC5mChIQy9vjh3AL5kfrjF99uvgYq5bJQAmRp A+EIw/Jp0LuPUy588d9MnlO4mAfuQ88SSOIrC99g9MpDiP05T8CZVKnyfPLIEMkIyvWS Z2Mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695907715; x=1696512515; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=JsdaxkE4XhXvxQ1PBVdNj8aNpUIgp4bKpDIqN1bAzYk=; b=w4Y4Nw/nW//AdV/mG0PjlwAyVxoHxaEQf0Fw9vsTt4vCml/Y5jR2/zZL9FiHfabvsO veEVIq8zOPsa6mPEFBW2l1757tPjbzvLN3CQjFeSGqZudRvA2H18gBEnnb1Ae07J8ZAu oeyj/7ItMwfNxlmpLlAkjME7TZZhSOlvQYYecKPLMXs3GH7xcufC+U+z/WE6xT3IVKZy /ICh2dRUbKk4l5kJTaSHS8GgJJDUx0NEWJ4dnKvxtAjcTlBqOCyxNQYZk/WbAQdc6FCw y8tbX3IeNBcfSZ4HpFaJPtRyTIVuZa+nG4MZc9jRfZZUVjXyTHIvR1nZUcF5seGNphvm zLBw== X-Gm-Message-State: AOJu0YwthPg1++KJiw6ubBu29CaaJmPHV3Q5U17+BbwDmmLBDuzDCBxe st89m4nEsJfiUgF8K7Bc3q9+Rg== X-Google-Smtp-Source: AGHT+IFU/AlKjJjowHfMFwgkISQqUSDabcgRJuraQO4MKnyqNjJVSeN7NQH3FJcALlBOvr4vRRhRfA== X-Received: by 2002:a2e:9bca:0:b0:2c1:8841:c391 with SMTP id w10-20020a2e9bca000000b002c18841c391mr1177093ljj.52.1695907715659; Thu, 28 Sep 2023 06:28:35 -0700 (PDT) Received: from [127.0.1.1] ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id c13-20020a05651c014d00b002c01ecf6c01sm3574690ljd.51.2023.09.28.06.28.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 06:28:35 -0700 (PDT) From: Linus Walleij Date: Thu, 28 Sep 2023 15:28:25 +0200 Subject: [PATCH v2 2/9] kernel: Add kmod-rtc-x1205 MIME-Version: 1.0 Message-Id: <20230928-ixp4xx-v2-2-ce011eef8239@linaro.org> References: <20230928-ixp4xx-v2-0-ce011eef8239@linaro.org> In-Reply-To: <20230928-ixp4xx-v2-0-ce011eef8239@linaro.org> To: Imre Kaloz , Krzysztof Halasa , Howard Harte , openwrt-devel@lists.openwrt.org X-Mailer: b4 0.12.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230928_062839_083050_E98CDB8B X-CRM114-Status: UNSURE ( 8.77 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: To support the IXP42x platforms we need a kernel module for the X1205 RTC so we can load it as an optional module. Signed-off-by: Linus Walleij --- package/kernel/linux/modules/other.mk | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:236 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Hauke Mehrtens , Linus Walleij , Raylynn Knight Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org To support the IXP42x platforms we need a kernel module for the X1205 RTC so we can load it as an optional module. Signed-off-by: Linus Walleij --- package/kernel/linux/modules/other.mk | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index ac26c2a15037..187c0c56f0bb 100644 --- a/package/kernel/linux/modules/other.mk +++ b/package/kernel/linux/modules/other.mk @@ -780,6 +780,22 @@ endef $(eval $(call KernelPackage,rtc-s35390a)) +define KernelPackage/rtc-x1205 + SUBMENU:=$(OTHER_MENU) + TITLE:=Xicor Intersil X1205 + DEFAULT:=m if ALL_KMODS && RTC_SUPPORT + DEPENDS:=+kmod-i2c-core + KCONFIG:=CONFIG_RTC_DRV_X1205 \ + CONFIG_RTC_CLASS=y + FILES:=$(LINUX_DIR)/drivers/rtc/rtc-x1205.ko + AUTOLOAD:=$(call AutoLoad,50,rtc-x1205,1) +endef + +define KernelPackage/rtc-x1205/description + Kernel module for Xicor Intersil X1205 I2C RTC chip +endef + +$(eval $(call KernelPackage,rtc-x1205)) define KernelPackage/mtdtests SUBMENU:=$(OTHER_MENU)