From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9E108C35280 for ; Mon, 30 Sep 2019 14:56:26 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7134820679 for ; Mon, 30 Sep 2019 14:56:26 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="pjTDsmrz" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7134820679 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=c55CH81e7uvzHN3QyM8f8DhqUjAOfJIbCWB6Kbpw0Ak=; b=pjTDsmrzB5ppAi RcXOs65K/9MyEbjLZoJ7K8JV9Lw+/SF6vNpUkA+cSWkh+hm8zYgM+IxETOGLZPvOs8VgFPJMLJGiK ZX0+SHy3HAo48vrl96vRoFjnfkM7Bi02moUz4BIGXxgcXja2oSnxPFKdkJ1e7av+YiBDjYKeg0j1Z JNZAPTiyIEP5OYJSuJ+SK/zJMg2nG1boGGmXQRFl3lAcs1C8f3lWgjVYedCZRQOGRy0jedAbp4sl8 CKP6IKbXf+Pnp8ZYAGbQRyMgPvVpN5JRtX4AIdhUHD7IAlOkS8Vfw2Vt+H7q9CmjdZ3h/MJzdHb5Y vhFFD6s7R+FuD4LIed9Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1iEx63-00007Y-H9; Mon, 30 Sep 2019 14:56:19 +0000 Received: from mail-oi1-f193.google.com ([209.85.167.193]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1iEx60-00006M-Ib for linux-arm-kernel@lists.infradead.org; Mon, 30 Sep 2019 14:56:17 +0000 Received: by mail-oi1-f193.google.com with SMTP id e18so11394983oii.0 for ; Mon, 30 Sep 2019 07:56:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=BwA681HhYis/Fwr6rUVisbTJS/OHBKxj8dYqASkfvtk=; b=RMDJpvvwLNl/QFFiicY6Y4jujPqdt8gqxyf5S7Ih8MfFAMZYFCwUM7a9HSEcESJkNF gENI72Rn6MNQWplVlGGgmgqXYeQ4mX8+CT4B75yOycU4ThizlfZ97DzddYwT9TmMTH0/ UZgGGuGXX9kaC88stwky0QRYFRiEDCyfln/QOZ9hUWDQMWL+ZaVIqVhORZNGMkqw7YxY 4tpMDjCto/Q7STFowP3mvI8ug8Se5mNxscpdRSW+eVk/1SUs5xJCs1xeSV3BejK6LH3K eH8iodwegIVZVOFaGM3o187Y8CKDCXKOj3UcP0aE8QVZxX98vbOXX1MSqcsNi+YH+HxT diFg== X-Gm-Message-State: APjAAAU4F5dH/WMdoeI9cp0OHdeETKpvY5Zj5UPgXPVDp7aTz8O13LRF XjUeTS2wtLTco9rm/FzhBw== X-Google-Smtp-Source: APXvYqwLv4Y/czSKwivg0BhTvGD0JVI63oHqc+uuK2t3KytVcKxUUzmm4XvHqY6SDRpQT9booAv6KA== X-Received: by 2002:a54:410f:: with SMTP id l15mr17456048oic.92.1569855374801; Mon, 30 Sep 2019 07:56:14 -0700 (PDT) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id d194sm4443581oib.47.2019.09.30.07.56.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Sep 2019 07:56:14 -0700 (PDT) Date: Mon, 30 Sep 2019 09:56:13 -0500 From: Rob Herring To: Ludovic Desroches Subject: Re: [PATCH 1/3] dt-bindings: sdhci-of-at91: new compatible string and update properties Message-ID: <20190930145613.GA11254@bogus> References: <20190912200908.31318-1-ludovic.desroches@microchip.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190912200908.31318-1-ludovic.desroches@microchip.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190930_075616_622878_E2F328DA X-CRM114-Status: GOOD ( 17.61 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, ulf.hansson@linaro.org, linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, adrian.hunter@intel.com, claudiu.beznea@microchip.com, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Sep 12, 2019 at 10:09:06PM +0200, Ludovic Desroches wrote: > 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 > --- > .../devicetree/bindings/mmc/sdhci-atmel.txt | 25 ++++++++++++++++--- > 1 file changed, 22 insertions(+), 3 deletions(-) > > diff --git a/Documentation/devicetree/bindings/mmc/sdhci-atmel.txt b/Documentation/devicetree/bindings/mmc/sdhci-atmel.txt > index 1b662d7171a0..364ceea330b6 100644 > --- a/Documentation/devicetree/bindings/mmc/sdhci-atmel.txt > +++ b/Documentation/devicetree/bindings/mmc/sdhci-atmel.txt > @@ -5,12 +5,19 @@ 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: > + > +Examples: > > sdmmc0: sdio-host@a0000000 { > compatible = "atmel,sama5d2-sdhci"; > @@ -18,4 +25,16 @@ sdmmc0: sdio-host@a0000000 { > 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>; > +}; > + > +sdmmc0: sdio-host@80000000 { mmc@... Though I don't see much value in a second example. Examples are not a complete enumeration of all possible dts entries. > + compatible = "microchip,sam9x60-sdhci"; > + reg = <0x80000000 0x300>; > + interrupts = <12 IRQ_TYPE_LEVEL_HIGH 0>; > + clocks = <&pmc PMC_TYPE_PERIPHERAL 12>, <&pmc PMC_TYPE_GCK 12>; > + clock-names = "hclock", "multclk"; > + assigned-clocks = <&pmc PMC_TYPE_GCK 12>; > + assigned-clock-rates = <100000000>; > }; > -- > 2.23.0 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel