Received: by 2002:ab2:69cc:0:b0:1fd:c486:4f03 with SMTP id n12csp363245lqp; Tue, 11 Jun 2024 06:55:39 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVDPYiKWO7NQ7QVfFmnlI7zNyDl007BAcHpPPdOQ0275Oy8xZu4wu04PS3j/LlMC3hEeX1RXDG8HUtrM/GO9amI6fchBw3GPFe6spmNlw== X-Google-Smtp-Source: AGHT+IF+JSMW6Z3wpQVDDo3pp6Yp+K8nrASECDwiLOyrhm3GLeByXLMTqOgSDxpPUwgDEaE4MW5t X-Received: by 2002:a05:6e02:1789:b0:375:a6cd:dff2 with SMTP id e9e14a558f8ab-375a6cdeb28mr69950425ab.5.1718114139708; Tue, 11 Jun 2024 06:55:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718114139; cv=pass; d=google.com; s=arc-20160816; b=GrRqN9y+fVqyF4lXFTJKgTijWRnnsM2cUqG/MsTjUsKqo+N88jhnsZysMHYkSTrafl tQG5s4UzGlTFr2ONGFYwlWqkAFQVhaGtXLGYRaYHqvM9EE+5Hot4d8IXvjchecZalFsM yEh21GiIL8/wzY64bAfp0GfC4x7RU5hXS6cn//UHP7/XK5DGX0/Q6WiKXznF8ETzblpQ H8DT8qS0DRgQHkMsiZVCVzpv6sA6RbeUo8k7VmkCyy7l0/7H9pEbEJYBmTDOFUhieh4B uIbBMgnLq8qrXf5WnSzqZOLNTz5PGa2PJKhmqW3adMl6w2Q8K2yhXouR31dPea36NxEv xmFw== 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=JMwKyEsNw5sWHrdVeIWEKUx8QhMXpYmuXg0jlPg3bAY=; fh=Lh+JMPZo65h8qJAnE5jHWvKtvWM25xS7kSTjy8t+qRE=; b=Tp9ut0vhCoygGvUacIgGc3v+i6zPeJJFrXtR2QpaPzNb6/7wz2P/KN1XblSv6V2rBz im7VfD0F1TcUdexPynW068PqrCIj7xxdAe6HNRN217oIy6y0cgDG0nmjfBUxjvD26jtp V1Rrtsv+3c5pL3FFR3nohxLKR10BXXGo6m9EN0LkbnUsHJk+XORQObdhBwugntSUpAaW H15sttc2rmBbbCTbH5LRIp1fbFSpeWt4zrohktRw598uqi8TnENn1aO5WrSYTf8iXqq6 T2MtdEZNK1evGxo23yRV7wyVoPP5f+fXWK+XZCQp8hzcC1eDaSI9Axkf4v7zvSpLlKxI cYxg==; 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-210008-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210008-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-6e32955e151si7397828a12.243.2024.06.11.06.55.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 06:55:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-210008-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=dev.tdt.de); spf=pass (google.com: domain of linux-kernel+bounces-210008-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210008-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id A50DC281B04 for ; Tue, 11 Jun 2024 13:55:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F10CF17D8BF; Tue, 11 Jun 2024 13:55:05 +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 9BB2217D88C; Tue, 11 Jun 2024 13:55:03 +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=1718114105; cv=none; b=rJhEo42n3SBEDF0vLty1C/9E5w4oRWZgX8/JZJpHhJhra9KYafoR4oJYSUTerB83U1ne/CP4eYpd4Uqr+DaNNq79/5NLSooVD7rPjenqDepR4I3fLPh/3f5C22hfkdXcoDVfs6lvWS2sz3gLIWRsmS24m7xx6PUuK3EykKuP6aA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718114105; c=relaxed/simple; bh=Av0dpoUzWyynrRVpAMK6vpVeWyX93XmNPwzW6KRvJXI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=WFJ8eltY4VDK1JUDmDu9v2YMzJl7qB4TSbOONJ3Pud07ir19oZrfBXK8DqAzzxUV2tUvVQJ7Ump3PCyI0ALiRTDhrMoFBbCL1zJXtNmCZ47WZ0730pFm0pO1H64jwiC45jz2+IXKcTANHbkfqs7AJsCrPIrr0jDHJjxPKe+8moY= 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 1sH1xl-00ABDO-F4; Tue, 11 Jun 2024 15:55:01 +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 1sH1xk-003Z33-SR; Tue, 11 Jun 2024 15:55:00 +0200 Received: from securemail.tdt.de (localhost [127.0.0.1]) by securemail.tdt.de (Postfix) with ESMTP id 5E244240053; Tue, 11 Jun 2024 15:55:00 +0200 (CEST) Received: from mail.dev.tdt.de (unknown [10.2.4.42]) by securemail.tdt.de (Postfix) with ESMTP id DA0B8240050; Tue, 11 Jun 2024 15:54:59 +0200 (CEST) Received: from mschiller1.dev.tdt.de (unknown [10.2.3.20]) by mail.dev.tdt.de (Postfix) with ESMTPSA id 81C76376FA; Tue, 11 Jun 2024 15:54:59 +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 v5 00/12] net: dsa: lantiq_gswip: code improvements Date: Tue, 11 Jun 2024 15:54:22 +0200 Message-ID: <20240611135434.3180973-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::1718114101-824B2642-E1F57A56/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 v4: - merge dt-bindings patches to satisfy 'make dt_bindings_check' and add some improvements suggested by Rob Herring 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 (8): 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 | 202 ++++++++++++++++++ .../bindings/net/dsa/lantiq-gswip.txt | 146 ------------- MAINTAINERS | 1 + drivers/net/dsa/lantiq_gswip.c | 123 +++++------ 4 files changed, 258 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