Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4043682ybg; Fri, 25 Oct 2019 12:30:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqx8o0Ksev9NcbOMP2tC34Ly1ilfN0lc6DlSRlcO4g32r8Ms9jZQNiH5V9sBYXSHGqtJemZ1 X-Received: by 2002:aa7:d8c7:: with SMTP id k7mr5907368eds.138.1572031832080; Fri, 25 Oct 2019 12:30:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572031832; cv=none; d=google.com; s=arc-20160816; b=A8FR/Sv9qVkV8gJGFxCXkRavRNIDm0E85f5Szo0YI11b4CUaVc027lFqZQkCIqylj1 n974vx5xSjBmaIm0crls5I0Ja33j2BwPZ6NeHHjnXizS1jd6CkSDl+aYy7Z/eOIi+SW7 xvtwbNHEZ1UqwR6X2biytJsOOfQbh0bCYV9l/dcR1CIHxM75zYwAcxF338l9Mt8JOLnQ fUdFD7U9970UAgR6KYzyxJGBuIYhnfH+SY/E1S5lAC1H9wP4bxlCKkbIf4KzJY2VuUpj +PTDWOo8xpPglio6ZBj2oVThRy2w3RE3hkschQGi/+LATj+oHE8p16y/sUomM2xe3IDI zRSA== 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:ironport-sdr; bh=46w1YP48paTeqjP+vjjIx2QWPLjRqUIY/DAfMqyc3SU=; b=OzoBqOovQPuuD/TeJvmClSb1elFFVin57sTC15cnOi44X+9ypGf8cHmXxbac5en3PL 4hmK9A7h9W4Pi2zo0wRYKCYF8vHbDQk5ePlWaOL0Bsit8pKee/RhlxpMiFHSHiQbYjcE 86jMbEyGIn49wGvhuiBkfXtNnojF7BPZrMpML0/FEIRoWehuBLUn7eS0NaAwLT3UMx6c Sj2SnEyCDLRBkExy0Msi9lJ2i3XtJqcFMl2vCITOquMlvWv73IedMNq1AswOiFgMwgDj W7j7DzRXBWREV3gWt7KuFgTG4GyBnTWpa7qtY8nfgaMihG81QBf7CY0szbHfrpCpoprD W+6g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=microchip.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ha17si1887540ejb.196.2019.10.25.12.30.08; Fri, 25 Oct 2019 12:30:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2437639AbfJYICs (ORCPT + 99 others); Fri, 25 Oct 2019 04:02:48 -0400 Received: from esa6.microchip.iphmx.com ([216.71.154.253]:47028 "EHLO esa6.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2405453AbfJYICr (ORCPT ); Fri, 25 Oct 2019 04:02:47 -0400 Received-SPF: Pass (esa6.microchip.iphmx.com: domain of Ludovic.Desroches@microchip.com designates 198.175.253.82 as permitted sender) identity=mailfrom; client-ip=198.175.253.82; receiver=esa6.microchip.iphmx.com; envelope-from="Ludovic.Desroches@microchip.com"; x-sender="Ludovic.Desroches@microchip.com"; x-conformance=spf_only; x-record-type="v=spf1"; x-record-text="v=spf1 mx a:ushub1.microchip.com a:smtpout.microchip.com a:mx1.microchip.iphmx.com a:mx2.microchip.iphmx.com include:servers.mcsv.net include:mktomail.com include:spf.protection.outlook.com ~all" Received-SPF: None (esa6.microchip.iphmx.com: no sender authenticity information available from domain of postmaster@email.microchip.com) identity=helo; client-ip=198.175.253.82; receiver=esa6.microchip.iphmx.com; envelope-from="Ludovic.Desroches@microchip.com"; x-sender="postmaster@email.microchip.com"; x-conformance=spf_only Authentication-Results: esa6.microchip.iphmx.com; dkim=none (message not signed) header.i=none; spf=Pass smtp.mailfrom=Ludovic.Desroches@microchip.com; spf=None smtp.helo=postmaster@email.microchip.com; dmarc=pass (p=none dis=none) d=microchip.com IronPort-SDR: okAxLpkf03Y4C1W42prpxYb3sZ9jXvYf+/H5BOw1AlH/UK9Ukdc772kia6FUmXKPJmz3vYJ6OI TdTz7agHB0yLDhBZ/Pr9MnHS0rahBRSQvDyRYhrBoSYkQlC7vAFOwVUnQIMS3Y4tmgrqdzKdyw L+aOmGlhuCFwKgbbNUhn8HwUlrWZhBpa3omZvp4qQ6akXva79rvVOG4au1c0N1kelNP33sJPO9 JWRJsAGfEOIV2PJYzv9kP9ttUvaxFiWwdu8ZPjtxuA9e4mcmdo36jM0uNdmKVgvIlMnAw0KZWb tUs= X-IronPort-AV: E=Sophos;i="5.68,228,1569308400"; d="scan'208";a="51523132" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 25 Oct 2019 01:02:46 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Fri, 25 Oct 2019 01:02:43 -0700 Received: from M43218.corp.atmel.com (10.10.85.251) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.1713.5 via Frontend Transport; Fri, 25 Oct 2019 01:02:41 -0700 From: Ludovic Desroches To: , , CC: , , , , , , , , , "Ludovic Desroches" , Rob Herring Subject: [PATCH v3 1/3] dt-bindings: sdhci-of-at91: new compatible string and update properties Date: Fri, 25 Oct 2019 10:03:42 +0200 Message-ID: <20191025080344.15492-1-ludovic.desroches@microchip.com> X-Mailer: git-send-email 2.24.0.rc0 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There is a new compatible string for the SAM9X60 sdhci device. It involves an update of the properties about the clocks stuff. Signed-off-by: Ludovic Desroches Reviewed-by: Rob Herring --- Changes: - v3: rebase due to conflict with Nicolas' patch - v2: remove the extra example and fix node label .../devicetree/bindings/mmc/sdhci-atmel.txt | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/mmc/sdhci-atmel.txt b/Documentation/devicetree/bindings/mmc/sdhci-atmel.txt index 503c6dbac1b2..69edfd4d3922 100644 --- a/Documentation/devicetree/bindings/mmc/sdhci-atmel.txt +++ b/Documentation/devicetree/bindings/mmc/sdhci-atmel.txt @@ -5,11 +5,16 @@ Documentation/devicetree/bindings/mmc/mmc.txt and the properties used by the sdhci-of-at91 driver. Required properties: -- compatible: Must be "atmel,sama5d2-sdhci". +- compatible: Must be "atmel,sama5d2-sdhci" or "microchip,sam9x60-sdhci". - clocks: Phandlers to the clocks. -- clock-names: Must be "hclock", "multclk", "baseclk"; +- clock-names: Must be "hclock", "multclk", "baseclk" for + "atmel,sama5d2-sdhci". + Must be "hclock", "multclk" for "microchip,sam9x60-sdhci". Optional properties: +- assigned-clocks: The same with "multclk". +- assigned-clock-rates The rate of "multclk" in order to not rely on the + gck configuration set by previous components. - microchip,sdcal-inverted: when present, polarity on the SDCAL SoC pin is inverted. The default polarity for this signal is described in the datasheet. For instance on SAMA5D2, the pin is usually tied to the GND with a resistor @@ -17,10 +22,12 @@ Optional properties: Example: -sdmmc0: sdio-host@a0000000 { +mmc0: sdio-host@a0000000 { compatible = "atmel,sama5d2-sdhci"; reg = <0xa0000000 0x300>; interrupts = <31 IRQ_TYPE_LEVEL_HIGH 0>; clocks = <&sdmmc0_hclk>, <&sdmmc0_gclk>, <&main>; clock-names = "hclock", "multclk", "baseclk"; + assigned-clocks = <&sdmmc0_gclk>; + assigned-clock-rates = <480000000>; }; -- 2.24.0.rc0