From patchwork Thu Oct 12 08:42:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 1847314 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=VIj8N9ip; 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=FrdzCbkn; 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 4S5jqp6mQ2z26jT for ; Thu, 12 Oct 2023 19:44:38 +1100 (AEDT) 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=64WNMdDhGEmat4BcaPDgJuUQelUFXMWM7FvV8DXyOT8=; b=VIj8N9ip0E4MEW 6Em3SA6E020G8Xa14Z6xNK8OZoGbWrUiLmp0zLXzy8709cx/L6MahtUOOTVH0YN5xGWsWSg6mCSBL 5njZperz+Bb26C66Ml2QpDXlD9z9y/S7euqZ+1g2HFWD8A+9YJswsct4sUqPf9GzZJqvwPcMjm0R1 Q+Jr8IwrsEhEPnvN8LmljWG1ICLNnZjQE1fjPHkdclNwldVTh346QCtz+/5Kv5aEYP3nN/K+KsP9y bi3NtADfDDmzfQiV6z+jopDQ3WrgXpCFMMARDGcoY76AZR+pJpQvzAFcs+Y3vFS5ZhL5ZEXgHVH1F ZaPpU0Aif29u5sxrLMdw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qqrHG-000E7x-12; Thu, 12 Oct 2023 08:42:42 +0000 Received: from mail-lj1-x232.google.com ([2a00:1450:4864:20::232]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qqrH0-000DvC-11 for openwrt-devel@lists.openwrt.org; Thu, 12 Oct 2023 08:42:28 +0000 Received: by mail-lj1-x232.google.com with SMTP id 38308e7fff4ca-2c17de836fbso9129771fa.1 for ; Thu, 12 Oct 2023 01:42:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697100142; x=1697704942; 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=03caJXjSufDSpp1LCzfkdaxOovD/mkaKWVxj7ep2LYM=; b=FrdzCbkn1/JjYgF97SFo+eCpboM06Ej041GYZUmFC+Jmf4PAvbrgihqb1xs6QFejIt x2236b0W/dY5LgwVr78FegKaUGym/vd0OJ+GTbZLzLuPdmqdbNLQUQsbwXZnnJNYNJq9 V9UcnRNSKD5Z57S/Ex3/wnXntmI4ZUHLUUJWqvYdkyCASR1oNReqN137XXmWQjcHTmgC BAJByhKQALXHAj5H5asq5Kx/pupexYaW0j4lbffPTQ+3iv53RtZFjgsxKher0HA86inr 8li6b2D7tn9D1wtDbG/KsMoOifwESSGtOI6KXZPOGD5UrkMVmagGr/mjBkFd79jW6F2e X/dQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697100142; x=1697704942; 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=03caJXjSufDSpp1LCzfkdaxOovD/mkaKWVxj7ep2LYM=; b=GahTLgXjSkElVSd6UKTUSzbgpebR5WgUyGZ2WvVchFxh+rm3agu6/2DDhHVm9BTdNb UQMw+OqJVX6XZgH9eZc3JDmdfWB/7xEuhvFL7i70r61M0PlxeAtPB2e55wfjTecOuFmZ cu+SN6WhbEBoAvnV2oOi9FkSNtXqdXpdwVGdL7gsnmpat5PQq7rrbUIf5yGBROmuidhI Jyzixn2Ayau0E0/t0ACtNTRkwpONaquP+hdUF8r947jb4QXBRM6R6IhfD0oEOV5NZgmH QIaDzZgK/YobnRPslVmm7zvLRvk0iC0CH80zh0kgA1Qhw1Tz0/Xns/Dj2P/IjnX5Jvt2 w3iA== X-Gm-Message-State: AOJu0YzjTfmWWLcsFWREseP7KgQmd/sDnXU3BFQw3QFBWYjVPmwg1iI/ 0FogJchuTNEhr5q7xrZ44nru5qnJcyTukCXQaaY= X-Google-Smtp-Source: AGHT+IGyiE13u+90goadrYpSlfhtrNhC/1danmYF4SNIUpLQpIsVvq/soNja0FMCX5smGZ5yokohjw== X-Received: by 2002:a05:6512:220b:b0:500:a66b:b189 with SMTP id h11-20020a056512220b00b00500a66bb189mr24720213lfu.51.1697100141922; Thu, 12 Oct 2023 01:42:21 -0700 (PDT) Received: from [127.0.1.1] ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id o9-20020a05651238a900b00501c8959f6asm2705043lft.98.2023.10.12.01.42.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 01:42:21 -0700 (PDT) From: Linus Walleij Date: Thu, 12 Oct 2023 10:42:18 +0200 Subject: [PATCH v3 03/10] kernel: Add kmod-rtc-x1205 MIME-Version: 1.0 Message-Id: <20231012-ixp4xx-v3-3-e09c74712c0b@linaro.org> References: <20231012-ixp4xx-v3-0-e09c74712c0b@linaro.org> In-Reply-To: <20231012-ixp4xx-v3-0-e09c74712c0b@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-20231012_014226_448011_D966FCCF X-CRM114-Status: UNSURE ( 8.58 ) 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 --- ChangeLog v1->v3: - Use autoprobe, exclude from preinit. --- package/kernel/linux/modules/other.mk | 16 ++++++++++++++++ 1 file changed, 16 [...] 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:232 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 Reviewed-by: Robert Marko --- ChangeLog v1->v3: - Use autoprobe, exclude from preinit. --- 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..2cd01d84d516 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 AutoProbe,rtc-x1205) +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)