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=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no 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 8C3A4C32771 for ; Wed, 15 Jan 2020 23:11:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5A3C222522 for ; Wed, 15 Jan 2020 23:11:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729454AbgAOXLC (ORCPT ); Wed, 15 Jan 2020 18:11:02 -0500 Received: from mailoutvs55.siol.net ([185.57.226.246]:57398 "EHLO mail.siol.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729394AbgAOXLC (ORCPT ); Wed, 15 Jan 2020 18:11:02 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.siol.net (Zimbra) with ESMTP id 7ECF95229C0; Thu, 16 Jan 2020 00:10:59 +0100 (CET) X-Virus-Scanned: amavisd-new at psrvmta12.zcs-production.pri Received: from mail.siol.net ([127.0.0.1]) by localhost (psrvmta12.zcs-production.pri [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id G8KZ7vYm0PJ9; Thu, 16 Jan 2020 00:10:59 +0100 (CET) Received: from mail.siol.net (localhost [127.0.0.1]) by mail.siol.net (Zimbra) with ESMTPS id 2E8355229D0; Thu, 16 Jan 2020 00:10:59 +0100 (CET) Received: from jernej-laptop.localnet (cpe-194-152-20-232.static.triera.net [194.152.20.232]) (Authenticated sender: jernej.skrabec@siol.net) by mail.siol.net (Zimbra) with ESMTPA id C0A525229C0; Thu, 16 Jan 2020 00:10:58 +0100 (CET) From: Jernej =?utf-8?B?xaBrcmFiZWM=?= To: Rob Herring Cc: Maxime Ripard , Chen-Yu Tsai , Mark Rutland , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , devicetree@vger.kernel.org, "linux-kernel@vger.kernel.org" Subject: Re: [PATCH 1/2] dt-bindings: arm: sunxi: add OrangePi 3 with eMMC Date: Thu, 16 Jan 2020 00:10:58 +0100 Message-ID: <4200557.LvFx2qVVIh@jernej-laptop> In-Reply-To: References: <20200115194216.173117-1-jernej.skrabec@siol.net> <20200115194216.173117-2-jernej.skrabec@siol.net> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Hi! Dne sreda, 15. januar 2020 ob 22:57:31 CET je Rob Herring napisal(a): > On Wed, Jan 15, 2020 at 1:42 PM Jernej Skrabec wrote: > > OrangePi 3 can optionally have eMMC. Add a compatible for it. > > Is this just a population option or a different board layout? If the > former, I don't think you need a new compatible, just add/enable a > node for the eMMC. I have only board with eMMC but I imagine it's the former. Even so, current approach with Allwinner boards is to have two different board DT files, one for each variant. This can be seen from Documentation/devicetree/bindings/arm/ sunxi.yaml which has a lot of compatibles ending with "-emmc". I guess reason for that is to avoid having MMC controller being powered on for no reason. Best regards, Jernej