From patchwork Sun Oct 3 06:53:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: INAGAKI Hiroshi X-Patchwork-Id: 1535736 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=Ap/3qm+r; 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=R/Z6+eFo; 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 4HMZSg6Jf8z9t0k for ; Sun, 3 Oct 2021 17:58:41 +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=n7zeTbfkixtygtWrHTeAec1fb2LMJnio5d1rjE2zq98=; b=Ap/3qm+rMTRo51 yqJ+UwT+tY27K+qInZUh8fsO4vsXa9e3Fx+QZFBX4BUh7EdK1PxHfDhgurSYc/zWhTUfR9qeeWNoz FF8eKwYPFXtQvl8iwvu9w2Sjj8usqJXyn6qPNch6XbUa1pt+fYTxbPhzPzkkIJWUemYkRsxfU7CYO B0DZlCORpilwc6zSdijxmBqupJ2Idy6j4/QBKXp5pzw7wGxzX0qrtP9aOcnbwhwdCN4UrlkK8N2Hd JWXSreP/jigVwvC0GGUQUy66EJvb7hWd19p14kR4I87uFahFGGNjgsCficQgaFIrk+p5qBV7XMnNs e2RP1AaI3VF4otrSis2A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mWvOW-003IKa-QT; Sun, 03 Oct 2021 06:54:44 +0000 Received: from mail-pj1-x1032.google.com ([2607:f8b0:4864:20::1032]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mWvOE-003IHw-UP for openwrt-devel@lists.openwrt.org; Sun, 03 Oct 2021 06:54:28 +0000 Received: by mail-pj1-x1032.google.com with SMTP id qe4-20020a17090b4f8400b0019f663cfcd1so5956088pjb.1 for ; Sat, 02 Oct 2021 23:54:24 -0700 (PDT) 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=yAvgQu6EYDPPSnMxF6t/iJ7YgRph/hbfZTgDte5lg7w=; b=R/Z6+eFoexjFb0PClG07JZHrEt+dMRXz/tiHMJR7l75nE1En2dQE/mY17FuMhzBxVQ +o0dq8L6l1mJDqcwJYQbQ71y9scLB+tW5Kq3vaZkn6NyOoCtpEt6B/omuG/pi5Eo6a3o ap7UFU+BFLHbGpJvI9aB2stEs2bdvClIQUK5e3KIAw7WACJh01wSZxuV1cQsq8TA9lW0 hJmhyQ/FfZ6jx/Yx7Y79j9Gn7avtRJA/foN2ejZVsMbUEO/0hm0UD7kLKUG3UqlOc+U0 4zvb2YEcWh56bAIjoIYe3q9OH3mSir5jyWnwYLL7oBX6ukQNHW62ZYCHc6psmYNKKWxT Zltw== 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=yAvgQu6EYDPPSnMxF6t/iJ7YgRph/hbfZTgDte5lg7w=; b=6sx0tnZsxwZVONMVdr0W++ArGKImUAKZBiPLb/4nUwJPGNZLzfavf/LLZ6FBWk0p13 7silZJZOZUEVmUc1L7cNXd8iLLFpJaJERqYG81wsV+CzAVJxXcVwJ45LOG5IpCX1l7qN 8ql6STYVV5b5YYjxDTxaNNSF9dEJVp4qpyBvDw8MWrq6dM6+LoZyg68iyWpVaoJ3AQvh i95GkLVQEfzceA7cbENHYV77PWYrBlry+5VPW4jrfwThs8iJxXUV3UcPN3yYrH1IxM8E w4C3boe3sn2jJlOgcBhA/lVtoLdoKuUuoRH3Wh1GZwNLrDUJ53B1eVdcvF0WBDAwTmLf VYaQ== X-Gm-Message-State: AOAM532FdFZaVMtYFcL9o1LCJKoRywhb4XpfupmDgeGq6tpvt4R74jLf kLQ/mPPDhHZRkvV1HxLJcJfMo2B8L4o= X-Google-Smtp-Source: ABdhPJyyRzORWRCT75GnsjFZjlNfArgFAZmXlSiudskrc4C4KRgIoJpDk4o+gKMPEs0V6/ditblO9g== X-Received: by 2002:a17:902:d203:b0:13e:aceb:8d0c with SMTP id t3-20020a170902d20300b0013eaceb8d0cmr3189874ply.52.1633244063645; Sat, 02 Oct 2021 23:54:23 -0700 (PDT) Received: from localhost.localdomain ([240b:12:500:6500:2014:3ca1:3cc:a40f]) by smtp.gmail.com with ESMTPSA id e10sm635554pfd.174.2021.10.02.23.54.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Oct 2021 23:54:23 -0700 (PDT) From: INAGAKI Hiroshi To: openwrt-devel@lists.openwrt.org Cc: INAGAKI Hiroshi Subject: [PATCH 0/3] realtek: add support for Panasonic Switch-M8eG PN28080K Date: Sun, 3 Oct 2021 15:53:46 +0900 Message-Id: <20211003065350.1437-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-20211002_235427_023720_34EE6994 X-CRM114-Status: GOOD ( 12.13 ) 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]. 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 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.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:1032 listed in] [list.dnswl.org] -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]. 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 INAGAKI Hiroshi (3): realtek: enable pca953x driver for target realtek: enable gpio-restart driver in target realtek: add support for Panasonic Switch-M8eG PN28080K target/linux/realtek/config-5.10 | 4 + target/linux/realtek/config-5.4 | 4 + .../rtl8380_panasonic_m8eg-pn28080k.dts | 103 ++++++++ .../rtl83xx_panasonic_mxxeg-pn28xx0k.dtsi | 216 +++++++++++++++++ .../rtl8380_panasonic_m8eg-pn28080k.dts | 107 +++++++++ .../rtl83xx_panasonic_mxxeg-pn28xx0k.dtsi | 220 ++++++++++++++++++ target/linux/realtek/image/Makefile | 10 + 7 files changed, 664 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 create mode 100644 target/linux/realtek/dts-5.4/rtl8380_panasonic_m8eg-pn28080k.dts create mode 100644 target/linux/realtek/dts-5.4/rtl83xx_panasonic_mxxeg-pn28xx0k.dtsi