Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp1843829rda; Tue, 24 Oct 2023 05:16:59 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFgAAvwIKstjLx6UMyPu7/dNURarsj9f0g5ScFM0+7YT832vOJz96Cwmfa/GTfAhhgQffbJ X-Received: by 2002:a17:902:f381:b0:1c9:aac5:df30 with SMTP id f1-20020a170902f38100b001c9aac5df30mr10466500ple.66.1698149818965; Tue, 24 Oct 2023 05:16:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698149818; cv=none; d=google.com; s=arc-20160816; b=ZbJZ8FSW1gYSEiEVxUNZElTzOEmQUTZY20SCXRf/nPdPI2APbxZWn/HH1BLIQtsRPw EmBEnuBTQyTDdv6mM2103aFIMXjs2XV71egacUM2x0QSr01l5kVZ699vMkE4bnOCG+Q4 ZCeXdenX0lhAxQQuttTVZzZk7VljYDmlOBlp8DWKhb0tIi8e4R1IJqf9L9jY+f2uGiTb LMQr5tv4QbVUflnQ3HY99qWLkDV5l5foni+h4OaWlDwLFvyRlvRtfeXJzEwf/J6W/VCb Ab0EKCFHm4I3NaEC2PG6ilbRT9TqOlOPLPnkeAA1u6dc4UgZpFvrhbVP9WBnWOu4y8mv G/ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:mime-version :references:in-reply-to:from:dkim-signature; bh=thwvxYYMUVPSY3nzBc7xApM08Kssn5NAFL9o/BCJG0g=; fh=36Rr3Dnl7SHCZWpDfHNDuByzCG+FxCuVmr8P7+QTFhc=; b=Gc39L/cda1zn/AlxEOgsU8CcJwBHY2FhevirGfd5snUaos20utMu9Ao+d5WQ3DFBds qmacWJyNQf0yH/AXoWsOBrShOqu3EWVa2KsJ4AJtW1N1PckuPuJOrKByrEif/gOkejpK 8vhk5AXDCtFK+2ZWMfyEIZLK21FGZ4B0+jr2eLU3u99C1KeaO1MD8GvZy6DTv7IEC90D xSjWWYla6iQuovucERt9XOAgh3jacWJLnfQKVWkBtVPnqSK9nCFCUjJIE27/92aBHxoi SH+Pt6yFpRHhzunIZzVxRtsWCRygRBdsx+8JZPBei236N3N+tRjB0OrNWGr36zMHplS2 3i7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=nZSj4Ili; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id l12-20020a170903244c00b001bdd35033efsi8766045pls.374.2023.10.24.05.16.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 05:16:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=nZSj4Ili; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 1C9C48031D13; Tue, 24 Oct 2023 05:16:56 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231951AbjJXMQi (ORCPT + 99 others); Tue, 24 Oct 2023 08:16:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47218 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231794AbjJXMQg (ORCPT ); Tue, 24 Oct 2023 08:16:36 -0400 Received: from smtp-relay-internal-0.canonical.com (smtp-relay-internal-0.canonical.com [185.125.188.122]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8547B10C0 for ; Tue, 24 Oct 2023 05:16:33 -0700 (PDT) Received: from mail-qt1-f198.google.com (mail-qt1-f198.google.com [209.85.160.198]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 880A23FAD3 for ; Tue, 24 Oct 2023 12:16:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1698149787; bh=thwvxYYMUVPSY3nzBc7xApM08Kssn5NAFL9o/BCJG0g=; h=From:In-Reply-To:References:Mime-Version:Date:Message-ID:Subject: To:Cc:Content-Type; b=nZSj4IliyasfjvdC4ZPXWVk4QNzAZMC4s2MadTa0AMCKlyPrLhK5znrt/M9U7BPKg tt3gZObdEneza01sXSXHsFl8poxyaUo/w3/1gTrrVuhqwvqXvSt1o2XNtq9TIotWGB 3GojfzMSgSTFbLTmAb8j1jO68hOuNuGdA6XbDwDiATUqzkHTEpq3fDVbbeSOufbWHN ggvkIkgmtifj5iYtmbaxWf47IIOtt0mRRMM/TCqfTrV+f6BLrYbqcgR4nPBvtei3DF IABJGa3LgNJ/wKyvo/jBIE6qFWswb+OKhGCiBNuGJZXHaH7VJVlIE8NkGLW4oDdHjG mG36JgrDIcadw== Received: by mail-qt1-f198.google.com with SMTP id d75a77b69052e-41cc72fca99so59999971cf.1 for ; Tue, 24 Oct 2023 05:16:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698149786; x=1698754586; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=thwvxYYMUVPSY3nzBc7xApM08Kssn5NAFL9o/BCJG0g=; b=IXgifdMg5+LoQt7tvfCK0qOs8oMtwimqKchk8PpaY72z/7tf9UCmxJRhBblAbr0c1O swOXBkm8mgx6MKWIrIRXc93JAGDJQpdDjhOy+TOWgBn6JnjtDgowqN6LBGx7KpHZi3Ef UpYcpxRDW+8z5xCTA6ZPr2yjTYCWZYg5UrcgBWFNd0Tl7OWNo2tJuDnyBYAIBOJe46Nm uQQCmmHTaaCLaSsGX7F3VChKJ/794A1mP3M7ZtkUHRfcfUCQGnQMFXMFgxA3yMqehFhB 1x1x45xmlPdarTss1Nw1O293hsW7JNVTw+2SbOrRi/IUncEDp5MyAmdroqGvzwtu80OF MAPA== X-Gm-Message-State: AOJu0YzJ2mw6dHynbJgOr3ALJx9YxQvRSz0rlOcTTGZbHdVW+cFzI32b ZkaWAXgleutGrkdRCnJl2fk7xh9y4RalPYf/4XplmgDc40prgHY1kK692+voagd//uzjLFNlwtX 4YPeIXCmkE4L9NiidVIPvyIPoXPW0jSr3cS5QQIXDrFD/F5I9GWWNLVeb1n4ZtGDPbA== X-Received: by 2002:a05:622a:2d2:b0:418:152d:bf4 with SMTP id a18-20020a05622a02d200b00418152d0bf4mr13460078qtx.51.1698149786494; Tue, 24 Oct 2023 05:16:26 -0700 (PDT) X-Received: by 2002:a05:622a:2d2:b0:418:152d:bf4 with SMTP id a18-20020a05622a02d200b00418152d0bf4mr13460067qtx.51.1698149786276; Tue, 24 Oct 2023 05:16:26 -0700 (PDT) Received: from 348282803490 named unknown by gmailapi.google.com with HTTPREST; Tue, 24 Oct 2023 05:16:25 -0700 From: Emil Renner Berthing In-Reply-To: <20231023-th1520-mmc-v3-6-abc5e7491166@baylibre.com> References: <20231023-th1520-mmc-v3-0-abc5e7491166@baylibre.com> <20231023-th1520-mmc-v3-6-abc5e7491166@baylibre.com> Mime-Version: 1.0 Date: Tue, 24 Oct 2023 05:16:25 -0700 Message-ID: Subject: Re: [PATCH v3 6/7] riscv: dts: thead: Enable BeagleV Ahead eMMC and microSD To: Drew Fustini , Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jisheng Zhang , Adrian Hunter , Guo Ren , Fu Wei , Paul Walmsley , Palmer Dabbelt , Albert Ou , Conor Dooley Cc: devicetree@vger.kernel.org, Han Gao , linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, Robert Nelson , Jason Kridner , Xi Ruoyao , linux-riscv@lists.infradead.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Tue, 24 Oct 2023 05:16:56 -0700 (PDT) Drew Fustini wrote: > Add mmc0 properties for the eMMC device and add mmc1 properties for > the microSD slot. Set the frequency for the sdhci clock. > > Signed-off-by: Drew Fustini > --- > arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dts | 20 ++++++++++++++++++++ > 1 file changed, 20 insertions(+) > > diff --git a/arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dts b/arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dts > index 70e8042c8304..c4e748827889 100644 > --- a/arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dts > +++ b/arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dts > @@ -52,6 +52,10 @@ &uart_sclk { > clock-frequency = <100000000>; > }; > > +&sdhci_clk { > + clock-frequency = <198000000>; > +}; > + > &dmac0 { > status = "okay"; > }; > @@ -59,3 +63,19 @@ &dmac0 { > &uart0 { > status = "okay"; > }; > + > +&mmc0 { > + bus-width = <8>; > + max-frequency = <198000000>; > + mmc-hs400-1_8v; > + non-removable; > + no-sdio; > + no-sd; > + status = "okay"; > +}; > + > +&mmc1 { > + max-frequency = <198000000>; > + bus-width = <4>; > + status = "okay"; > +}; Hi Drew, For the StarFive device tree files we've agreed on sorting by / node, clock references, and then other node references alphabetically. I'm not insisting you should do the same, but it would be nice with some system to make it clear where new node refences should go. Or maybe I'm just not seeing the system you're already following. /Emil > > -- > 2.34.1 > > > _______________________________________________ > linux-riscv mailing list > linux-riscv@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-riscv