From patchwork Thu Apr 30 09:07:04 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 201313 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EB9A0C8300B for ; Thu, 30 Apr 2020 09:07:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C9A052082E for ; Thu, 30 Apr 2020 09:07:32 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=sartura-hr.20150623.gappssmtp.com header.i=@sartura-hr.20150623.gappssmtp.com header.b="DKVcEDzj" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726774AbgD3JHc (ORCPT ); Thu, 30 Apr 2020 05:07:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38604 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726546AbgD3JHb (ORCPT ); Thu, 30 Apr 2020 05:07:31 -0400 Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7F546C035495 for ; Thu, 30 Apr 2020 02:07:31 -0700 (PDT) Received: by mail-wr1-x444.google.com with SMTP id b11so5905395wrs.6 for ; Thu, 30 Apr 2020 02:07:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sartura-hr.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=j/VyKcY8b8oiztzP2PPDO3W5n2EDqYUH2AhxchTmUF0=; b=DKVcEDzjU1nHGvIrWrdAgdV4/v+yjAVqF5c8cBmF5F+crl2liyolOdgfbXFBHHAiEz Y1sWy2QKykqwgiAz+HCFf6Al7Snk+hfy5I7XqA4EosdGLE8iBZfCnqEV2glGdS3Z/pqE GVmrHz/ThDAeQXRiHvFwXI7F4RzU5prw35OoPzPwgx72bfHSDEa5Kxtkx2MUMdpg55zM +CZSHXvYkJWVWjyJwR7LGxzrXY2xtQdORNsiHa99hVudBoPV7vAXrgMnh6T7FHEJ2fg9 WpRZrC8eiY4d+uvSg2N/270+wNvWpg1sCBQosXP6WkPY/4/8Wzy6QtD1dHFBkxOKOBqY 5m4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=j/VyKcY8b8oiztzP2PPDO3W5n2EDqYUH2AhxchTmUF0=; b=GB2qvOrUDmewbSbyVuV9Kk54f/9vWOCoLDnZ36xFfOK0wS6K2V5tHfFx/w2VM+EJWw ezz5twXNeQT/wz4VNAQ2KbiuQQOOjQdvK1VJ1KB3WEXjYO78A4TVLY/cD+m3iU+GnBgk 6k9/PFuTNb9ZHngKNL86ADYO4oK+bjZ78VZgvgv4N3BIBWDnmcsksMOnPtIAL5c9RS08 b9Q0cm5IUhu4JeDHgVhp+Tt2UseFpe/Bi2zQSjFQiarYgGmcFF4eYJ7s6b53G4tZ+KhO OzyS3fqstDA7TXacEH4DKt586ikTLa2xGIl8NobGP7mgIRwb2ru1YZ+fZU2O/E4SqxaB Zb1g== X-Gm-Message-State: AGi0PuZUUK/lYVSIB3TaC0yyUXyt1/Jj/ZP8D3888VHEMGJbaBY7eXqO AnAckysxH+nw/hJXpgJ/fneczA== X-Google-Smtp-Source: APiQypKDQa9mMkqV6/Sh2mSfzjhiBnauazreah2B4CDelAiTWBWhB17cPSJG8Vkg/AeUPOhxUH5ULQ== X-Received: by 2002:adf:cc81:: with SMTP id p1mr2872294wrj.372.1588237650080; Thu, 30 Apr 2020 02:07:30 -0700 (PDT) Received: from localhost.localdomain ([2a0e:b107:830:0:47e5:c676:4796:5818]) by smtp.googlemail.com with ESMTPSA id t20sm10962025wmi.2.2020.04.30.02.07.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Apr 2020 02:07:29 -0700 (PDT) From: Robert Marko To: andrew@lunn.ch, f.fainelli@gmail.com, hkallweit1@gmail.com, linux@armlinux.org.uk, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, agross@kernel.org, bjorn.andersson@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Cc: Robert Marko Subject: [PATCH net-next v5 0/3] net: phy: mdio: add IPQ40xx MDIO support Date: Thu, 30 Apr 2020 11:07:04 +0200 Message-Id: <20200430090707.24810-1-robert.marko@sartura.hr> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This patch series provides support for the IPQ40xx built-in MDIO interface. Included are driver, devicetree bindings for it and devicetree node. Robert Marko (3): net: phy: mdio: add IPQ4019 MDIO driver dt-bindings: add Qualcomm IPQ4019 MDIO bindings ARM: dts: qcom: ipq4019: add MDIO node .../bindings/net/qcom,ipq4019-mdio.yaml | 61 +++++++ arch/arm/boot/dts/qcom-ipq4019.dtsi | 28 +++ drivers/net/phy/Kconfig | 7 + drivers/net/phy/Makefile | 1 + drivers/net/phy/mdio-ipq4019.c | 160 ++++++++++++++++++ 5 files changed, 257 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml create mode 100644 drivers/net/phy/mdio-ipq4019.c