Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp447172ybh; Wed, 15 Jul 2020 06:21:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxuVsB/oVSlHJM4j+nLNGcyuk5TMK8pUse+L+Rxb2OrZmipzCkiayEVZLXDmUnmwLXMiK1X X-Received: by 2002:a17:906:6897:: with SMTP id n23mr8765427ejr.473.1594819284777; Wed, 15 Jul 2020 06:21:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594819284; cv=none; d=google.com; s=arc-20160816; b=umAKsZ3c4yPCAcx4m2ilD71uBKLHX8yTr8if/T0zjknikDHYoM8X4njPbP2ayCNXYT q07qz3mBM7CM6tXV4HhqH1qhno34JhTDWR7MhiNFwT8khV6KzdQtIsCoOhruTkYuZiL1 6z5AdbXXHv8yCDU03TSzJ9ozlKTyxsB/6W1TINKK/gC4onIH+nxh932Rs0IWYhygZUUc qfQky+JSeFJUBYYPkwA1XBpMUtxtp+WDg7LkIrxwrf4VlTG24VdBocaOze1+mWK0bg0g s922nV/gcmu5DWOx4PHZW1fRqrxeB7M44Gn4zaNafbEISGGttwtZ2VpOAerqvGv+9ffK r29w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=D+sFqN9sN9u8KSbVLbHvrEOC/vigJwrwrBwNSxJrlGE=; b=uEiZJ/QX6KS09wqKZRHLvB2G4AahkQzgvcbdnFxrYn8jLvSBTpdmsW14l7II8aDDQZ PTFq89ynR6L6LSuNTrNjvU8poX8Jr7H127Bd9TmJKmOiPj6w+UvrPScj01c0OYERm8fT 8j3jQ8LjJrt45btpu0mzNbh7Sz+1DhDMY+PAKONdqn1O4eTdyayuhpkG637jDQ+7zeBR qcZ+9LCPCIpgIzRPjFMo1/pFJUZ6n5qKvuBG/InNqZImrJq2eFeuwvfI56lF2uZQuYSc fM03al9pwF3H375aZ+MOhSVCOKExd9XQ7B5Qj3CzTnXgU7XWbYIkypI1I1rGrgtbi+ep f3EA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ptbeYJ8b; 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 x14si1111288ejb.713.2020.07.15.06.21.01; Wed, 15 Jul 2020 06:21:24 -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=20161025 header.b=ptbeYJ8b; 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 S1731618AbgGONSI (ORCPT + 99 others); Wed, 15 Jul 2020 09:18:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40316 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731606AbgGONSI (ORCPT ); Wed, 15 Jul 2020 09:18:08 -0400 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EB4D7C061755; Wed, 15 Jul 2020 06:18:07 -0700 (PDT) Received: by mail-wr1-x443.google.com with SMTP id z13so2680770wrw.5; Wed, 15 Jul 2020 06:18:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=D+sFqN9sN9u8KSbVLbHvrEOC/vigJwrwrBwNSxJrlGE=; b=ptbeYJ8b8Itx2JPr+Vi2ehiYl7BtnUh75cmsCXhRvBG13rjFc7fcmw9mv4MZWRBi0L APKBBVvwWQ8bYU47iMvmN7f3QcvVjInQnneAl0Bc89NEbpZKc8ZN6AhuYkx6W2H70w+h JwWaxsoG8IuIYot9M0s/Zyt5kBK22ZSyobYSALle3g6tBX0KL6rYjwUevAbZtN6cuxH+ g3XeeLRGk/4J3qSOS4w8RtcFawtWTQIbQvNTuqI66fCfG/0lQ3h83hA+4Q3Tbm0/3p9H DKDhF4wGKh8GSa1YDqSc8zgcMRfhXJzeZEeFwkMUUkEumRAaNYJgKLl11xW1EFs4LAQR zvKQ== 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=D+sFqN9sN9u8KSbVLbHvrEOC/vigJwrwrBwNSxJrlGE=; b=DQXvAXsHGWkvzhQrm5u9Wb1CcsNFDGpXL6/X3089FH8Imz7iV/PUtqJOXmY5EcOQva J2Gwo4/c3H3WH8eqGIuggYvJqCOeYdzWogll0TjH37AZoPMR2cWa7/uUs+Lp8Y2Nuf1J iDf+CmQgTGau4ltJSdqO5SXpb1KSQ/cB4QPJXhDZQFY/NLTLXX7g5cvokd8dkFTq4bLl A+h+sputP/oIJ+eLzxe+JzdmQMDnXQf6jUPVvQTW+Icj/tdNrOxGM2uC08/tUVSlIdos Aa0cDPIPR3SHJACDNNzswJ+WfUqB10C3wyr2JG9vAq4O/GnogT74Qm1+4qUcoFKWGwXY 0JUA== X-Gm-Message-State: AOAM530D8CmQlDJhkh6QDA3lwD5S8bzLmjp8kZ4tw5Z52O9i8uND+jiJ 13ukikxL7iNA6J3cy0Hyu8E= X-Received: by 2002:a5d:4bd2:: with SMTP id l18mr10996043wrt.119.1594819086573; Wed, 15 Jul 2020 06:18:06 -0700 (PDT) Received: from skynet.lan (67.red-88-15-120.dynamicip.rima-tde.net. [88.15.120.67]) by smtp.gmail.com with ESMTPSA id j145sm3623650wmj.7.2020.07.15.06.18.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2020 06:18:05 -0700 (PDT) From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= To: simon@arlott.org, jonas.gorski@gmail.com, kishon@ti.com, vkoul@kernel.org, robh+dt@kernel.org, f.fainelli@gmail.com, bcm-kernel-feedback-list@broadcom.com, p.zabel@pengutronix.de, krzk@kernel.org, gregkh@linuxfoundation.org, alcooperx@gmail.com, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= Subject: [PATCH v6 0/2] phy: bcm63xx-usbh: Add BCM63xx USBH driver Date: Wed, 15 Jul 2020 15:18:01 +0200 Message-Id: <20200715131803.1762064-1-noltari@gmail.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org v6: introduce changes suggested by Rob and Vinod: - Remove BMIPS_GENERIC default from kconfig. - Print registered message as debug. - Add another if case to device tree binding for SoCs with just 1 clock. - Ignored "additionalProperties: false" suggestion since it triggers a warning. This has been reported, but I haven't received any answer yet. v5: use devm_reset_control_get_exclusive. v4: fix dt-bindings documentation and improve device mode config. v3: introduce changes suggested by Florian: - Add support for device mode. v2: introduce changes suggested by Florian: - phy-cells changed to 1. - Drop OF dependency (use device_get_match_data). - Drop __initconst from variant tables. - Use devm_clk_get_optional. Álvaro Fernández Rojas (2): dt-bindings: phy: add bcm63xx-usbh bindings phy: bcm63xx-usbh: Add BCM63xx USBH driver .../bindings/phy/brcm,bcm63xx-usbh-phy.yaml | 97 ++++ drivers/phy/broadcom/Kconfig | 8 + drivers/phy/broadcom/Makefile | 1 + drivers/phy/broadcom/phy-bcm63xx-usbh.c | 457 ++++++++++++++++++ 4 files changed, 563 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/brcm,bcm63xx-usbh-phy.yaml create mode 100644 drivers/phy/broadcom/phy-bcm63xx-usbh.c -- 2.27.0