Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1678357ybz; Thu, 16 Apr 2020 13:31:09 -0700 (PDT) X-Google-Smtp-Source: APiQypIpG89FNAitqNfhdBXoQY8acAtSkro3aa4k31f6AztWLANbexKHGFZ2XBFCJ5n79ywVMO16 X-Received: by 2002:a50:d78a:: with SMTP id w10mr19378edi.356.1587069069468; Thu, 16 Apr 2020 13:31:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587069069; cv=none; d=google.com; s=arc-20160816; b=RzMI2TsYvQZEoAoFDqfG1Yp0KRFe0gX6g6fhKgxEUj1dD6JbjesJf3SS814r2PZ7ct EKKWWVktyesSmjaNCFoF/Jwg5mLEXMf4AeCi0YjcuBiWSFSPG7rHUO4UP8QbcxsXjXTF Qj0HOgy2h8KN76luDHx9CostyW89JI9sDVaM0Q7PUIEKmWzfX+eRS3Wb3MzYmYtsmXLX KvCdhZiPsK8N8cC8EULuGAzOc2UoPKZyXfj6YY1s8t2YayQBdZFgWAlVLC/Ey0v5XEOb nHRLu8y9Y0H1Km2S70jkN0s4hriNeLvEQd5Cq1SeFDa+1JvT3SqYibLyl30hcunb2oF8 vo2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :mime-version:dkim-signature; bh=SzZBIJ1vFMB5OIxa5Nui2vPMLFwAMxv68r5Gb9P72a4=; b=BqOtp+Mg8/vD27S0l9wyDHw5ZEAzO3C2eeWOG2QX8L6HDbP37gj6VunsxRgm/YiXcI JaBgbO40E8sOKqdq6xS011AnmruJ4Tj2dXYyjulVjsZ0Cbdb/bNzVNFZ4yokPAJlgWoT yugkhB5LqIu5Yjl7X0xQowIc1+041MtbeomcMCHjTr6yK4ZrbqYCUKFxowzgQEhvUesF 4lnM17qsx83J+IzLIxeAyYibqdM5f/mHK1S55M4unb5jT92X85NelrabG1TsjPxg6Ycs tYoRkKN3jU5a+UsYasGMU5HM9j35aZNkA32FdX6klIuBZAGTg7LqcHqoFBJ584oFw4B/ 8vAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ajCfJ1M6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z2si13033857edj.387.2020.04.16.13.30.46; Thu, 16 Apr 2020 13:31:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ajCfJ1M6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2394598AbgDPOrZ (ORCPT + 99 others); Thu, 16 Apr 2020 10:47:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39748 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S2394668AbgDPOrK (ORCPT ); Thu, 16 Apr 2020 10:47:10 -0400 Received: from mail-ot1-x341.google.com (mail-ot1-x341.google.com [IPv6:2607:f8b0:4864:20::341]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D11B2C061A0C; Thu, 16 Apr 2020 07:47:09 -0700 (PDT) Received: by mail-ot1-x341.google.com with SMTP id w12so3210324otm.13; Thu, 16 Apr 2020 07:47:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=SzZBIJ1vFMB5OIxa5Nui2vPMLFwAMxv68r5Gb9P72a4=; b=ajCfJ1M6r2pZxJFBvjyDS8dD2joULw4EAc5H0mUZ34t9TrnLn82hTVK4ipAPhoLJ3g H6Wpxu5xO09esKSA678AUobqdfxkPv+4G2L5gLqxZOc3w9idnRf2OW19iCOkJ4RXl4Q1 XNiOX/I3JPJlp3dUju+l1JTdKbcI3CNOIJGMAcJjKxEsBV9tJv2pdzgEuUuFerEK0mHq CDNHbUGp93DHYehQeGHMdBDIaj+40uajAF8xsfwo8u3p9SKulj+82I+z+LFTZ9PZgNOH SoB5Bqg4Pgt6gR2OralSQexTeQ3UbkYiwFmJRSDru20gyW0b6J8xWXSZqBf4qQuE2D4e 2bgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=SzZBIJ1vFMB5OIxa5Nui2vPMLFwAMxv68r5Gb9P72a4=; b=G8N3SlkVrImm+abMSKvWrclAvW4wHjgPbSMCGekCyZ4GLyvezUS8S91yLmYSVJ8aAz 5ixieeWM2O0vtJ4j9cYvQgTilTSww5XKtAZdFeEeucvFT8IpizQZDc9q8Q3PSACDc0lH pqVEg5D8xUPvB8jncnVehlz7Ax3E3tVVYbLCcGNKhuEwVMTehy5FJ3zkwHRqIreGoit1 lw3CC81lT5T13oQ51qVLrbzmNVwNqZOyiKz1JJZ6qM5lyFwRErIn79dxgLeo76GgTqgE 18UfwZZiKwis/ibP2VdGYLVsgNnrDVGe3mwzAO7Sx50j5mEvlua4ZISicZLHVAxy4bRi nwuQ== X-Gm-Message-State: AGi0PuYcQ8GA2mGYYV4wTqiPPI7blaPFi7FpLQ509jnyNMRnRBYyunWM ktN+nHrZSg76VdKKiD7i/cJMCsO0UZ4lQhtfuzg= X-Received: by 2002:a9d:12f6:: with SMTP id g109mr10158623otg.0.1587048429098; Thu, 16 Apr 2020 07:47:09 -0700 (PDT) MIME-Version: 1.0 From: Sven Van Asbroeck Date: Thu, 16 Apr 2020 10:46:58 -0400 Message-ID: Subject: [Q] devicetree overlays To: Pantelis Antoniou , Frank Rowand Cc: David Airlie , Daniel Vetter , devicetree , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Pantelis, Frank, A quick question about the state of devicetree overlays. There don't seem to be many in-kernel overlay users (rcar and fpga only?). Does it make sense for new projects to use them? My situation is this: I have hardware which consists of several modules. Knowledge about the type and location of these modules is located in an on-board eeprom. So now I need to assemble a devicetree, by puzzling various 'blobs' together. This could be done in the bootloader, but also by a rcar-like driver, which queries the eeprom and inserts devicetree fragments/overlays into a live kernel. A couple of questions: - are devicetree overlays here to stay? (given that there are 2 in-kernel users) - does it make sense to solve the modular devicetree problem in a rcar-like fashion? - is there perhaps a more canonical / idiomatic way to solve this? Sven