Received: by 2002:ab2:69cc:0:b0:1fd:c486:4f03 with SMTP id n12csp282949lqp; Tue, 11 Jun 2024 04:41:22 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX1CZDWlg24a/9pvBtQayrhW0wmPXc/6yGhQ6Qw57JvvVFW0QGqtFseru65JlqAkBaJ+24CMe1wxd6z7NP6w1Qu+biFi1f01IHEbv7T5w== X-Google-Smtp-Source: AGHT+IE+PKHNrTzsxsu0tT+au01LL5WCNAebhQGrrCnapkx0PwyJPRqDUzFRbXr8aHmY2hmtwfQb X-Received: by 2002:a05:620a:404a:b0:795:5bd1:470c with SMTP id af79cd13be357-7955bd147d8mr794250185a.33.1718106082104; Tue, 11 Jun 2024 04:41:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718106082; cv=pass; d=google.com; s=arc-20160816; b=B+Xt0gXqgCy1EjKBuc8ogsr4p5C2lvUzRC0yy2P+qyf2dpuql+BHWMf7u0PebaVdu0 caLq8cOaj8gxww8lx3oGzzx9OG+J36ACxSGfofuhxOzWUwNbfyAUS3Z1UiF+D7WKtzXP /2kh9Sr957vHAEzvnDH0nUvG5lfyUhA8bQ2CPJdxly16p41JIS98C50xhuq+ZvF/TYOW ehgenRBo4wD0MGHroQXlkihPArEEh8XHxsEkiPyRB84dYaHN4KKVM+9QzVfhlCF8wuRZ TnuF1Vs8VpyG3hAH0DI0RgWOhep5cai2wBJ+0yreuMncHbjgiyr5t8uzbRDqqMU5GenZ lN7Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=OB4klANQkcjpC3eHXUSITUnz+P2eQkPInq90mx0mkPw=; fh=Lh+JMPZo65h8qJAnE5jHWvKtvWM25xS7kSTjy8t+qRE=; b=pbMKRKJPUqASScbh2qhASzHmXJ1ud2+Fk9/HEqJnS/rt8EVMt0zD/aFJxoUL/+a6xn jVXuNbHRBZCDMwkh4dCzr1y73swX0dITplKtoE2YgVllKltwxQf5RbC7K/Hm+1P/Z3n9 gMEDrSl3D0Q5rmUpccKxKHTe9U4GFgPCanbnwG65j1L3gbWkYjPadiSVEtN5bdJlOl2s x7IWCURWDzkcXqdpFV+GFiprE0Dgv02MCDIIfLEL86Ef7tjBe88rILMrlJIl5vn32v2E QnAaaIYgrHMICD4njQoBMtclUZg1wNWR0gG5XRZqbPPQElCp4QJYLM1+XTZV1GpExFeN EFPw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=dev.tdt.de); spf=pass (google.com: domain of linux-kernel+bounces-209778-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209778-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id af79cd13be357-795331d1943si1372253685a.282.2024.06.11.04.41.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 04:41:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-209778-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=dev.tdt.de); spf=pass (google.com: domain of linux-kernel+bounces-209778-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209778-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id CDA201C23A8D for ; Tue, 11 Jun 2024 11:41:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0791317B51F; Tue, 11 Jun 2024 11:40:50 +0000 (UTC) Received: from mxout70.expurgate.net (mxout70.expurgate.net [194.37.255.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 7CE59176222; Tue, 11 Jun 2024 11:40:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=194.37.255.70 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718106049; cv=none; b=uktYCnz65evCEUlBFVkrxvpS6myvDNZj01JTwA6wmrWaXJRoyj0AgVQpn1sJ2mkjn0ucPDPVoiT7YZWe+Igc1EiXzY3beyuF6W02/FacoGcx7lTPts87lkk99KgSpYgop9kKopt7ZRBzwO1zPfmBOKz40+45RTJCL9sIfqTcBrs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718106049; c=relaxed/simple; bh=F6aNZ82jzGo7qYFC7MrfPogbayEkCaiexBmsAELEUC0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=OY0RyJ/jKb9HbDZ+b7TU+/2HaR7Wzivx7aOtIHd9nu4dVGa58bboV8jFhVftQ4Rj/RYxU/2oVtNeWgbub40Yjnelznk49tNMooTe2+hlaxhHd3TFik0AeQsMAhCWDA0GU3o4PiE8GG9tCWvQUWdEilMOCgsVk6eaGtMHAd43nkk= 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=194.37.255.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 1sGzrp-00EEyR-2L; Tue, 11 Jun 2024 13:40:45 +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 1sGzro-0026E0-HT; Tue, 11 Jun 2024 13:40:44 +0200 Received: from securemail.tdt.de (localhost [127.0.0.1]) by securemail.tdt.de (Postfix) with ESMTP id 3F6CB240053; Tue, 11 Jun 2024 13:40:44 +0200 (CEST) Received: from mail.dev.tdt.de (unknown [10.2.4.42]) by securemail.tdt.de (Postfix) with ESMTP id C2EE7240050; Tue, 11 Jun 2024 13:40:43 +0200 (CEST) Received: from mschiller1.dev.tdt.de (unknown [10.2.3.20]) by mail.dev.tdt.de (Postfix) with ESMTPSA id 823DA29768; Tue, 11 Jun 2024 13:40:43 +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 v4 00/13] net: dsa: lantiq_gswip: code improvements Date: Tue, 11 Jun 2024 13:40:14 +0200 Message-ID: <20240611114027.3136405-1-ms@dev.tdt.de> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-purgate-ID: 151534::1718106045-2DD88746-4E7E3647/0/0 X-purgate: clean X-purgate-type: clean 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. =3D=3D=3D Changelog =3D=3D=3D From v3: - convert lantiq,gswip bindings to YAML schema - Add Hauke's acked-by as mentioned in the cover letter in v1 From v2: - removed unused variable max_ports in gswip_add_single_port_br() 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 =3D "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 (4): dt-bindings: net: dsa: lantiq,gswip: convert to YAML schema 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.yaml | 201 ++++++++++++++++++ .../bindings/net/dsa/lantiq-gswip.txt | 146 ------------- MAINTAINERS | 1 + drivers/net/dsa/lantiq_gswip.c | 123 +++++------ 4 files changed, 257 insertions(+), 214 deletions(-) create mode 100644 Documentation/devicetree/bindings/net/dsa/lantiq,gswi= p.yaml delete mode 100644 Documentation/devicetree/bindings/net/dsa/lantiq-gswi= p.txt --=20 2.39.2