Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp186646lqt; Mon, 18 Mar 2024 05:23:55 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWrL4FyUfJGyQxvcuyItnTte8gr/XMMFnIv9+aPtLMTE8Iw6voaQxq8F8+g/smYWWTSiOn52ekCeO0rdoQUQyC9Wyt3vYIKHV05LG8/ew== X-Google-Smtp-Source: AGHT+IGVVIdUUTiQsA8P5t0iwL9Iu1Mh6Y8P8KniXnj00kcCwi6WFIVI1aaCPsMI+60L4udAbRC6 X-Received: by 2002:a05:6a20:4289:b0:1a3:6ea1:cd92 with SMTP id o9-20020a056a20428900b001a36ea1cd92mr244992pzj.8.1710764634898; Mon, 18 Mar 2024 05:23:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710764634; cv=pass; d=google.com; s=arc-20160816; b=Nz1Dx4ctDAiXbIVxZwcAJ2IQV8q0/J/+60Q5KO6GzTPl3bf6xF3cqwhlNPVjBiclu0 haQOx/MDpLq5WrFyvQGD/1YX3DtA5L8VuI/ZIMvP4OEicgKSqFZzRRWgqMwLFBaWbpxp J1o2nV/tU/r5HnaOKeG3SxPDBRdRnZgC8BGqXOGTo/ltzIq76IOcZHl9QunyvzvdhyTe 791kKMxKwcY7OWkruMGDtGpBb8vKmTTW7CcbIgrZQ/pZf5eA+eOe6KwCu2cvEqXG7XiP t9CMXBXZieNxWb+rqaXS8PMulVRE4Z+9CMxWIhjAYtikCil30OxShf45idC6Na0+HEqd Kjjw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-id:precedence:in-reply-to :references:to:from:cc:subject:message-id:date:dkim-signature; bh=uJVlbWLABPlMuICWBVqsEP8giDV/8flxyPC4bGUlvuk=; fh=aMoAsrVb2HPQfA1bsAZJwJYMyRj6Es/d4hUZn3SR3jo=; b=a2XJV2sew7mLXQAaWNi3WsqWFLpAEEfPBwt9jx/M/Y59xIaKfOHOiDRIYFZ7gU1VnV mAaWY2vD5MOFKZ/fQMFVzvLmcHvz+tas/Ec34D8+WYA9R3KA732jG40wsXmrOPCwcT/x EK/nFubT/tJroLLsI5HesZfzOJPg9hPkut5w/fzBlGXZYnPInbn3e6XU35ouNUTaYWxY 9n6ECDFmpHyMTbBxq2SqltWAAJtui9Qeq5aMs66j9KbMHwusccJW1k4fadV605pDkbWz uvieX3HVEU3yWcOHGrmGAS4LqOe/WZvd1JkyUs3eNl7HREpImoM2EUwdnBi6C5aobaik Jp0A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Ln+WCaVd; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-106107-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-106107-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id x52-20020a056a000bf400b006e558757d5csi8822162pfu.16.2024.03.18.05.23.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Mar 2024 05:23:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-106107-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Ln+WCaVd; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-106107-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-106107-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 15B4CB21A2A for ; Mon, 18 Mar 2024 12:22:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B3316381C8; Mon, 18 Mar 2024 12:22:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Ln+WCaVd" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 D53F9A2A; Mon, 18 Mar 2024 12:22:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710764567; cv=none; b=F8nngUOg2d3h8yyhPj0UcEJ3l1kDPRH0a2yckMgTNdZUA8tWzyZr+wGvYVBCCZqa8Ln032NSJxq1/Spr85CZJyv7RZ9Ty3EvojycsE6xJ6qmK7Dq4gVfiLHa6kVpH00H2FVENPJiOV2b6HIxK7NR1SU7c4m577tjRzD0pCYE7a8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710764567; c=relaxed/simple; bh=un1g+YfgVkYFs27YaapA86lET7/7qDXX/87foF3/4jQ=; h=Content-Type:Date:Message-Id:Subject:Cc:From:To:References: In-Reply-To; b=YtZdW9emqGJk0qviqH+fahG6/1W/YLJlqjOryrmhCpqH5arkpZLfog+1+Rj3AGFjk7K4Ea3F7PTEQsZc/9xKC/IqTZOiMwI/uD676RTaO0RyCeN3gatf4U0cjHpOQFuFwYrHrgwmlvMmixz6uSHUXIR71O0FWDWQw2wrYCQYs+4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Ln+WCaVd; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D97ADC433F1; Mon, 18 Mar 2024 12:22:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710764567; bh=un1g+YfgVkYFs27YaapA86lET7/7qDXX/87foF3/4jQ=; h=Date:Subject:Cc:From:To:References:In-Reply-To:From; b=Ln+WCaVdNRqXaJFEuNS5IoXa4rRybNMBmx+LnPLdoJtQJ4xqmpdcYJHtwq71mfprs KdfRAPkcJDqETrkrxAeuexH4AwM/KC+fDT4tFJ1PjqK4U2H4DBxZ0uiqMMz0W8msIY whR+8woYzhVQN24/90IGy2hWtUoWfHD+lN1hRiS84pO/zXHG1d3QVM9RfiXDkCY+hZ pAPYFgNtweCNjG9uMaWNln7uobtZUG2Ul3pwmZdrbwpXYUnD77+NqPzfCKDPzwH+XJ W6aQtPsJsnE2ii5mWbSlzK8eyDf1uj35iYzKLnJ8ZF4jsax2P7EOMNCfCIcwGtVwOr 5ETGK47CYH+pA== Content-Type: multipart/signed; boundary=5b1cdbb2bfff3981f7fa73881728b1e490b4ec8b8dbb9cc9a77399e55bd9; micalg=pgp-sha256; protocol="application/pgp-signature" Date: Mon, 18 Mar 2024 13:22:39 +0100 Message-Id: Subject: Re: [PATCH v4 1/5] dt-bindings: misc: Add mikrobus-connector Cc: , , , "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" From: "Michael Walle" To: "Ayush Singh" , "open list" X-Mailer: aerc 0.16.0 References: <20240317193714.403132-1-ayushdevel1325@gmail.com> <20240317193714.403132-2-ayushdevel1325@gmail.com> In-Reply-To: <20240317193714.403132-2-ayushdevel1325@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: --5b1cdbb2bfff3981f7fa73881728b1e490b4ec8b8dbb9cc9a77399e55bd9 Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 On Sun Mar 17, 2024 at 8:37 PM CET, Ayush Singh wrote: > Add DT bindings for mikroBUS interface. MikroBUS is an open standard > developed by MikroElektronika for connecting add-on boards to > microcontrollers or microprocessors. > > mikroBUS is a connector and does not have a controller. Instead the > software is responsible for identification of board and setting up / > registering uart, spi, i2c, pwm and other buses. Thus it needs a way to > get uart, spi, i2c, pwm and gpio controllers / adapters. > > A mikroBUS addon board is free to leave some of the pins unused which > are marked as NC or Not Connected. > > Some of the pins might need to be configured as GPIOs deviating from thei= r > reserved purposes Eg: SHT15 Click where the SCL and SDA Pins need to be > configured as GPIOs for the driver (drivers/hwmon/sht15.c) to work. > > For some add-on boards the driver may not take care of some additional > signals like reset/wake-up/other. Eg: ENC28J60 click where the reset line > (RST pin on the mikrobus port) needs to be pulled high. > > Here's the list of pins in mikroBUS connector: > Analog - AN > Reset - RST > SPI Chip Select - CS > SPI Clock - SCK > SPI Master Input Slave Output - MISO > SPI Master Output Slave Input - MOSI > VCC-3.3V power - +3.3V > Reference Ground - GND > PWM - PWM output > INT - Hardware Interrupt > RX - UART Receive > TX - UART Transmit > SCL - I2C Clock > SDA - I2C Data > +5V - VCC-5V power > GND - Reference Ground > > Additionally, some new mikroBUS boards contain 1-wire EEPROM that contain= s > a manifest to describe the addon board to provide plug and play > capabilities. > > Link: https://www.mikroe.com/mikrobus > Link: > https://download.mikroe.com/documents/standards/mikrobus/mikrobus-standar= d-specification-v200.pdf > mikroBUS specification > Link: https://www.mikroe.com/sht1x-click SHT15 Click > Link: https://www.mikroe.com/eth-click ENC28J60 Click > Link: https://www.mikroe.com/clickid ClickID > > Co-developed-by: Vaishnav M A > Signed-off-by: Vaishnav M A > Signed-off-by: Ayush Singh > --- > .../connector/mikrobus-connector.yaml | 113 ++++++++++++++++++ See also https://lore.kernel.org/r/YmFo+EntwxIsco%2Ft@robh.at.kernel.org/ Looks like this proposal doesn't have the subnodes. How do you attach a kernel driver to it's spi port for example? Only through the manifest files? -michael --5b1cdbb2bfff3981f7fa73881728b1e490b4ec8b8dbb9cc9a77399e55bd9 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIgEABYIADAWIQQCnWSOYTtih6UXaxvNyh2jtWxG+wUCZfgyDxIcbXdhbGxlQGtl cm5lbC5vcmcACgkQzcodo7VsRvumDQD8CZkXa8J8MUqzwei97TL1VRyNWj2W9lIy UvuoJENGh0oBAJxlj4QiS6iQAYFIzlfq+qxOHyAaZxYmbMrXfMzOEV0C =Uh8v -----END PGP SIGNATURE----- --5b1cdbb2bfff3981f7fa73881728b1e490b4ec8b8dbb9cc9a77399e55bd9--