From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9BC5DC54E58 for ; Fri, 15 Mar 2024 20:20:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=TD6NOW31xSM8+8G6/2ydjTm+UvKcz7vdNGFiW9/tZOM=; b=SO5Tr3HqWBBmi/ 9ZWiI6UOo0Lo8jDnEo8eWutHkGHprMqGQXhzEX4Trq4Ei2CZKofF7aVXw7K/EQLl2djSMyiEIafTF MQ+DhPlqW1XsPcSU3Lfy2Zu6QG+H1mTmmCN2o8jnvdNETP41UXermaTliAXKx8Yme6145Y8pIsLwC 695ZvCwNI2UJB3icJPcj0LjoCVwQGc87zJjk+w2NKcmg7nd7MTjSv/JxGZ/0PDySA7Ar3lue4YB3f 1Y2mqM4zIHg+RM1OILJb4hg+XMilA4/CXyVsjFcM2CgIMRbfDlw1CdWlcJ/+i6Ra3P+kbwg7V4A/v aBcfE+wWkvWCsP20WA2Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rlE2j-00000001PqL-1b6A; Fri, 15 Mar 2024 20:20:41 +0000 Received: from pandora.armlinux.org.uk ([2001:4d48:ad52:32c8:5054:ff:fe00:142]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rlE2c-00000001Pmd-1NnQ for linux-arm-kernel@lists.infradead.org; Fri, 15 Mar 2024 20:20:38 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=iYsiZ6pFhsCSAUrF7Xqg/XRmMMh817rVgpmJKV43Zsg=; b=D1Cuije/TM/Mf0nsxWkGbeKxm4 T2xVMtIzPPugb5wy0q6SMciM5Tz9ydTFryiaolfpkiCzXuzK/KCra+/7V7ptTOEzpNAKNl3D2L5ET 9X6T+fjghDoAbg+2Ok67pnSUeYGXtyokfYCqvsiw58UJK6wiwGlWtwMxyiNz+Cspblk14SNFqsRGk DjQkZLZ0NnFdYRf5wURrufBTA4jHnQlGoQb3p8dr10k0r2D0joaa0ClQdsxX2T12WHwmBAETzE0wR Co6Z/1ttorFeVCQy4aMjEwmeIRZ6MiusgZHfQu9vwjRNoyZ9w0HukkRMB/KZ1uvOwYwciQvh++T69 x1C7wgwA==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:33688) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1rlE2E-0001xa-2p; Fri, 15 Mar 2024 20:20:10 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1rlE2C-0006f5-4Y; Fri, 15 Mar 2024 20:20:08 +0000 Date: Fri, 15 Mar 2024 20:20:08 +0000 From: "Russell King (Oracle)" To: Krzysztof Kozlowski Cc: Ayush Singh , linux-kernel@vger.kernel.org, jkridner@beagleboard.org, robertcnelson@beagleboard.org, Vaishnav M A , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Derek Kiernan , Dragan Cvetic , Arnd Bergmann , Greg Kroah-Hartman , Liam Girdwood , Mark Brown , Jiri Slaby , Johan Hovold , Alex Elder , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-spi@vger.kernel.org, linux-serial@vger.kernel.org, greybus-dev@lists.linaro.org Subject: Re: [PATCH v3 1/8] dt-bindings: misc: Add mikrobus-connector Message-ID: References: <20240315184908.500352-1-ayushdevel1325@gmail.com> <20240315184908.500352-2-ayushdevel1325@gmail.com> <314a88e0-19cd-4b95-9cf3-aef1c7579eec@linaro.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <314a88e0-19cd-4b95-9cf3-aef1c7579eec@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240315_132034_417683_A8CF1390 X-CRM114-Status: GOOD ( 15.51 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Mar 15, 2024 at 09:09:11PM +0100, Krzysztof Kozlowski wrote: > > +properties: > > + compatible: > > + const: mikrobus-connector > > Hm, why do you create binding for the connector, not for some sort of > controller? Please provide some rationale for this in commit msg. I think you have a distorted view. I refer you to the Mikroe mikroBUS specification - it's _just_ a connector which provides a fairly standardised purpose for each pin and the electrical specifications. For example of the pins: power, UART, SPIs, I2C, PWM, and analogue pins. > > + pinctrl-names: > > + items: > > + - const: default > > + - const: pwm_default > > + - const: pwm_gpio > > + - const: uart_default > > + - const: uart_gpio > > + - const: i2c_default > > + - const: i2c_gpio > > + - const: spi_default > > + - const: spi_gpio > > I fail to see why such choice is related to the connector itself. This isn't a choice at all. Here's the list of pins: 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 Any data pin can be a GPIO if e.g. a relay board is plugged in, even if some of the other pins are used for e.g. UART purposes. For example, a GPS board that provides the GPS data over the UART pins, and the PPS signal through a different pin. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last! _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel