Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3035657pxb; Mon, 16 Nov 2020 04:13:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJz2ZWog8dNeuhXAto9BTrPaWpw8ueGmAXIgYPMhUPafqdXcKaOHq/9gmdhaxLvOwuOAeukg X-Received: by 2002:a17:906:1e45:: with SMTP id i5mr13822689ejj.203.1605528795135; Mon, 16 Nov 2020 04:13:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605528795; cv=none; d=google.com; s=arc-20160816; b=fZAn6ylD0SrfUvzAYH4jNF49w6busfABSvb9+z1Bnp9RF86gd8AL9sMu04rmJ5kvMd a3b9XClK2PUQP1TUsOWIRUL9MqB6gq1Vfrh+C7ZOjoVeozRpsZ/+N1n2c4ikhsiBg0qu 5NSHV0CRM1+H3sYNsGi58d71wGe5wZMHC631oZWY3UOsfSPUgwoKkwfLoW9+lVsekMUX Eta/a/xdF9Gow0bjcC8nwkDlSBCzWbvJ701uwS/9ukOiHhuMwU5GsAcWAuinY8KEzsEN j0p1BlWV75tuHEp3HoLj2+9GnR0P8rIxiqtG/XbwPusCB7SByEyuvTPoVjW6WnAVQUJX y0LA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from:ironport-sdr :ironport-sdr; bh=Y8jRFdrt3pCAgASpvz19QKwFMfjkeripHGXCNszX870=; b=SR0wBkskvpJ5pl5ycl66K0If8MODzpRzGoXvDY+Aj6s47XKvy3hjUkyT5/B22Kj6BC FineQpr11h3zXjsW79WtTkw8u8qRWCGQiMgYmi9PaG+RIqjq2ZVv168mANqBJdsSJZVF SCZqRGBdioCJy0xwVKH3aZpbIxbzfoOYlWsdMEqW0LPEEaEIG3hIdclNDuDyfRFx+udh epYoPWiUC1tDvNAMTf+K763XcUmExV3o7HU6uBblUKLJJUo82+N6jdnR6nx83T2Bstvv oXLFAu5M/3Zxy04U8Lab2bZJbHA3+yfrxEG1i8SPXJ08C6GSNlyAxf5NCBWgfr7U7j3w wRTg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y4si11570691ejj.723.2020.11.16.04.12.49; Mon, 16 Nov 2020 04:13:15 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729342AbgKPMKW (ORCPT + 99 others); Mon, 16 Nov 2020 07:10:22 -0500 Received: from mga05.intel.com ([192.55.52.43]:31993 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728000AbgKPMKV (ORCPT ); Mon, 16 Nov 2020 07:10:21 -0500 IronPort-SDR: 2TXpRXF53NI3G+giSnGKvRNfqp4tIYSwVmI3qlfVbScmGt2h4gULIllxb5HyS9mRDQtDYjU+2i +5IF4VJAEQIA== X-IronPort-AV: E=McAfee;i="6000,8403,9806"; a="255446422" X-IronPort-AV: E=Sophos;i="5.77,482,1596524400"; d="scan'208";a="255446422" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Nov 2020 04:10:20 -0800 IronPort-SDR: EFKImNVRssMy75btCwPCV89BGq+SkVhKv0Znc1JAS/hYpQm9sqhGw2OWQuj+abUct9Z5cErj7L p7YBvryIIypA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,482,1596524400"; d="scan'208";a="356259710" Received: from wwanmoha-ilbpg2.png.intel.com ([10.88.227.42]) by orsmga008.jf.intel.com with ESMTP; 16 Nov 2020 04:10:18 -0800 From: Wan Ahmad Zainie To: kishon@ti.com, vkoul@kernel.org, robh+dt@kernel.org Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, andriy.shevchenko@linux.intel.com, mgross@linux.intel.com, lakshmi.bai.raja.subramanian@intel.com, wan.ahmad.zainie.wan.mohamad@intel.com Subject: [PATCH v4 0/2] phy: intel: Add Keem Bay USB PHY support Date: Mon, 16 Nov 2020 20:08:29 +0800 Message-Id: <20201116120831.32641-1-wan.ahmad.zainie.wan.mohamad@intel.com> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi. Intel Keem Bay USB subsystem incorporates DesignWare USB3.1 controller, an USB3.1 (Gen1/2) PHY and an USB2.0 PHY. It is a Dual Role Device (DRD), operating as either a USB host or a USB device. The patchset is tested on Keem Bay EVM. Thank you. Best regards, Zainie Changes since v3: - Revise commit log message of the driver patch. - In Kconfig, use depends on ARCH_KEEMBAY || COMPILE_TEST. - Use genmask() to define USS_CPR_MASK. - In keembay_regmap_config struct, specify .max_register. Changes since v2: - Remove dependency on OF in Kconfig. - Remove header file linux/of.h, and add linux/mod_devicetable.h. - Add comments for each usleep_range() usage, provide reason for the delay. - Replace usleep_range(2, 10) with udelay(2), as per Documentation/timers/timers-howto.txt. - In _probe(), remove variable np and use dev->of_node directly. Changes since v1: - Remove 2 patches that had been merged. - Rebased to v5.10-rc3. - Add Rob's Reviewed-by tag in the first patch. - Use ARCH_KEEMBAY in Kconfig. - Update #include header; remove , and add . - Remove unnecessary comments. Wan Ahmad Zainie (2): dt-bindings: phy: Add Intel Keem Bay USB PHY bindings phy: intel: Add Keem Bay USB PHY support .../bindings/phy/intel,phy-keembay-usb.yaml | 44 +++ drivers/phy/intel/Kconfig | 12 + drivers/phy/intel/Makefile | 1 + drivers/phy/intel/phy-intel-keembay-usb.c | 301 ++++++++++++++++++ 4 files changed, 358 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/intel,phy-keembay-usb.yaml create mode 100644 drivers/phy/intel/phy-intel-keembay-usb.c -- 2.17.1