From patchwork Thu Sep 28 13:28:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 1840853 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=cF+xCWCH; 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=PMwD613N; 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 4RxDsD10Lpz1ynX for ; Thu, 28 Sep 2023 23:31:28 +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=960H3VCCKW4tJkNwJvUF3fsbMT7MG4TilybpUErRNCQ=; b=cF+xCWCHnN7hrM 5vmdzcuuBevRvYfmPPYGn4kWH07TVgKEOiVEDW/AEdhGYWEyxwvZgmeLNtlhFnAzv63o1E6yaOj1x EM3e5Ltq3CVm3nRyLqj4eY4NCvCp4+x9e9LMDsFsmTS3q6svWV2ow1JkCJbNX1g9Tx+R2GEQad26c lRLAdoNA4bsreWoQs6GZx+6nDZcWMZCxsfR4C9VnoyBV+6/FD/MYCWAwD7E+PMf+86YTj5OSXS98S WTDoECAl3HmUh0JK59yqOidHXVMffautwipoc6nFHPNpIqOccxJLFHlVs04NDc4RvyXyudXFT8uWn ni0SZWQ4LF+IEDE1zSLA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qlr4T-004Jdv-1l; Thu, 28 Sep 2023 13:28:49 +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 1qlr4I-004JUo-3D for openwrt-devel@lists.openwrt.org; Thu, 28 Sep 2023 13:28:42 +0000 Received: by mail-lj1-x232.google.com with SMTP id 38308e7fff4ca-2c038a1e2e6so202933261fa.2 for ; Thu, 28 Sep 2023 06:28:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1695907716; x=1696512516; 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=RRk2/8LY1GCx5yVBtGZ9vPbKi2IGW7GveaLjNyJC7RM=; b=PMwD613N+FokjXD97T+wswMnPax29UCFVBdmkwZ3hmsiAn8Rhf10fAunL5YpaXthPt xh8eQ1LPHEXMyAF8MWuI2qkM5cFoPqeG+dD7oukYegyeXIQTJi/VJrTlfqa8y3DrWnv5 OYEdyLC1JpxgoAsiwvN2M06OlQlMUM8UsavDJd44CR1XZS9Pykqbv8J7ay07S8OczcFM M0bRS/b/u0uMBu+K4x2bjAhj45qcvEU/OmoKU4umn1pHYYs5Oeqd7JS7cI8r3YHlzVlr /duetMRp3JJth1kzdVAYwYWmCDRzVMLqkZ0rWyjZ6SKylZ37Q1TNcJcIMUM3dBL/zrg3 ZLrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695907716; x=1696512516; 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=RRk2/8LY1GCx5yVBtGZ9vPbKi2IGW7GveaLjNyJC7RM=; b=UNLVWx6O5OBvplu0paHFAt78MlaRywTdzATBKhR0OL+VwoPo1kM5NR21FjVIVw48gh ehPHd/bqo8M3pacLZ24/AiMXXh4LvLnDUVQ7oxN9kbRNryrlcp9JQGW82a9xV7Wp9/dr Zfcklv1oPGbWAGxjC8Po7dd5ebzmitybrBRDDqy/qbJ++G6O5krAAYxFBfIaGkZmlPk5 gnTb/vuGJrgeiGCaZl7h6p50fGaBTPwClHgLP423TD5TV7nvSMrq9ZrTb2OW7HZCrVVz mIUS8X2RaF0IiG9XbpVN3gbeyEbS6uyv3o/ASxz7Twsc0MwgmWeYoykCKeWq7uJEFEKG 3j1w== X-Gm-Message-State: AOJu0YynB2fRbCCzkR+b+kv6dhgBBhYiYZfP0seLe8IRDPkZ2VLCZooh QKTgbdQV4ivBhVZ3f7xZ1JJqeA== X-Google-Smtp-Source: AGHT+IGP7oK5ZgV/uF4J1zAMzxu/2kE78AvKcChkqtMxwukKQzK0Y5kYlJIKH8R+HvE8RHQGSvZGqQ== X-Received: by 2002:a2e:3318:0:b0:2c0:300a:82ed with SMTP id d24-20020a2e3318000000b002c0300a82edmr1092370ljc.7.1695907716655; Thu, 28 Sep 2023 06:28:36 -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.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 06:28:36 -0700 (PDT) From: Linus Walleij Date: Thu, 28 Sep 2023 15:28:26 +0200 Subject: [PATCH v2 3/9] kernel: Add kmod-rtc-r7301 MIME-Version: 1.0 Message-Id: <20230928-ixp4xx-v2-3-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_090143_BAE322F4 X-CRM114-Status: UNSURE ( 8.61 ) 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 Epson R7301 RTC so we can load it as an optional module. Signed-off-by: Linus Walleij --- package/kernel/linux/modules/other.mk | 15 +++++++++++++++ 1 file changed, 15 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: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 Epson R7301 RTC so we can load it as an optional module. Signed-off-by: Linus Walleij --- package/kernel/linux/modules/other.mk | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index 187c0c56f0bb..8e7da1ca2c6f 100644 --- a/package/kernel/linux/modules/other.mk +++ b/package/kernel/linux/modules/other.mk @@ -728,6 +728,21 @@ endef $(eval $(call KernelPackage,rtc-pcf2127)) +define KernelPackage/rtc-r7301 + SUBMENU:=$(OTHER_MENU) + TITLE:=Epson RTC7301 support + DEFAULT:=m if ALL_KMODS && RTC_SUPPORT + KCONFIG:=CONFIG_RTC_DRV_R7301 \ + CONFIG_RTC_CLASS=y + FILES:=$(LINUX_DIR)/drivers/rtc/rtc-r7301.ko + AUTOLOAD:=$(call AutoLoad,50,rtc-r7301,1) +endef + +define KernelPackage/rtc-r7301/description + Kernel module for Epson RTC7301 RTC chip +endef + +$(eval $(call KernelPackage,rtc-r7301)) define KernelPackage/rtc-rs5c372a SUBMENU:=$(OTHER_MENU)