Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp4311122ybl; Tue, 20 Aug 2019 10:00:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqxTVW1X79Hl3g18yFFFICE6HtT7FUdvvI0NtNJts4arCAfB4wI8Q7XnhcbEapVhMcvE/sjz X-Received: by 2002:a17:902:ac88:: with SMTP id h8mr27118917plr.77.1566320407353; Tue, 20 Aug 2019 10:00:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566320407; cv=none; d=google.com; s=arc-20160816; b=hUb3jpccq2r1LdYImR/sGrH2O1xbf9UYPmkzVtfuV7vnXnolN03lBqY7lkUg59zY/m 0aIiCLu1m8mSE+Zsg5F+zoP9E4hmQ89ZbAD6O9qHd55zDEjJzPSveJR4BMrPVaDxihqG h3lV7Ca+0Td0DuSsFjD9zdJV2Azp3r+mt9xyMrDp2RmVdhuoyQU+36MFFbey3RY2elXk pApKanyWZLMZTZd8ol64mbJYL8e48jcT7qDK1oODcfUYfDzAjkDc6zKbu7tJpXKmrdSs v2P26eSRbebKEC1uuH+qy3mHqnpxfNAI0mE0owYA9Cbrc9K3trwyMVplOc3SOD5XbYKK 6lmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=ooh6mwKy6a+QGfw+7zbwTx9DfsC355+UrHQNcQkfTs0=; b=YB4HFVUlamksQ8i3N6W0WjrP0xOrSe7nuygJ/ID9Akf2pSVM2UinvP3JRX2+kFzKAO jcQ8KWzptk3FEJpVqu41FlT7EyfYg2+CZlfWYYTcqObDLOEHyHIeR73r11cAAYkg1SmX 8WIst2t5Bc/a8Z6uyz2BIFwWjMTQ80NBOyyvoWROPFhLGzd/eQS6Vbujzje3hyYhSHqJ bmArMhlXuKI6QZ01fmwZpIXxqP88DNf7fxzmj5jYbwE4d5DMBCwcX4L6+hjOwNvnheAR U3PHcmmm0wU8A5ERq9kODf4LLToGVZ3gQZa8bsz9BEPhzunOwI9xAZOf/Xjn1jQkG0sF nhYg== 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a2si12632101pls.175.2019.08.20.09.59.51; Tue, 20 Aug 2019 10:00:07 -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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730592AbfHTQ6b (ORCPT + 99 others); Tue, 20 Aug 2019 12:58:31 -0400 Received: from mail-ed1-f97.google.com ([209.85.208.97]:46152 "EHLO mail-ed1-f97.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730581AbfHTQ63 (ORCPT ); Tue, 20 Aug 2019 12:58:29 -0400 Received: by mail-ed1-f97.google.com with SMTP id z51so7102215edz.13 for ; Tue, 20 Aug 2019 09:58:28 -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=ooh6mwKy6a+QGfw+7zbwTx9DfsC355+UrHQNcQkfTs0=; b=bT924AWwNws6iQ6zmP9UYbxSE54uKaXztRYzwxZJ2A58CULptNwXOHi0dpAzmBhgas n+SDkr9tml1KFlW7e28YVFuowGRZV8f4x3qdSUIIr51kUBLezFPtMCYDL41bNQSVBt7l SSK5tVPWxQ5wzswM538RDVCZwq+o6aEW/vwSjeEe94ShjRtptFzY16Lct7bWqOln/n8U 0ImmnqA0XliwetVFsL3CgJgUT4xM0rBdO7XeG19H7tHsctd7lSvVoeIqPIfgcQTkkU1R z4f/2qv50XaKnz4MQ8t45Gv8TeAgsPL2/yAl+CUQaPIKmrIIa83wXuvK7uGKUIdtX8Ij /YdA== X-Gm-Message-State: APjAAAVs8aVbkjaeLiyLh16tKeXgt13RpHV5hXFrvxpqzDw7Pw5kiZ2R IMWUL0TD2Co795KvWTt/f98r0PBBCRc9Bok5rXHrbASgEp290Od7eD6ysr1mFNyDHQ== X-Received: by 2002:a17:906:4d19:: with SMTP id r25mr26660999eju.125.1566320308261; Tue, 20 Aug 2019 09:58:28 -0700 (PDT) Received: from heliosphere.sirena.org.uk (heliosphere.sirena.org.uk. [2a01:7e01::f03c:91ff:fed4:a3b6]) by smtp-relay.gmail.com with ESMTPS id u11sm303737edq.8.2019.08.20.09.58.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Aug 2019 09:58:28 -0700 (PDT) X-Relaying-Domain: sirena.org.uk Received: from ypsilon.sirena.org.uk ([2001:470:1f1d:6b5::7]) by heliosphere.sirena.org.uk with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1i07Sl-0002xT-Q6; Tue, 20 Aug 2019 16:58:27 +0000 Received: by ypsilon.sirena.org.uk (Postfix, from userid 1000) id BB8642742ABD; Tue, 20 Aug 2019 17:58:26 +0100 (BST) Date: Tue, 20 Aug 2019 17:58:26 +0100 From: Mark Brown To: John Garry Cc: Vignesh Raghavendra , Schrempf Frieder , "corbet@lwn.net" , "mchehab+samsung@kernel.org" , "linux-mtd@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "linux-doc@vger.kernel.org" , "marek.vasut@gmail.com" , "tudor.ambarus@microchip.com" , "miquel.raynal@bootlin.com" , "richard@nod.at" , wanghuiqiang Subject: Re: [PATCH] docs: mtd: Update spi nor reference driver Message-ID: <20190820165826.GF4738@sirena.co.uk> References: <1565107583-68506-1-git-send-email-john.garry@huawei.com> <6c4bb892-6cf5-af46-3ace-b333fd47ef14@huawei.com> <9b074db7-b95d-a081-2fba-7b2b82997332@kontron.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="NGIwU0kFl1Z1A3An" Content-Disposition: inline In-Reply-To: X-Cookie: It's the thought, if any, that counts! User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --NGIwU0kFl1Z1A3An Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Aug 20, 2019 at 03:09:15PM +0100, John Garry wrote: > On 19/08/2019 05:39, Vignesh Raghavendra wrote: > > On 16/08/19 3:50 PM, John Garry wrote: > > > About the child spi flash devices, is the recommendation to just use > > > PRP0001 HID and "jedec,spi-nor" compatible? > > I am not quite familiar with ACPI systems, but child flash device should > > use "jedec,spi-nor" as compatible. > Right, so to use SPI MEM framework, it looks like I will have to use PRP0001 > and "jedec,spi-nor" as compatible. > My reluctance in using PRP0001 and compatible "jedec,spi-nor" is how other > OS can understand this. Last I heard Windows wasn't doing anything with PRP0001 but on the other hand the idiomatic way to handle this for ACPI is as far as I can tell to have what is essentially a board file loaded based on DMI information without any real enumerability so there's no real conflict between the two methods. --NGIwU0kFl1Z1A3An Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl1cJrEACgkQJNaLcl1U h9CKegf/diFxbL9O/cQMcq2uRUNMNl4gLgGHjuKME4Zo+1sQkFrJNR27rNlGsAh2 mulo2giJlmEzVN1m+nQouojKPegOQjt42Oj8UDF1XOg9LKisfrXp4JMQ7mmQ2Joh B37OCYGAZPzjJk6MpPwRGUD94v/BE9H6Ma5cqdL+HKTx4dIgMMdvszTG7gwsGDoP S+BjjyCx/Y/qByOr0w4VxAuMYo/D43tfzvIgcE1YnhPtnkPBIDx7qUa0gWEWVqjF q8AqdEPcJyLL3Wu+8OBPFdFRWlbjXtLwoCXy+nsC9285sqc8uF+ppJ9UyFP3FgFW J5/itNaPyZUXNmFPziim/nbgI43BTQ== =Hh41 -----END PGP SIGNATURE----- --NGIwU0kFl1Z1A3An--