Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp4491573rwe; Tue, 30 Aug 2022 11:02:50 -0700 (PDT) X-Google-Smtp-Source: AA6agR4PNR+jkauBX/KwZAaGAqC8F6ip+ieJsQurHRMIgaR2Vj8Q7WdYoXaqvvYNOZiZC/tNvm6m X-Received: by 2002:a17:906:847c:b0:73f:d7cf:bf2d with SMTP id hx28-20020a170906847c00b0073fd7cfbf2dmr14094374ejc.327.1661882570483; Tue, 30 Aug 2022 11:02:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661882570; cv=none; d=google.com; s=arc-20160816; b=v9VnehFpUQRCCjP7FjXGX2GWxuUWFkspBe9guOPrtKUdEkrwMTt+HZg3h2+taFioVn jPFluFNEtlxtzNti35Wlj2dE6dwuk2ZEwxvmXwuYXM8cA053qBfmywrjyjG1aoNQmRmW DCy+ldP5PhGmNBbmuz5+1QPoaoj86kIN+iE2N+acyrS4j46eTkM0FK6T4YqhjtnqRfOa f1v5Y0Io0o6FEY51Q+PR8XO96NeY+g1J7P3QZokwy5xfedX9Eb8K5GK8A9YFS0uTzoYC K3LZskq1dVNEq9qoW+ooMupUeefeRcARj2PbPRCmzqrTKyBvTdP0txstMRYHlTMSd+/b BwPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=4oLornOVjulEhAP01pKqWVy9qULQoBVG2owDVTSt2sY=; b=wU/PgThBpOkMN8R84DhOQTHdMsq0DJXGt59/ngDYonZF2mI/HsVNxAFfj5R/ADd7EZ aUqf+c1apJ/qPaoTOL7sAUZCD9Nt68vcQl1yrUPBp5P1owh1CePpTyn1rGeItN3QVpm8 GXQjc/d7ntOVL/d8+PW49fnk9/FWHD3NgnIIyM49aCHTF4FUGANV8MyOUO3SACnP6eyb s4rlpz5Lm3CjF6Gg0aFGGsu5TW/+OX97nIhORhMTK6sKHqT/VZOcsaaFF5zt5KurEKK5 IFPzB0vQrobKeCW+Po4a5BD8T6q9W4o57CKoOo36rwlzJJPJKkKVnQi2BpktXaFOmGcA QgTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JqQvaKAy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e7-20020a056402190700b0043dff638b33si10507117edz.285.2022.08.30.11.02.23; Tue, 30 Aug 2022 11:02:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JqQvaKAy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231668AbiH3Rqv (ORCPT + 99 others); Tue, 30 Aug 2022 13:46:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48450 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232068AbiH3RqU (ORCPT ); Tue, 30 Aug 2022 13:46:20 -0400 Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D06712496F for ; Tue, 30 Aug 2022 10:42:41 -0700 (PDT) Received: by mail-lj1-x236.google.com with SMTP id bn9so12146119ljb.6 for ; Tue, 30 Aug 2022 10:42:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc; bh=4oLornOVjulEhAP01pKqWVy9qULQoBVG2owDVTSt2sY=; b=JqQvaKAyf4NiH7wH0XvTGOv7bwgM02SZ2JlPTqBr+6bjakQ88TGk6oKBe14UVEMDfe HMO1MtVqLdcXBs7NtWWeekV6URrE3hVxnSAb8JPxoMd9af1aJBAbthn3NmOryfdAJhdh ah2NqPyrBlwfY4EOxBMU85j4+XkJsQ4Shy2L2o2zyBoIFqwwLrIxleWNuUhwrwh6Z+WN o+AuVEvbnHSg6x/xyWOrKJUgED8OE1oppPESoxyZXbCuk8eFX5z9/vbXgdaZu6Qsrbdg gk/sYfHZjwthuI4Czn9yIB9wTVytIoZ6cfz8pvNtENcfwTt1ucC9zBV8Z+SoMdDNsKwI 2kZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc; bh=4oLornOVjulEhAP01pKqWVy9qULQoBVG2owDVTSt2sY=; b=jeYDCZ2fOoaUJh5u4ITMqDcBXo7gDchoVDkgE16oz4kxYoMV7jA2rmEBf2977Yeq9e FHo88YkvEslpq5SB7NawgAisHhwSc+tstD4scR+8Oq38CsBA8Lo/rOyQV9lSXpKDJhd1 mONLf1KXPz+fo2/h+cQNzQtZqkUmljVVxOsAVqOlOMG6STFAVqaUimh5e6DBDPtmIKpb QKjeSGRxK3YzXw1mqXkZQ9WqaVUqCehaq2TJ/gCE16uc1Sf4LUFw4GmZJm2NmyLv8oja qjzgp0uqeEsg2orT4tGF4BGV4U07gd3hkV+CFuwjrHoumreFWl5jJXjtURYfHemSO+hw omiQ== X-Gm-Message-State: ACgBeo0czDlPd7n8g0z69KGG2gsSr0bPnPM/PxO3gKGVl51nkhP3uTIB TcQD0Srr6qiGDR420UhfNG+Qq0UY/BBV13Mi X-Received: by 2002:a2e:9c88:0:b0:263:d696:75b7 with SMTP id x8-20020a2e9c88000000b00263d69675b7mr3926487lji.461.1661880610307; Tue, 30 Aug 2022 10:30:10 -0700 (PDT) Received: from [192.168.28.124] (balticom-73-99-134.balticom.lv. [109.73.99.134]) by smtp.gmail.com with ESMTPSA id bj36-20020a2eaaa4000000b002641ede39e1sm1112468ljb.9.2022.08.30.10.30.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 30 Aug 2022 10:30:09 -0700 (PDT) Message-ID: Date: Tue, 30 Aug 2022 20:30:07 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Subject: Re: [PATCH v2 2/9] dt-bindings: riscv: microchip: document the aries m100pfsevp Content-Language: en-US To: Conor.Dooley@microchip.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, Daire.McNamara@microchip.com, Shravan.Chippa@microchip.com Cc: paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, Cyril.Jean@microchip.com, Lewis.Hanly@microchip.com, Praveen.Kumar@microchip.com, wg@aries-embedded.de, Hugh.Breslin@microchip.com, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org References: <20220830101803.1456180-1-conor.dooley@microchip.com> <20220830101803.1456180-3-conor.dooley@microchip.com> <27b8aa9e-9173-b40e-8f9c-a53fa5ba36c8@microchip.com> <1065bc99-d73a-9d19-7f09-26cd862fe0c7@linaro.org> <69027950-f18d-c9a7-9f0b-d73ef68197c7@microchip.com> From: Krzysztof Kozlowski In-Reply-To: <69027950-f18d-c9a7-9f0b-d73ef68197c7@microchip.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 30/08/2022 19:59, Conor.Dooley@microchip.com wrote: >>> w dts were >>> needed so that the gpio-hog could be set correctly. Out of curiosity, I can >>> have the same compatible in multiple devicetrees right? In that case, it >>> would just be "aries,m100pfsevp" here and I could put that in both? >>> Would make things easier.. >> >> Depends, but I would say for this case rather not. The compatible should >> identify the board. If the boards are different, one compatible should >> not identify both of them. Imagine U-Boot (or something else) trying to >> match the DTS. > > It is the same board though, the way the bootloader works is that if it > detects an SD-card it will use that to boot from, and if not will fall back > to the emmc. Wait, I might miss that part. So this is exactly the same hardware with the same SoM/SoC, same eMMC and SD card, except that one has plugged this SD card (as it is hot-pluggable)? Best regards, Krzysztof