Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp335103lqp; Thu, 21 Mar 2024 02:44:49 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXA2INDigmMztONN+cKWfctdLklZkEHTo4GhpUkRXl+kjcsY5CbbyzyCZys/rmkGvBCAgfpNLixL2Qg3rZyEU4IkjseCcdoITImoxnE1w== X-Google-Smtp-Source: AGHT+IHXt/7VIdFDgjISf6jaGnp534+jDZUGTPHfQZM74QiSd6og9iMrRjKsB1qJtA4wT7j9f1RZ X-Received: by 2002:a17:907:72ca:b0:a46:6f8f:d7f0 with SMTP id du10-20020a17090772ca00b00a466f8fd7f0mr1076809ejc.3.1711014289016; Thu, 21 Mar 2024 02:44:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711014289; cv=pass; d=google.com; s=arc-20160816; b=iLvvEC4vo93hbOeRxOCfuwY3Ie3aigJ4FBBTBD0D2+L5omd9rGTL5GSG13Guia3bx3 vJGLmlNMOzlKsQBOQY8yFW0UxaIzjzuE3b5spdM5JyzVFkjKxiA7EhTO2uWnLCjFa7PZ oOlTGOldwcbJN7nAQ1Xnu77Gy4r+RdRFF4RWYdjgj7J+21G7nCvxaiiQEDvarNsYsipb /vPOMFKtwLo2ZEsYF7fD1EfmZohtzoonjkvEYVrkuLmDJ5fRe2x86CgJHOYOpTDG8avx +C/gJGw7uFx2tpUpxWR4BBoazzaVRxvlz0AiBEdR0ychRqrcLbm0emUdxVWO2D9ry4tw nTNg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:references:cc:subject:to:from:message-id:date :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence; bh=2hsxxNi5MY7P0SZZCMbAVpwiLYSysiMJ6qZNr0uaJ9c=; fh=8PVqqneEjygnTs/9OLr4JjqGaVRlVuBUskiu48WS92U=; b=H+nJgKqXi0pQQQ59SEa1kA6lca34vjgqDDNH6YnnU2n1/9oTfIlxKin5Jvrya2KOR4 xQDtKbMachPFjIYu+vJYJpzhtpVRwnt32T4W4NO8upNX5nxm/Fs76/J6iO37T2DtFcy9 ukTU+CCANF2FdI6ZudW2eVIzmTPEPNvzQyDN2gBiQgwGhqoTC17qY6N+fDaGPpBQBnsU OoMukSa346s9lfFQaBMJ2WLHjsR73gOXIre/8mjtc/XNprIBPoLxFaq9LFwXr+65cOKQ Sfbe3tXLAmT0BreO0rP7rzYZGuCfCQAIIUYgdKxM4cSytBbg01GSVAPrNSpsIeQAUy6u 9zrw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=walle.cc); spf=pass (google.com: domain of linux-kernel+bounces-109861-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-109861-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id i19-20020a1709061cd300b00a448a055c0bsi7117881ejh.760.2024.03.21.02.44.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 02:44:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-109861-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=walle.cc); spf=pass (google.com: domain of linux-kernel+bounces-109861-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-109861-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id BD2311F21B9A for ; Thu, 21 Mar 2024 09:44:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E2D57446DC; Thu, 21 Mar 2024 09:44:42 +0000 (UTC) Received: from mail.3ffe.de (0001.3ffe.de [159.69.201.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7A6514F1E5; Thu, 21 Mar 2024 09:44:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=159.69.201.130 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711014282; cv=none; b=gEQjIMSa1UUTb5fyn84Oekf7bL/ocFYnind91yiTp18wdImThQlcSPxVAKJkT9pF36FuLRdFCkxMaUVv1iRZVQUw+MxfueBGIKL010sEOnBd3XACCov1QCIfw4fmQjmigCe2OS26Zz5HMtOy260IMAlRpe2omH1kqvEy0pM/dbg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711014282; c=relaxed/simple; bh=ziGevIGlkKiaegYPFPO/RtQW2rshXRVfR9JEheugHps=; h=Mime-Version:Content-Type:Date:Message-Id:From:To:Subject:Cc: References:In-Reply-To; b=Xz4nlrAA5qYbw46Fc1WM7mUzI9cwgNZ+lEct09NRCDfqTe7tCCPcb6Q6Favznd0KpenUyAoYK5rwyIjZBleK5E3eXHrnb2GkjGutb6llmDZ4ZmG66FNzqziTl7mDDdE4lMEnn4d7Ai20VDHIJXRpjII1D3ErOSs/DWybhVag9dw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org; spf=pass smtp.mailfrom=walle.cc; arc=none smtp.client-ip=159.69.201.130 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=walle.cc Received: from localhost (unknown [IPv6:2a02:810b:4340:6430:4685:ff:fe12:5967]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.3ffe.de (Postfix) with ESMTPSA id CA427959; Thu, 21 Mar 2024 10:38:23 +0100 (CET) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Thu, 21 Mar 2024 10:38:23 +0100 Message-Id: From: "Michael Walle" To: "Vaishnav Achath" , "Andrew Lunn" Subject: Re: [PATCH v4 1/5] dt-bindings: misc: Add mikrobus-connector Cc: "Russell King (Oracle)" , "Ayush Singh" , "open list" , , , , "Rob Herring" , "Krzysztof Kozlowski" , "Conor Dooley" , "Nishanth Menon" , "Vignesh Raghavendra" , "Tero Kristo" , "Derek Kiernan" , "Dragan Cvetic" , "Arnd Bergmann" , "Greg Kroah-Hartman" , "Mark Brown" , "Johan Hovold" , "Alex Elder" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:ARM/TEXAS INSTRUMENTS K3 ARCHITECTURE" , "open list:SPI SUBSYSTEM" , "moderated list:GREYBUS SUBSYSTEM" , "Vaishnav M A" X-Mailer: aerc 0.16.0 References: <20240317193714.403132-1-ayushdevel1325@gmail.com> <20240317193714.403132-2-ayushdevel1325@gmail.com> <4b319264-bff7-48e5-85e8-201ca0bafec6@ti.com> <4c299d42-84c7-46fc-952f-292cef1bb4b4@lunn.ch> In-Reply-To: Hi, > > Is that because the current software support is too limited? Are there > > manufactures who want to create more complex designed, but are limited > > by what can be described in the manifest? > >=20 > > most mikroBUS add-on boards in production lies in the category of=20 > sensors, displays, connectivity, mixed signal (ADC/DAC .etc) and if you= =20 > look at the existing bindings under bindings/iio/ , most devices need=20 > only simple descriptions and the properties are mainly standard bus=20 > properties (SPI/I2C properties), IRQ, named-gpios, named properties,=20 > regulators, clocks the extension to manifest was made taking this into=20 > account and the named property description interface just maps the=20 > manifest entries to the unified device property interface under=20 > include/linux/property.h How will the ethernet boards ([1], [2]) work? Where do they get their MAC address from, for example. The DT has some nice properties for that, but I doubt that will be possible with the manifest files. I've looked at the manifest file for the w5500 board [3] and to me it looks like that board will come up with a random MAC address on each start. Thus, even today, you have some boards which require a more complex description. Apart from the discussion whether the manifest is a suitable or sufficient mechanism to describe the hardware, I think the main problem with the proposed binding, is that it doesn't follow the binding Rob was proposing for a socket. If I want to use DT overlays, how would you describe an add-on board? The proposal was that the base board has something like mikrobus: socket { compatible =3D "mikrobus-socket"; i2c-parent =3D <&i2c0>; spi-parent =3D <&spi0>; i2c {}; spi {}; }; an add-on board can then have a DT snippet/overlay like the following: &mikrobus { i2c { eeprom@52: { reg =3D <52>; compatible =3D ; } }; spi { sensor@0: { reg =3D <0>; compatible =3D ; }; }; }; That should be possible with a binding for the mikrobus, which in fact it is just a pin header with a standard pinout. Also as Russell pointed out in v3, the EEPROM/manifest is not part of the mikrobus standard. So maybe that deserves an own compatible, like compatible =3D "mikroe,click", "mikrobus-socket"; Or maybe click-eeprom? Although click seems to be the brand name of MikroElektronika. -michael [1] https://www.mikroe.com/eth-3-click [2] https://www.mikroe.com/eth-wiz-click [3] https://github.com/MikroElektronika/click_id/blob/main/manifests/ETH-WI= Z-CLICK.mnfs