Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6F659C7618D for ; Thu, 6 Apr 2023 20:39:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=FK467SPX/R20X31eeXGtWDzzwV3OV1VZn35f8GdXn9g=; b=EkU+S5/KdlLUfe JAdn6j3VjtwJZVsVhnAHHy/Ay/F4QgJqDxEdEzYCfVIv+e8RMJeIGUVmFyI5GrvdG8Pi9n43D/9x4 wu1L63729cuITkJMJ7nRCKKyw92TcaWu3iVFyoADkhudr6h1oGdunpemAPcyn89DYSXJt6Zbp1IUg dHY1H8rmBaD7tI0CrHLA+1Nj6vVnkYpoxkxW3no9n8/he7ogXT7RvHJlayzIBarLL0M0avrf1g/ZR G4pr4mRkZexKAgHs0EvW3+mT4BiD0rWh8jC6KY67kacePn8mn1hstctvdo5KULNiouD9lkLQ9ITRu y6dEehvWBBTWXpdqQhbg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pkWN2-008YKV-0v; Thu, 06 Apr 2023 20:38:12 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pkWMz-008YJm-1v for linux-arm-kernel@lists.infradead.org; Thu, 06 Apr 2023 20:38:10 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id A54B960F7E; Thu, 6 Apr 2023 20:38:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9211FC433D2; Thu, 6 Apr 2023 20:38:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680813488; bh=3Cznac5B+3sy6hB9DB3/iijT0kNRLGM0krGAPHIjwzU=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=XFJOGBaUci1k2qda+64OPr7W9hnUOcTeNhu8CRqtWNtPwUevBZwT16jGG3OVwhyt6 AuNgxgN1jYEMc5w6gdtT9yJkiZucj+V/TNA30stBeFypoEk7ngGvA6hqr02fwi5Aez GHIbpj6mPZOr3k79jsZDKz8U4hCkRCsxNRrSyrRO+wsrPoD+BVL8nkL8cgyQi8KOCn dERdf/af6ZVxFtDuA+E7sSDkjuZjomZO80b6DxcjawKGW1SgxcO7nPGGFoR+oMlhid NBMfqT6f5zCbIiEtVmuoanCXWzgnXbMAvqboU/k95P4EGkmZtrMa7LljcY1ea7YzzI TCri2M0SRZ1vg== Message-ID: <8353399f-c6de-8da7-78f1-d6a558c462d0@kernel.org> Date: Thu, 6 Apr 2023 22:38:03 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH V2 3/3] ARM: dts: imx6ull-dhcor: Add Marantec maveo box To: Christoph Niedermaier , "linux-arm-kernel@lists.infradead.org" Cc: Rob Herring , Krzysztof Kozlowski , Shawn Guo , Li Yang , Marek Vasut , Fabio Estevam , NXP Linux Team , kernel , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" References: <20230406154900.6423-1-cniedermaier@dh-electronics.com> <20230406154900.6423-3-cniedermaier@dh-electronics.com> <5478133e-7772-1db9-3473-1ec86fa2aae2@linaro.org> Content-Language: en-US From: Krzysztof Kozlowski In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230406_133809_695926_0F0B8376 X-CRM114-Status: GOOD ( 16.33 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 06/04/2023 21:57, Christoph Niedermaier wrote: >>>>> + aliases { >>>>> + /delete-property/ mmc0; /* Avoid double definitions */ >>>> >>>> I don't understand it. What is "double definition" of aliases? >>> >>> Otherwise I end up like this: >>> mmc0 = &usdhc1; >>> mmc1 = &usdhc2; >>> mmc2 = &usdhc2; >>> >>> Is "Ensure unique allocation" a better comment here? >>> >>>> >>>>> + /delete-property/ mmc1; >>>>> + mmc2 = &usdhc2; /* eMMC should be mmc2 */ >>>> >>>> Why? How is this labeled on the board (physically or on schematics)? If >>>> you answer here "for booting", then the answer is NAK. Don't add >>>> software policies to Devicetree. >>> >>> The name in the schematics is "SD2". >> >> Answering also to above - then likely the aliases should be dropped from >> SoM. I doubt that Som calls it SD1 and your board SD2... > > Maybe I don't quite get it, but the hardware starts counting at 1. The first > interface is SD1 and it is used as WiFi. The second one is SD2 which is the > eMMC. So with this aliases it should match SD2 to mmc2. > Do you want me to delete the aliases in the include file "imx6ull-dhcor-som.dtsi" Yes, because it incorrectly calls eMMC as mmc1. You said it is SD2, right? Best regards, Krzysztof _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel