From: Ante Knezic <ante.knezic@helmholz.de>
To: <netdev@vger.kernel.org>
Cc: <woojung.huh@microchip.com>, <andrew@lunn.ch>,
<f.fainelli@gmail.com>, <olteanv@gmail.com>,
<davem@davemloft.net>, <edumazet@google.com>, <kuba@kernel.org>,
<pabeni@redhat.com>, <robh+dt@kernel.org>,
<krzysztof.kozlowski+dt@linaro.org>, <conor+dt@kernel.org>,
<marex@denx.de>, <devicetree@vger.kernel.org>,
<linux-kernel@vger.kernel.org>, <UNGLinuxDriver@microchip.com>,
Ante Knezic <ante.knezic@helmholz.de>
Subject: [PATCH net-next v7 0/2] net: dsa: microchip: enable setting rmii reference
Date: Tue, 5 Dec 2023 11:03:37 +0100 [thread overview]
Message-ID: <cover.1701770394.git.ante.knezic@helmholz.de> (raw)
KSZ88X3 devices can select between internal and external RMII reference clock.
This patch series introduces new device tree property for setting reference
clock to internal.
---
V7:
- adapt dt schema as suggested by Rob Herring
V6:
- use dev->cpu_port and dsa_to_port() instead of parsing the device tree.
V5:
- move rmii-clk-internal to be a port device tree property.
V4:
- remove rmii_clk_internal from ksz_device, as its not needed any more
- move rmii clk config as well as ksz8795_cpu_interface_select to
ksz8_config_cpu_port
V3:
- move ksz_cfg from global switch config to port config as suggested by Vladimir
Oltean
- reverse patch order as suggested by Vladimir Oltean
- adapt dt schema as suggested by Conor Dooley
V2:
- don't rely on default register settings - enforce set/clear property as
suggested by Andrew Lunn
- enforce dt schema as suggested by Conor Dooley
Ante Knezic (2):
dt-bindings: net: microchip,ksz: document microchip,rmii-clk-internal
net: dsa: microchip: add property to select internal RMII reference
clock
.../devicetree/bindings/net/dsa/microchip,ksz.yaml | 34 +++++++++++++++++++++-
drivers/net/dsa/microchip/ksz8795.c | 29 ++++++++++++++----
drivers/net/dsa/microchip/ksz8795_reg.h | 3 ++
3 files changed, 59 insertions(+), 7 deletions(-)
--
2.11.0
next reply other threads:[~2023-12-05 10:03 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-05 10:03 Ante Knezic [this message]
2023-12-05 10:03 ` [PATCH net-next v7 1/2] dt-bindings: net: microchip,ksz: document microchip,rmii-clk-internal Ante Knezic
2023-12-06 14:23 ` Rob Herring
2023-12-05 10:03 ` [PATCH net-next v7 2/2] net: dsa: microchip: add property to select internal RMII reference clock Ante Knezic
2023-12-06 15:39 ` Andrew Lunn
2023-12-07 10:30 ` [PATCH net-next v7 0/2] net: dsa: microchip: enable setting rmii reference patchwork-bot+netdevbpf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1701770394.git.ante.knezic@helmholz.de \
--to=ante.knezic@helmholz.de \
--cc=UNGLinuxDriver@microchip.com \
--cc=andrew@lunn.ch \
--cc=conor+dt@kernel.org \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@google.com \
--cc=f.fainelli@gmail.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marex@denx.de \
--cc=netdev@vger.kernel.org \
--cc=olteanv@gmail.com \
--cc=pabeni@redhat.com \
--cc=robh+dt@kernel.org \
--cc=woojung.huh@microchip.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.