From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=17.171.2.31; helo=mail-in21.apple.com; envelope-from=afish@apple.com; receiver=edk2-devel@lists.01.org Received: from mail-in21.apple.com (mail-out21.apple.com [17.171.2.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 7636921A10997 for ; Sat, 25 Nov 2017 11:37:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; d=apple.com; s=mailout2048s; c=relaxed/simple; q=dns/txt; i=@apple.com; t=1511638909; h=From:Sender:Reply-To:Subject:Date:Message-id:To:Cc:MIME-version:Content-type: Content-transfer-encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-reply-to:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=2Le5zcbMg/aRFAar5lISlkYpMKwovMNemkoZLFe2MJA=; b=qNxt6Mh6n9wgE6Fk3bmMA8R8EkJRJJT5pXs4nPaARrP3Au5OcSmbkYO15QTaCWti f2IvrBk6JlXYcKLKIsoxAoCNNK9XT2ez9Samvv6cLU/nr36xKJxM1M9m0d8bmswF mGU1HbmDp51Z8xdI/pIJBGm0mEnkSGwoJ1oG5kUd995jM37YXH8vMsAv0pO1Mtn9 NVcGaA6wGYmDQRAyUFUHXAR52sEnMRWtEffBP6Jrm4YGkctcbHDMHtdKXe6e4y9v zs93sI3IC+L44rz/KkJgBqwu8ofXECKiljWCXP7l1sJ7IBpTO4fv4szTos0hHQ2R lDpT92ac96+p0S+Ibj1jGA==; Received: from relay5.apple.com (relay5.apple.com [17.128.113.88]) (using TLS with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mail-in21.apple.com (Apple Secure Mail Relay) with SMTP id E5.56.01566.C77C91A5; Sat, 25 Nov 2017 11:41:49 -0800 (PST) X-AuditID: 11ab0215-49c869c00000061e-dc-5a19c77c90b0 Received: from nwk-mmpp-sz10.apple.com (nwk-mmpp-sz10.apple.com [17.128.115.122]) by relay5.apple.com (Apple SCV relay) with SMTP id 4A.80.18983.C77C91A5; Sat, 25 Nov 2017 11:41:48 -0800 (PST) MIME-version: 1.0 Received: from [17.235.58.21] by nwk-mmpp-sz10.apple.com (Oracle Communications Messaging Server 8.0.2.1.20171102 64bit (built Nov 2 2017)) with ESMTPSA id <0OZZ00H1WO1N1S30@nwk-mmpp-sz10.apple.com>; Sat, 25 Nov 2017 11:41:48 -0800 (PST) Sender: afish@apple.com From: Andrew Fish In-reply-to: Date: Sat, 25 Nov 2017 11:41:54 -0800 Cc: Daniel Thompson , Ard Biesheuvel , "edk2-devel@lists.01.org" , Leif Lindholm Message-id: <52514A09-FA53-4051-AA7F-F59F5E8F6D17@apple.com> References: <2166aaa7-2f96-50d4-4502-bbb9b8b9ef22@linaro.org> To: Udit Kumar X-Mailer: Apple Mail (2.3273) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrALMWRmVeSWpSXmKPExsUi2FAYoVt7XDLKYO5eIYv/H3YzWpx5c5fd Ys+ho8wWn3bvYbFYseQQmwOrx51re9g8umf/Y/HY+G4HUwBzFJdNSmpOZllqkb5dAlfGxjvT mAo+CVR8bNnG0sB4mbeLkZNDQsBEovnVQZYuRi4OIYE1TBJ9E/+wwSSWfPzOBJE4xCixq/k4 K0iCV0BQ4sfke0AdHBzMAvISB8/LgoSZBbQkvj9qZQGxhQS+MEqc2BcPYgsLiEu8O7OJGcI2 l9g86ws7iM0moCyxYv4HMJtTIFliRdMKsJEsAqoS6/rKQdYyCxxklJj6rp0ZYq2NxOuu3VCH PmCXaHh7BiwhAjTodsMUZoijZSVuzb7EDFIkIbCATeLh8y/MExiFZyG5exbC3bOQ3L2AkXkV o3BuYmaObmaekaFeYkFBTqpecn7uJkZQFKxmEt3BOP+V4SFGAQ5GJR7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: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Nov 2017 19:37:30 -0000 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII > On Nov 25, 2017, at 4:56 AM, Udit Kumar wrote: > > > >> -----Original Message----- >> From: Daniel Thompson [mailto:daniel.thompson@linaro.org] >> Sent: Thursday, November 23, 2017 1:42 AM >> To: Ard Biesheuvel >> Cc: Udit Kumar ; Leif Lindholm >> ; edk2-devel@lists.01.org; Varun Sethi >> ; Graeme Gregory >> Subject: Re: [RFC] ACPI table HID/CID allocation >> > >>> >>> PRP0001 + compatible was invented to avoid the need to allocate a _HID >>> for each and every component in existence that can already be >>> identified by a DT compatible string (and little else except, e.g., a >>> I2C slave address) and is not deeply engrained in the SoC in terms of >>> clock tree, power states etc. So while internal/external may not be >>> the most accurate distinction, it is still a useful one IMHO. >> >> Hmnnn.... it sounds like jedec,spi-nor meets this test. >> >> There is only one property in the DT bindings that describes the device >> itself (fast read support) rather than its "bus address" (chip select, >> frequency). Further, that single property is obsolete, at least for >> Linux; the kernel driver now contains a quirks tables to look up by >> device ID whether fast read is supported and will use that on non-DT >> systems (and also to censor broken DT systems ;-) ). > > > You mean, this more on bus frame work, how to probe slave. > Example rtc-ds3232.c , when is spi mode just need name > but for i2c mode it needs of_match_table > Udit, I think it is more like you only need ACPI if you don't have a driver. If it is standard bus with standard drivers the OS code can do power management without any help from ACPI. In general ACPI exists to abstract chipsets that don't have OS drivers, or mother board layout of power plains, GPIOs, etc. Thanks, Andrew Fish > Thanks > Udit > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel