Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp734289ybp; Fri, 11 Oct 2019 03:34:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqw7La/5K80sW8DLlRCjiEH3B5/ZrtdRt+yuZQWfMW/xSkMhp3zJIeebpX93106bsCh77YOt X-Received: by 2002:aa7:ccd3:: with SMTP id y19mr12768482edt.122.1570790058393; Fri, 11 Oct 2019 03:34:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570790058; cv=none; d=google.com; s=arc-20160816; b=r+j8pgugyk7lRDZ/cMrvdSJQJhmh5vsnNaOwjGD9iGf2cVhzyOGp4qa+oQ0vWVtxWc THIYNtUMjklHULoX4flGZhJMFt4eDs0ppI2NwXlpW135B5dA4UbIdELigR/rrsF8hT3a AuQtPfV6z4a+HtsHFN7FhDyGSS4ZTYooGQ3cb1jtt0Z7yArokipdJkhgiA5Dq1LnT5dz 6mo3Vc92Ao1zVQGDvww4zmmZ3T62QY2cqE8BnVpyQ0nQXoX+guPpEfXVM/envQ3tbym/ qbQPDySeTEttpPpNmdDuRlsnw3XAXHhbTIrbjCH/elmSxK46hRmGdcRJa8jwu0ZHsFgh /bhg== 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=ANC7dTj2L2n8WhV+yks54MBjf2jnGFEtzV3S0nPh07A=; b=WTi301F97SRO0EEqfux9T4qPpYVWXNtgO7sgNKeB2PBSoiUUSPmgMJ8z0bcasbe9zL vm4HvE9wTRhWruLU+gzKEl8wzOtWdt1TdaooraPNdKjwLnOfPWMl5LpMMzGHr22ESu7W 7dHKxGwU9wL/9wd9xD58plMikzTgvCujo/OGENRPO8HNGcFzawQ+VnH76fNijN/4JImY ADItl+YqZjfyeRoNhaLcC8Ek+Yp05iPPrJTKOPuqSsfK4RNxsvBsAzujX+0h4V1MQQB3 or7qCbDnjqDD8AiYU/hgg3+1OkcOGa86pwXl5YhKlPPNHtDCimAxxJFNh9PF/4+OJOP1 6L1Q== 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 g40si4928469edg.397.2019.10.11.03.33.55; Fri, 11 Oct 2019 03:34:18 -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 S1727484AbfJKKds (ORCPT + 99 others); Fri, 11 Oct 2019 06:33:48 -0400 Received: from esa6.microchip.iphmx.com ([216.71.154.253]:64783 "EHLO esa6.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726290AbfJKKds (ORCPT ); Fri, 11 Oct 2019 06:33:48 -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: rO2BQxBFHlO5VQRODrcZb9MialbYrIkdh+cQcZ9ts4k2/UkIjEJ5xeOrjSSVld0FnlmjCGny2V 68Vty2OUqEb8YZeciLiHO3qiqujcdIz9QThE+y74XX51aIwsRlHzNmFl0rHwo4omkJylnyfZN/ A7rtBuC8CjYD0QawsBDo+E0/5GJVx8HQiFh2R3EeXuzGj+cVoydXUt2Jt8kHf9GkZvn81PV0eP zjvcqCUUpzzrcxGMgoz9nQtsRL6pib41pRtYB1uJBPMXxDKUBvK/wnEBOYAzzcRzo+l13QTXQH CJQ= X-IronPort-AV: E=Sophos;i="5.67,283,1566889200"; d="scan'208";a="49684539" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 11 Oct 2019 03:33:47 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) 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, 11 Oct 2019 03:33:47 -0700 Received: from M43218.corp.atmel.com (10.10.85.251) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.1713.5 via Frontend Transport; Fri, 11 Oct 2019 03:33:45 -0700 From: Ludovic Desroches To: , , CC: , , , , , , , , Ludovic Desroches Subject: [PATCH v2 1/3] dt-bindings: sdhci-of-at91: new compatible string and update properties Date: Fri, 11 Oct 2019 12:33:37 +0200 Message-ID: <20191011103340.26749-1-ludovic.desroches@microchip.com> X-Mailer: git-send-email 2.23.0 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 --- Changes: - v2: remove the extra example and fix node label This patch conflicts with Nicolas' one: "dt-bindings: sdhci-of-at91: add the microchip,sdcal-inverted property". Let me know which one has to be rebased or you can handle it. Ludovic .../devicetree/bindings/mmc/sdhci-atmel.txt | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/mmc/sdhci-atmel.txt b/Documentation/devicetree/bindings/mmc/sdhci-atmel.txt index 1b662d7171a0..5d541ad4d4eb 100644 --- a/Documentation/devicetree/bindings/mmc/sdhci-atmel.txt +++ b/Documentation/devicetree/bindings/mmc/sdhci-atmel.txt @@ -5,17 +5,26 @@ 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. 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.23.0