From patchwork Mon Jun 10 11:53:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Schiller X-Patchwork-Id: 13691928 Received: from mxout70.expurgate.net (mxout70.expurgate.net [91.198.224.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 88E0F1DDCE; Mon, 10 Jun 2024 11:54:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.198.224.70 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718020476; cv=none; b=pQEQxgkrxPYw1gRmtJlEOirvPRSPvS/FSn92Xyxu56XZmNMrOSzEy4ODMRhzk2bHICPh66H0LV8ORbwiP0pepf3PeC7azbv+mx9j6ioQcnTuLSjhK0JykvNCh5RAvFwWdMEALAXB7OLbdJNsEUw9sQ0utknw+TlP2QUEZOxrQ8Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718020476; c=relaxed/simple; bh=ii//5giU506RE93NBEGxjUseuqlraWci/XIXxYN/dVI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=IY9XoZdPgcO3qMx0Ln7xnXNuNgkBgcZjLC1hMZKrH4S+wZitQzLFpi00lYYUoxTSuGw570uIMNs3sL23UDZI/r0Lh4fZvb3iJzJOZcJO0Tei8A3yzKi4lhNQXrHaOGTdDKFn2uW7Ml9bzX1fnF0Nh6f+4r/3BSLbMjHguubxYlE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=dev.tdt.de; spf=pass smtp.mailfrom=dev.tdt.de; arc=none smtp.client-ip=91.198.224.70 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=dev.tdt.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=dev.tdt.de Received: from [127.0.0.1] (helo=localhost) by relay.expurgate.net with smtp (Exim 4.92) (envelope-from ) id 1sGdbV-00BW2y-0x; Mon, 10 Jun 2024 13:54:25 +0200 Received: from [195.243.126.94] (helo=securemail.tdt.de) by relay.expurgate.net with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sGdbU-00BW2l-F0; Mon, 10 Jun 2024 13:54:24 +0200 Received: from securemail.tdt.de (localhost [127.0.0.1]) by securemail.tdt.de (Postfix) with ESMTP id 3161D240053; Mon, 10 Jun 2024 13:54:24 +0200 (CEST) Received: from mail.dev.tdt.de (unknown [10.2.4.42]) by securemail.tdt.de (Postfix) with ESMTP id B4CA4240050; Mon, 10 Jun 2024 13:54:23 +0200 (CEST) Received: from mschiller1.dev.tdt.de (unknown [10.2.3.20]) by mail.dev.tdt.de (Postfix) with ESMTPSA id 6C6C226128; Mon, 10 Jun 2024 13:54:23 +0200 (CEST) From: Martin Schiller To: martin.blumenstingl@googlemail.com, hauke@hauke-m.de, andrew@lunn.ch, f.fainelli@gmail.com, olteanv@gmail.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ms@dev.tdt.de Subject: [PATCH net-next v2 00/12] net: dsa: lantiq_gswip: code improvements Date: Mon, 10 Jun 2024 13:53:48 +0200 Message-ID: <20240610115400.2759500-1-ms@dev.tdt.de> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-purgate: clean X-purgate-type: clean X-purgate-ID: 151534::1718020464-AA6BDD95-18A325E5/0/0 X-Patchwork-Delegate: kuba@kernel.org This patchset for the lantiq_gswip driver is a collection of minor fixes and coding improvements by Martin Blumenstingl without any real changes in the actual functionality. === Changelog === From v1: - signal that we only update example code in dt-bindings - don't use the word 'fix' if not appropriate - new patch: add terminating '\n' where missing - renamed MAC_BRIDGE macros to make it obvious which register field is used - new patch: remove dead code from gswip_add_single_port_br() - updated error message if FID not found in gswip_port_fdb() Martin Blumenstingl (9): dt-bindings: net: dsa: lantiq_gswip: Add missing CPU port phy-mode and fixed-link to example net: dsa: lantiq_gswip: Only allow phy-mode = "internal" on the CPU port net: dsa: lantiq_gswip: Use dev_err_probe where appropriate net: dsa: lantiq_gswip: Don't manually call gswip_port_enable() net: dsa: lantiq_gswip: Use dsa_is_cpu_port() in gswip_port_change_mtu() net: dsa: lantiq_gswip: Change literal 6 to ETH_ALEN net: dsa: lantiq_gswip: Consistently use macros for the mac bridge table net: dsa: lantiq_gswip: Update comments in gswip_port_vlan_filtering() net: dsa: lantiq_gswip: Improve error message in gswip_port_fdb() Martin Schiller (3): net: dsa: lantiq_gswip: add terminating \n where missing net: dsa: lantiq_gswip: do also enable or disable cpu port net: dsa: lantiq_gswip: Remove dead code from gswip_add_single_port_br() .../bindings/net/dsa/lantiq-gswip.txt | 6 + drivers/net/dsa/lantiq_gswip.c | 122 ++++++++---------- 2 files changed, 61 insertions(+), 67 deletions(-)