Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp4195724ybg; Mon, 8 Jun 2020 01:18:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw3fcOGfyoR7nD2BvXeO/Uc0SwZhncAyJ17BlNDddtphU/AR0LXX6xjb5ldGdvCOh8NzrsG X-Received: by 2002:a17:907:2636:: with SMTP id aq22mr19382645ejc.384.1591604329734; Mon, 08 Jun 2020 01:18:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591604329; cv=none; d=google.com; s=arc-20160816; b=vhXbKG3kxPI7bDWRo1ggAMk7d4oJcwU8wRHrZTsgB3DODCywip98LHnMV6TXwNteBD 7D2VIRDe4UlxVmV3366X//ulH2523XCbqGYTJqboeABI6AJjzemZc+fPlIhogSRqc8mB xeSJyvwp69gmWWt5jG4GNWvzfMkLAFRwjY5Fvdnwnz7PbZkq595O50NECpgv0VPxP6G0 549h39sf1PmRa/2N0MQXykql7QbI6vy3VWzKM5Fvju8U8k1NLdlfJsPD3/pHLiVMZIuU jShxme9oR17r7+snZoK7Nsm3hBNWlIJFCCgkGEo5xN5Ch7jJjAv+1U3lN5y9miC53lIG u/Qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :ironport-sdr:ironport-sdr; bh=douEw/dLDrJu9xLRWvhWZIGyPnNSuVstTqeMLbO/oO0=; b=yAk0RqOChu4KVVhIY+K+boh10bPryyB3//k+SCquBvafx5X/kd33eb31mP1+YJ+q8H Iufh5bJ4iwI4UPeU2W2hrqWxyo6VGZTkrsXHwubqa4Z3KnIVHAzUy4MU1QJ451GeKmS4 Z5pEm08R2MNKx5Vt+GGdgRyd0lJ6Cg2Fu/iInxaVjlWtBDkuqimB41IC8VyzBL96nolx OlNlH4VyRvbcCh5GL2yO3Ug5Jk8WmXZvqeK72s46NZJjP5T83ax3YfzhKtVQG0amX4B6 DqDu6GUvDsSFMyh1W2AQTgT5xM5iOkdhOfVYhmjFagjSpe/MG0IEzl3KjwKPxeV8DUwd STZw== 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 t21si2832697edy.548.2020.06.08.01.18.26; Mon, 08 Jun 2020 01:18:49 -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; 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 S1729070AbgFHIQl (ORCPT + 99 others); Mon, 8 Jun 2020 04:16:41 -0400 Received: from mga09.intel.com ([134.134.136.24]:55228 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729033AbgFHIQl (ORCPT ); Mon, 8 Jun 2020 04:16:41 -0400 IronPort-SDR: pQdvUJQE8R7OAgqwrYb/YNq5uwxA1d4yIfzXeEK3OuFZTpoWASKrHIqsRJbWUbrIW4y98xJqLx URFx+eWfOMUw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Jun 2020 01:16:40 -0700 IronPort-SDR: y+gd4S9S0z9EMfWQWUY2h0Yop59C03M3/SxwLhOSEqyUFl/Kl2ro3sPt9V1obqtgCVHe3cni5V kPfDNsIFkm3w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,487,1583222400"; d="scan'208";a="417956152" Received: from wwanmoha-ilbpg2.png.intel.com ([10.88.227.42]) by orsmga004.jf.intel.com with ESMTP; 08 Jun 2020 01:16:38 -0700 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@intel.com, adrian.hunter@intel.com, wan.ahmad.zainie.wan.mohamad@intel.com Subject: [PATCH v3 0/2] phy: intel: Add Keem Bay eMMC PHY support Date: Mon, 8 Jun 2020 16:14:59 +0800 Message-Id: <20200608081501.29558-1-wan.ahmad.zainie.wan.mohamad@intel.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi. The first part is to document DT bindings for Keem Bay eMMC PHY. The second is the driver file, loosely based on phy-rockchip-emmc.c and phy-intel-emmc.c. The latter is not being reused as there are quite a number of differences i.e. registers offset, supported clock rates, bitfield to set. The patch was tested with Keem Bay evaluation module board. Thank you. Best regards, Zainie Changes since v2: - Modify DT example to use single cell for address and size. Changes since v1: - Rework phy-keembay-emmc.c to make it similar to phy-intel-emmc.c. - Use regmap_mmio, and remove reference to intel,syscon. - Use node name phy@.... - Update license i.e. use dual license. Wan Ahmad Zainie (2): dt-bindings: phy: intel: Add Keem Bay eMMC PHY bindings phy: intel: Add Keem Bay eMMC PHY support .../bindings/phy/intel,keembay-emmc-phy.yaml | 45 +++ drivers/phy/intel/Kconfig | 8 + drivers/phy/intel/Makefile | 1 + drivers/phy/intel/phy-keembay-emmc.c | 321 ++++++++++++++++++ 4 files changed, 375 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/intel,keembay-emmc-phy.yaml create mode 100644 drivers/phy/intel/phy-keembay-emmc.c -- 2.17.1