Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp829835lqt; Tue, 19 Mar 2024 05:26:04 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWYEYcNGYEAxoJYu8a/92JEG0DGuDHKDrJTz0Vj/BbEqjnazz+OV5k/jzd2Dhnznuw6xzdTWfJbA7O4f+g18/0B2ulf1FxuAAe3w6yrXg== X-Google-Smtp-Source: AGHT+IFuiSY2P54yB3DoW8XPLmsJOpMyQ7qAvezldPLb99x8nimSY5YCnHRBKFYIJbu/IzlJX+I8 X-Received: by 2002:a67:eb0a:0:b0:473:18d9:caf5 with SMTP id a10-20020a67eb0a000000b0047318d9caf5mr12166461vso.24.1710851164081; Tue, 19 Mar 2024 05:26:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710851164; cv=pass; d=google.com; s=arc-20160816; b=xlNH60auvvXr2AmUz7ZIc9Ic2qWOg0kFlDFsPZurppDZnrfnNb5nD7teTndWACox7T VsT5dyye9+mkKShlMHthFyeMuS5JVQd+YbWtJ8LTi6hSYZxp7QpQbqZJWav9BuPnO363 ECRJPaHNeZku7qXab9RIaO7o45YcG1e0kezatKrD5ztIOADYxX/yfM3GGoF0kkrNxSGo 3ZxTv7T0XLwLJr25l+mok6yQCr82uSUAgK+akiQv2vDVZN/Z//fXBsKhq7Zk1usa2vVl D/Mpj0GXX/25WYMa4RfUuzst2faR7OOplPBpv4GjJr/1ttCsRHOODdBZTtjvmhdNwiv5 VPQA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=oLvla2oyvXXJnH6StnpXdN8ZvKvla8sutF0A+RVM3SI=; fh=S4X4iFHeTFEFCwsUmbQxTUE0mQb+eT34BwqA8WJskxY=; b=BDp8za61GKMrRjIm4PhKyOkzlcfuaZIXdN87c2VxR4AZ62crNgiP1VaiUsaEBSa1pQ 9A0gUbioTd1Dnhdoxp3RvBRKLgdSQfot/Llkyqsc9gXaWNLlvvZANr3xH9ZpBNuGntzu x9WqHiPATLhlbRqru2nncWHs7m5YQlwvm90syGlGt7LqP688zGgKnidX4EI4g+y+YQVj YkYpf6LXgzC84vrmAo9Lu7MQWHiDZ7QFaCAvVEQhkHTi9rOstZTPtIYMjhphgiSoOzcd CBPrBZrO+kq8ct5YzGzGAS4tjHJ4owEjFVqCN6TGXdxPKcPJZ0pHOxEFoLsJWGkPPRCM dnwg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=ol0N8V5O; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-107514-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-107514-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id pt9-20020a056214048900b00690c86259ccsi10752407qvb.581.2024.03.19.05.26.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 05:26:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-107514-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=ol0N8V5O; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-107514-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-107514-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id CB9D91C21EB0 for ; Tue, 19 Mar 2024 12:26:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 013E77F7D9; Tue, 19 Mar 2024 12:25:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="ol0N8V5O" Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (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 55A1E7F469; Tue, 19 Mar 2024 12:25:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=156.67.10.101 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710851156; cv=none; b=nLX8Q5bzU7ot8+zHqEvWCBvBSTDDWRigdiNgb+hldkxdmqqkJUzITboJ86THvS4IkFlIn+HbXKPl6L8NUMKQDE2ykyldoNO/IZ0CEgBwtQqTQlk14zPwKi+IbXR60LTjsAyYAiKVt6qEYGYQ9Ez+vBCwBkLn3jEMnjdA0U4FXYE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710851156; c=relaxed/simple; bh=BP3B84ARNrn7lXfL6vg/q+uz5CqMrzfZiAc+JtFzzGI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=FMZGu/njMsd9toWPXFjia3ZY/Mw/RIsSSrAkQ8Wj91ZSU8AmohEqYxIE5cmLMVIuQu/CqpHdKGPB1kYYJStuXCqT2XZoCGjnIUeNvQ9hpMQToM4oIUsfvkvydTuMEMHsKrPCZnOs3HDMv3Winbr8pmnRSldXD9y3AkZMoSlokNs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b=ol0N8V5O; arc=none smtp.client-ip=156.67.10.101 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=oLvla2oyvXXJnH6StnpXdN8ZvKvla8sutF0A+RVM3SI=; b=ol0N8V5OvA2RhRy82GsC+gtUiA iWxQT13z+0a4GNIjKIrRvLJGv3xjGoqFCwB30c1fchr32JMByCSjbmtdVkshtAA4jAOwtMJzr6EL1 9l7ZvozHYaJjy0C1a0CEWClJkSRY3LGvPKmB3dn3mZnmN3Km9wqf2SMMdK8ZPLmuuzas=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1rmYXF-00AhIs-Tv; Tue, 19 Mar 2024 13:25:41 +0100 Date: Tue, 19 Mar 2024 13:25:41 +0100 From: Andrew Lunn To: Ayush Singh Cc: Michael Walle , open list , jkridner@beagleboard.org, robertcnelson@beagleboard.org, lorforlinux@beagleboard.org, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Derek Kiernan , Dragan Cvetic , Arnd Bergmann , Greg Kroah-Hartman , Vaishnav M A , 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 Subject: Re: [PATCH v4 1/5] dt-bindings: misc: Add mikrobus-connector Message-ID: References: <20240317193714.403132-1-ayushdevel1325@gmail.com> <20240317193714.403132-2-ayushdevel1325@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: > The device tree defines the SPI controller associated with mikroBUS SPI > pins. The driver on match queries and takes a reference to the SPI > controller but does nothing with it. Once a mikroBUS add-on board is > detected (by passing manifest using sysfs or reading from 1-wire EEPROM), > the driver parses the manifest, and if it detects an SPI device in manifest, > it registers SPI device along with setting properties such as `chip_select`, > `max_speed_hz`, `mode`, etc., How complex can the description of the hardware be in the manifest? Could i describe an SPI to I2C converter? And then a few temperature sensors, a fan controller, and a GPIO controller on that I2C bus? And the GPIO controller is then used for LEDs and a push button? DT overlays could describe that. Can the manifest? Andrew