Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp51784pxb; Fri, 17 Sep 2021 18:30:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyN+yEP1udiatKRhp3mqgXGAT0BFXMSibrqjOLEnIJCxXpFM8vC5JYEVaVfbF9uKp27+qMr X-Received: by 2002:a02:242d:: with SMTP id f45mr11100124jaa.135.1631928635032; Fri, 17 Sep 2021 18:30:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631928635; cv=none; d=google.com; s=arc-20160816; b=Sy22T7VWKQeZs9+OsCRLRBLtgrwly3glJfEt5MO5Vof74JY+hyCmgTDnOcK3PpLE4B 0VqpS0tInw+l++QWNph9MdLimwJFltoH7NIG2zoMoMoee2Afbf/TNQO8K6cq9k/qI2xo UNPOTLDbuBjkTXC+CXQHE9Iat+BOGmsIHtbOZV3fjvZu7JZ8hO9qWvdoxODzw+ABwbsx 8UeSXfeqavr5b4GtL3lWr0/CJhEN6NFwbHZtSMu9C5hJ9+pm9zWHdUhSOWLuuJKc7Uy+ QENaAPjDcnXRnJ6aup/JzozCPIIzLh9aNrnDptYTbJgQ4FAipi0eusF7j2/MiExPnUEE EhXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=DS0xP8xYymZ1tcfPZLEiyP7J8b0RQSNLGg9up/wgFeY=; b=IeDZcS3nLZOTxUjCsq2GESC4mYDYBd7KQr8koVDAv4xXhDXEp5m+7px/bhB4TtAr/e pN8G3kw9E1AdXJdUsv/DObBIbb7q0PwzZlf33J738c0JFBrmp8aQI/vIYhHlG7fB1Lxv dMkS7NZXn7DYE48ZBT6zU6w/4i3t0fxQuJqvGSW7Re6y7ll/wYHfvkCJXHwkpuSbKDU3 U9STo3C2eRCwbYO2BHBF+hcYXyoay+HM5JKKlbmO/wShLKVyH3PDPyNNIL9QXqpsVy2L UZSRyfm7dnvNz0HNHVkmdMByreQPcJyzxG3beOkClfDruO8SmUfbXp2tLCjdyncg7tqa a4YA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=SrbN5eLl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h11si7449663ior.13.2021.09.17.18.30.22; Fri, 17 Sep 2021 18:30:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=SrbN5eLl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245383AbhIQRXe (ORCPT + 99 others); Fri, 17 Sep 2021 13:23:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48714 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240958AbhIQRXd (ORCPT ); Fri, 17 Sep 2021 13:23:33 -0400 Received: from mail-qk1-x72b.google.com (mail-qk1-x72b.google.com [IPv6:2607:f8b0:4864:20::72b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70913C061574; Fri, 17 Sep 2021 10:22:11 -0700 (PDT) Received: by mail-qk1-x72b.google.com with SMTP id f22so19681524qkm.5; Fri, 17 Sep 2021 10:22:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=DS0xP8xYymZ1tcfPZLEiyP7J8b0RQSNLGg9up/wgFeY=; b=SrbN5eLlNztZuh4yw27f1hAtJyF2l5jW3njLt0N93P3yN52pPJ6c1OMJJBdGzHut5o uKgG9JZ/LkoyyMwoEy0EJZ5236Afb0LcYeJIFL2BWNtJVwPMOxo+ibeTFjzHRQmKWrNy XpPirElPHqMP+6Flz7oNu3Z/VpIpji/dXZ/91r5HwgMcpyJmKg70mR77eP3LwsbsWtGm 2QvKqDvlXUNEAJXX74skgnXSSkq+yc27i5vBx2q6rs2wM87wCfadiWk6QL0dvsVSAO/d /fe/GRlxVpB1MWoe82uPGLzpS9lP7HKHKs8UM9rXGtThEWWGQHE40rPy9T5ABlQ0C2kM xv7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=DS0xP8xYymZ1tcfPZLEiyP7J8b0RQSNLGg9up/wgFeY=; b=T22za9keax7qsz+uzGyrEhoztgFgy/yjcFFeC8jXMCgywc9I6D/y8yq8uyYG4wnfe7 Uho2TS9H+8TGOJmeud4Rb8lmt2qQBfwtzEXXMIx7fWBb0+gtKLz0niQlLOrTYLJJfLAy okJ4ydji2GDNo7c5eluRqEGQCIrd0pm+bI5pVKNWfl58uNLQqHqNqHRWrU6Hi60QANfo j5D7mOZgKDC/ElqZG2EJFNbZjU2mbTPvHEO164G4jZM+dnPN1wAFSgoQAMtsKNYRhNlY DM1QcgbvU0qY8xjc/DB67ggmifLuHo/SooBb3jG8RpMonMgFcQRJ5iOwy8sM+XHkf3a3 kKpg== X-Gm-Message-State: AOAM530on/lIEUnFHCD9HX1rtdOekl+bvKtbmGA1gWkxeku+ek0hFSry mTEDRbEfWXY92EP76VezsOPZLr15+SOijd3eaFc= X-Received: by 2002:a25:af8b:: with SMTP id g11mr16184618ybh.280.1631899330450; Fri, 17 Sep 2021 10:22:10 -0700 (PDT) MIME-Version: 1.0 References: <20210826123844.8464-1-yifeng.zhao@rock-chips.com> In-Reply-To: <20210826123844.8464-1-yifeng.zhao@rock-chips.com> From: Peter Geis Date: Fri, 17 Sep 2021 13:21:58 -0400 Message-ID: Subject: Re: [PATCH v1 0/3] To: Yifeng Zhao Cc: Heiko Stuebner , Rob Herring , devicetree , Vinod Koul , Michael Riesch , "open list:ARM/Rockchip SoC..." , arm-mail-list , Linux Kernel Mailing List , linux-phy@lists.infradead.org, Kishon Vijay Abraham I , p.zabel@pengutronix.de Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 26, 2021 at 8:42 AM Yifeng Zhao wrote: > > Add Naneng combo PHY support for RK3568 > > This phy can be used as pcie-phy, usb3-phy, sata-phy or sgmii-phy. Good Afternoon, Some feedback on this driver, for when you resend it to the mailing list. I'm sending this against the cover letter since the mailing list doesn't have the actual driver. The driver doesn't work out of the box, you renamed the clocks but missed one use point. There's a lot of "magic numbers" that need to be defined. Configuration could use some cleanup. A parallel problem, if the PCIe phy fails to probe (because of the aforementioned clock issue) the PCIe controller hard locks the board during probe. I look forward to version two. Very Respectfully, Peter Geis > > > > Yifeng Zhao (3): > dt-bindings: phy: rockchip: Add Naneng combo PHY bindings > phy/rockchip: add naneng combo phy for RK3568 > arm64: dts: rockchip: add naneng combo phy nodes for rk3568 > > .../phy/phy-rockchip-naneng-combphy.yaml | 100 +++ > arch/arm64/boot/dts/rockchip/rk356x.dtsi | 68 ++ > drivers/phy/rockchip/Kconfig | 8 + > drivers/phy/rockchip/Makefile | 1 + > .../rockchip/phy-rockchip-naneng-combphy.c | 646 ++++++++++++++++++ > 5 files changed, 823 insertions(+) > create mode 100644 Documentation/devicetree/bindings/phy/phy-rockchip-naneng-combphy.yaml > create mode 100644 drivers/phy/rockchip/phy-rockchip-naneng-combphy.c > > -- > 2.17.1 > > > > > _______________________________________________ > Linux-rockchip mailing list > Linux-rockchip@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-rockchip