From patchwork Tue Nov 30 10:43:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: INAGAKI Hiroshi X-Patchwork-Id: 1561533 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.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=XrlXoTTg; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=aKvLh5au; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4J3Jmc0wZGz9t25 for ; Tue, 30 Nov 2021 21:46:23 +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:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=PJyHs0UbFbPbeSeIpVLVqUeaP6Qpjz2OuX6T+hjdnlo=; b=XrlXoTTg8LDPbP psAaYu9QG/Y36+Jg2ZkTJKIlmgFg47mKWzOefZ55FuNLwgR7cCd/WVHWkqHDVls+WPYjbK52y18Kn i7DY3acHIVegUuRbPnahXXpqR33mzgHMUf5/YhlyEQPWYAoZ6KJd1hTuITLUKcS77KTkeWs+3wnkc tnWXcDdK85xgruTvqPDajTuzMxrVEZQhPKsQFciq5/Ul2v1sX8w2IY3BlFvPxfiYdhjYo4GCZ/N/C 7yiT++bplrO2HTuvw3S3VPQ2aE9i6mdxeVCI2anDBGczLIVagNPZhaJHQ9bY1e2ELReHSSnhJklA6 snI51ru9XRJCe/4UTT2g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ms0c8-004hVd-Ao; Tue, 30 Nov 2021 10:43:56 +0000 Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ms0c4-004hTF-Jp for openwrt-devel@lists.openwrt.org; Tue, 30 Nov 2021 10:43:54 +0000 Received: by mail-pf1-x435.google.com with SMTP id p13so12516500pfw.2 for ; Tue, 30 Nov 2021 02:43:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=V6wApTFwhJM3lXoNJcIBudlNZ3dG77MAQI6Pwm8ANFA=; b=aKvLh5auleWWS6bYwzrqkEku2Urv3UTN0uoMK9VwnKgFUaSRmrrStwAAobOgkSfR7e kCY9+hZx8xflRlwYIUsCuTjBu+LNhCUVcdqKLAcC8QOTWOLbuUFzGRTJulQeedYmTGhB nnrSR3geB0Kv+dfHIy2z3r0yHfWSMM4ueCysaVQXiLckX6mCnmfiSDe9ZOFtPFvyOLoH 21cix4wz7mZmsnRGY1jGhNElATiKtm4apMaOIZ/r+5UDS1kqHXqnB89zuKMrW09KtT9A 9lVlWySsQdDgfYUtthcuo3ivjtyD7dKEklwQH0bcoZ+ulb2zyvUeRziq9LW47lFP6ULG J8sA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=V6wApTFwhJM3lXoNJcIBudlNZ3dG77MAQI6Pwm8ANFA=; b=rBdThRoUkXI5vwNEs7rVbNgIIkiFrJnap8sVNl6PD9aIe+f+YidSPszqLOqYuZ62Od 8fWi7vO9dSkqZG/tnLevqD1a7/0rKfo28tCDhYY3566KVzc5rK2AlBFu2BXYvPOQa5RT fYcjuVNJ89J65gDDuvBFSfgKtKFHf1vC1BPqXVzeI0LNvEyiJ8ISbU4KvPR+x8XjPrKw yN6y2uu0+u2m2K/hrxfdQvc+6aw3moqgZPsF4r6LlbdbUXx6E7XI1mnx7u21bDXR1qFc 66PT/MqEwn7solbXIIeUTYQQ9BRJTx9PWgwyfHsGqfMc/tO1US6c9VamRgDNWkV7kQ2s rNjA== X-Gm-Message-State: AOAM530eM+2VvrhccRfSwBQcBIMMYTXBoxqShjuzvgaDyKvRjruKOiJo WQxbMapKyJIFvnan4Bx6z/zrrRX8o88= X-Google-Smtp-Source: ABdhPJxs9wUn+tlxAezsJej/UtvrU0Jv5LO0FUcJHjwY7iO3bAztF1ievXoWzXVyPR1Md4KW+zGniw== X-Received: by 2002:a63:5f0e:: with SMTP id t14mr25088101pgb.107.1638269031119; Tue, 30 Nov 2021 02:43:51 -0800 (PST) Received: from localhost.localdomain ([240b:12:500:6500:248f:574b:e9e7:637]) by smtp.gmail.com with ESMTPSA id k16sm23438099pfu.183.2021.11.30.02.43.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Nov 2021 02:43:50 -0800 (PST) From: INAGAKI Hiroshi To: openwrt-devel@lists.openwrt.org Cc: sander@svanheule.net, hauke@hauke-m.de, INAGAKI Hiroshi Subject: [PATCH v2 0/2] realtek: add support for Panasonic Switch-M8eG PN28080K Date: Tue, 30 Nov 2021 19:43:08 +0900 Message-Id: <20211130104310.1484-1-musashino.open@gmail.com> X-Mailer: git-send-email 2.33.0.windows.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211130_024352_675940_60FDB2F3 X-CRM114-Status: GOOD ( 12.35 ) 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: This is a continuation of the PR in GitHub[1] and v1 patch series. This patch series adds support for Panasonic Switch-M8eG PN28080K. Panasonic Switch-M*eG PN28xx0K series has the following models: 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 [2607:f8b0:4864:20:0:0:0:435 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.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [musashino.open[at]gmail.com] -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: , Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org This is a continuation of the PR in GitHub[1] and v1 patch series. This patch series adds support for Panasonic Switch-M8eG PN28080K. Panasonic Switch-M*eG PN28xx0K series has the following models: - Switch-M8eG PN28080K (RTL8380M, 8 + 1 SFP) - 1-9 : RTL8380M (SoC) - Switch-M16eG PN28160K (RTL8382M?, 14 + 2 combo) - ? - Switch-M24eG PN28240K (RTL8382M, 22 + 2 combo) - 1-8 : RTL8218B - 9-16: RTL8382M (SoC) - 17-24: RTL8218FB - Switch-M48eG PN28480K (RTL8393M, 44 + 4 combo) - 1-40: RTL8218B - 41-48: RTL8218FB (Note: I don't have a Switch-M16eG PN28160K and the hardware specification is unknown) These models have the many common parts, so 3rd commit creates a dtsi for This series. Note: - "Switch-M*eG" is a model name and "PN28xx0K" is a model number. Each model has two model number, "PN28xx0" and "PN28xx0K". But the first one (PN28xx0) is a Broadcom SoC based hardware. - This series uses the VxWorks-based kernel in stock firmware. [1]: https://github.com/openwrt/openwrt/pull/4209 v1 -> v2: - drop 5.4 changes - add interrupt-related properties to the nodes of PCA9539 and PCA9555 - use "gpio-keys" instead of "gpio-keys-polled" - update/remove comments in mtd partitions - use "led-*" scheme and add color/function properties for each node of LEDs - drop unnecessary default values from gpio-restart node INAGAKI Hiroshi (2): realtek: enable pca953x driver for target realtek: add support for Panasonic Switch-M8eG PN28080K target/linux/realtek/config-5.10 | 3 + .../rtl8380_panasonic_m8eg-pn28080k.dts | 123 ++++++++++ .../rtl83xx_panasonic_mxxeg-pn28xx0k.dtsi | 229 ++++++++++++++++++ target/linux/realtek/image/Makefile | 10 + 4 files changed, 365 insertions(+) create mode 100644 target/linux/realtek/dts-5.10/rtl8380_panasonic_m8eg-pn28080k.dts create mode 100644 target/linux/realtek/dts-5.10/rtl83xx_panasonic_mxxeg-pn28xx0k.dtsi