Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2090532pxb; Mon, 11 Oct 2021 21:41:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw0oj4Owl4UFQ1nHDId6366V4sMM2sbANrKNQHN8bumIbmnOfU6LcwrcpoHUqPJkXpvDmuj X-Received: by 2002:a17:907:2bec:: with SMTP id gv44mr30095714ejc.523.1634013659840; Mon, 11 Oct 2021 21:40:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634013659; cv=none; d=google.com; s=arc-20160816; b=Hc+o5BzADue8VDw37+IUkMQn1VThrYa9tAqtZ0aPGQ7Z4iPkBdP1glf+nefrEOAyEH jNNkpjvQbWIbsAedWRbNTFioPumrIrv5xxJOm5V+ZzkShfLjy0qXjEXq461jrHDmlA0q Qm+FYWgBx3jlE+DCZqwPy/4hH8W6b2gjABfmhl5TFoZyv+zDZiqjN6119GOVadijMq2I c2LPhD9WEaOFjoRNXM9cC32MrAakzV8+EAMKHb1g1pYe1c8tPAhICkAWAnTPiu/phxFB MMZjiSVXv9CG90RGk8WGmpeC0frBahifdmtj9LyWfktXguPSXa5NCrs9lXUcPINeFRIn 8Z1g== 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:from:in-reply-to :references:mime-version:dkim-signature; bh=j5GNvlDgAlpbmrfI4AhEJkka1LKpKihb4cfJWgaespQ=; b=K5FtV9ojt+TANOIaIM0MVTokVU28LxjHQHQDa9foUAZUG966ds0zqt2Dz2bJ25eyQ+ zh/zLmtlG0y/0gS2rr+Qtzfc0hhruSQILxreBYymMGJy45FPzYQXGvFia9Oy8xgTVFG8 aexONSIyNPgDQDUE5fG5LuNKHjt4wgEWMGSSXP4jBejZUJ70TsVHKEamqhgUiIr1II7U ECgBZfsUZ17Cr8SRljoki24kYlUazRXdIB2STv7WR3+SPArM372dSAeOtf87cvlJOIPu qPmL7tEw2cRtl/joUmxBjgCoZW9u0OBi2EjUoUFQ9mrqFgbW0Fte3915yiMuq14vHV/r s9Vw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b="o2d/EIT9"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x10si13449185edi.484.2021.10.11.21.40.08; Mon, 11 Oct 2021 21:40:59 -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; dkim=pass header.i=@canonical.com header.s=20210705 header.b="o2d/EIT9"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232254AbhJLEbZ (ORCPT + 99 others); Tue, 12 Oct 2021 00:31:25 -0400 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]:33804 "EHLO smtp-relay-internal-0.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229593AbhJLEbY (ORCPT ); Tue, 12 Oct 2021 00:31:24 -0400 Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (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 8D7543F31E for ; Tue, 12 Oct 2021 04:29:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1634012962; bh=j5GNvlDgAlpbmrfI4AhEJkka1LKpKihb4cfJWgaespQ=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=o2d/EIT9pjX/s8yapFXXI2flCqLaI3JaWWEzA4Xt1+VjSgNq8pjCEaN5O9vEzK6QI 412ZdWBViwJ/1CBnV5BSA2WmjshqlmvwKHkGy1ls1DgfvtUddsNLo6/r0qoV0ou77i wlypT6mQTNlpCYPMQa8SATFoTS7tjK1z2dL3X7kOtOG2T0M/GDX+Djfi/KayuPh14U ZVrNRzDTXtNQCRRI2YrqYXCZ8HLBmsTfdds3oJ13XyQM7BeeDbKjKxuV/WAO+f/fxD 5zUcs2fhj9cy/z1+FNYHocsxOv+YlYA70iVPh9iGQZn5sFnJkMyqS8TvFkXpAI2Qlf qDdjJkmylPl8g== Received: by mail-ed1-f70.google.com with SMTP id x5-20020a50f185000000b003db0f796903so17735548edl.18 for ; Mon, 11 Oct 2021 21:29:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=j5GNvlDgAlpbmrfI4AhEJkka1LKpKihb4cfJWgaespQ=; b=2f/60zaYr/YZSd8ib6iT5lTt11nhPqJIOgpRrVm2fr4rTM2LhVsm3vXLHkHxVfENKj BcHpF0hjeuNIVIseGUvCdF5WbhMd++kbjeKZr7G9z5AexTaNeC1FG/qnTew8u/GMeM/K 6Jt6c+LCh8NOQLZPZ/t2k6YtkxV0VaWEVnJADCRjuP8c+uTz6uO8CNrr6eBkBeHGIa2v dmI63FByP6MoeiQrJxaBZOHgC7euRYv87ox3Z7RcycqZR6yD8BOQ9xWCTMPpyIwTKq3r 8pvbkMmADk/lb7dj/vQvzDIVk34g38aA8ak5dVKLNj/LxjvJfgLOu+pH5I9YryL7BIvC gf9g== X-Gm-Message-State: AOAM532+DT1dIURLCHDkdO46bBcotXhfAsTXchxyVzQfOxAyh0q7eM5f PVEDMutyFlQYglUxbAG9WR2EhMLtV07csZTqCN673/GU+5Rcny39WlRF1ZtOoLhHEuk3QxTE1Sm 6/2uTO5Knt//iUiSH4SYT2Mts0j2NVIOuRJAMFaxEE+NoDD9icg2jxpnviA== X-Received: by 2002:a17:906:ed1:: with SMTP id u17mr30550100eji.304.1634012962264; Mon, 11 Oct 2021 21:29:22 -0700 (PDT) X-Received: by 2002:a17:906:ed1:: with SMTP id u17mr30550085eji.304.1634012962057; Mon, 11 Oct 2021 21:29:22 -0700 (PDT) MIME-Version: 1.0 References: <20210920130248.145058-1-krzysztof.kozlowski@canonical.com> In-Reply-To: <20210920130248.145058-1-krzysztof.kozlowski@canonical.com> From: Alexandre Ghiti Date: Tue, 12 Oct 2021 06:29:10 +0200 Message-ID: Subject: Re: [RESEND PATCH v2 1/5] riscv: dts: sifive: use only generic JEDEC SPI NOR flash compatible To: Krzysztof Kozlowski Cc: Rob Herring , Paul Walmsley , Palmer Dabbelt , Albert Ou , devicetree@vger.kernel.org, linux-riscv , "linux-kernel@vger.kernel.org List" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org hi Krzysztof, On Mon, Sep 20, 2021 at 3:05 PM Krzysztof Kozlowski wrote: > > The compatible "issi,is25wp256" is undocumented and instead only a > generic jedec,spi-nor should be used (if appropriate). Why not do it the other way around? I mean adding this compatible to the expected list: don't we lose information using the generic compatible? Thanks, Alex > > Signed-off-by: Krzysztof Kozlowski > > --- > > Changes since v1: > 1. New patch > --- > arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts | 2 +- > arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dts | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts b/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts > index 60846e88ae4b..633b31b6e25c 100644 > --- a/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts > +++ b/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts > @@ -63,7 +63,7 @@ &i2c0 { > &qspi0 { > status = "okay"; > flash@0 { > - compatible = "issi,is25wp256", "jedec,spi-nor"; > + compatible = "jedec,spi-nor"; > reg = <0>; > spi-max-frequency = <50000000>; > m25p,fast-read; > diff --git a/arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dts b/arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dts > index 2e4ea84f27e7..9b0b9b85040e 100644 > --- a/arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dts > +++ b/arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dts > @@ -211,7 +211,7 @@ vdd_ldo11: ldo11 { > &qspi0 { > status = "okay"; > flash@0 { > - compatible = "issi,is25wp256", "jedec,spi-nor"; > + compatible = "jedec,spi-nor"; > reg = <0>; > spi-max-frequency = <50000000>; > m25p,fast-read; > -- > 2.30.2 > > > _______________________________________________ > linux-riscv mailing list > linux-riscv@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-riscv