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 2906BC4332F for ; Mon, 30 Oct 2023 16:44:03 +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=tBxFdoEViZyT5FY2Dw9tuzBbGqIPxbdw3qUjLbmEUiM=; b=OMMZdPhkBAaPOP W1A9BIRV+Z0ZVLtDqqzljvJkAHnk64JBeWXEd6a7S/Delt0HKFboI79DJdLo41AQu/7eQUQnZoBXu F+mzr0oe3plX8vpHGb/R68RmEZPFMEDuUkmnq44rTmq9sCc+KC683+5p3qzmYDtH3uYABjqnV0YXQ zmJEsZWDas3cIFLMbZtFB9zcE62ssl2HrBBvqhrIfIR78QHv5pIgeKUlsCM3Cfjmp0q8ke8lUvQTE KjTBA6bQjQXCQETBucSdRXs7lUEYI/FZ12pHRIoa5i62cB4g+lD4CeS5k5Tu6OBkdG9JXb9h8ZVaX OAzt+lH3lM2Sw2zfieJw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qxVMW-003gLC-1O; Mon, 30 Oct 2023 16:43:36 +0000 Received: from mail-oi1-f182.google.com ([209.85.167.182]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qxVMT-003gKG-15 for linux-arm-kernel@lists.infradead.org; Mon, 30 Oct 2023 16:43:34 +0000 Received: by mail-oi1-f182.google.com with SMTP id 5614622812f47-3ae5a014d78so2877150b6e.1 for ; Mon, 30 Oct 2023 09:43:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698684211; x=1699289011; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Eb/YORMOjlpnh4rbVTUZhBfc4hKj/SVVxZvyoJL1lz8=; b=L74XPbruxfPp+YcCnU9HncATQCXbI5DHuM5UZKKBxOO6jIVYR8SOOwXEQJ9s/41Mke X4OQ7Uut6m8E/LNPWflOLcdDonkwe3nbuxix+6QOkKOKOzvBeWeockc/4QX/CMS4PEZD Ht7z4mzmNOL6BNe5+QSyQ7RGtee3YNvZxFzWNbG21FU3Qdryzp9zGnNHp6HMCllUuv0n k3qDsSG2tDg1+f2GEHZ7FVIya12Uj4iKq2O30vGggTBfqkWnGM8QKnKXHlU/6VooUIca Q+3gKomfqVQsNYAw8iGj6uLl97nMfJya6gSUWZp2ReSMrAawWOKrc4sz3y0MJjhWOMt5 VmVw== X-Gm-Message-State: AOJu0Yy14+FhNkTUQhSlha0Hykxn0L6C7w9rBufVOR+wDWAobIs8CwI5 3i0nomafhc6J8l0aQHCo0w== X-Google-Smtp-Source: AGHT+IHMyFzMgm+c8dVGQtXeMkZmLGewJPYTiE1ve03hzwu64Cz53i0nHeF5ZdHN1wDStXGrXA8DlA== X-Received: by 2002:a05:6808:1383:b0:3ad:fa4b:4875 with SMTP id c3-20020a056808138300b003adfa4b4875mr84115oiw.11.1698684211419; Mon, 30 Oct 2023 09:43:31 -0700 (PDT) Received: from herring.priv ([2607:fb91:e6c7:c3eb:a6fd:69b4:aba3:6929]) by smtp.gmail.com with ESMTPSA id bg20-20020a056808179400b003b2e3e0284fsm1441279oib.53.2023.10.30.09.43.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Oct 2023 09:43:30 -0700 (PDT) Received: (nullmailer pid 1482542 invoked by uid 1000); Mon, 30 Oct 2023 16:43:27 -0000 Date: Mon, 30 Oct 2023 11:43:27 -0500 From: Rob Herring To: Jan Kiszka Cc: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Bao Cheng Su , Benedikt Niedermayr Subject: Re: [PATCH 5/7] dt-bindings: trivial-devices: Add IOT2050 Arduino SPI connector Message-ID: <20231030164327.GA1242659-robh@kernel.org> References: <7838d99a1795337c73f480fafcbf698fc17d16dd.1698413678.git.jan.kiszka@siemens.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <7838d99a1795337c73f480fafcbf698fc17d16dd.1698413678.git.jan.kiszka@siemens.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231030_094333_373448_9FFBEEEB X-CRM114-Status: GOOD ( 17.83 ) 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, Oct 27, 2023 at 03:34:36PM +0200, Jan Kiszka wrote: > From: Jan Kiszka > > On the Siemens IOT2050 devices, the SPI controller wired to the Arduino > connector is normally driven by userspace. Introduce a binding for use > by spidev. What's spidev? Not a h/w device... > > Signed-off-by: Jan Kiszka > --- > Documentation/devicetree/bindings/trivial-devices.yaml | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml > index 430a814f64a5..01b9f36afcd5 100644 > --- a/Documentation/devicetree/bindings/trivial-devices.yaml > +++ b/Documentation/devicetree/bindings/trivial-devices.yaml > @@ -349,6 +349,8 @@ properties: > - silabs,si3210 > # Relative Humidity and Temperature Sensors > - silabs,si7020 > + # Siemens IOT2050: SPI interface on Arduino connector > + - siemens,iot2050-arduino-spi How is this specific to your board? Presumably, an 'Arduino connector' is a somewhat standard interface, right? If every board with an Arduino connector adds a compatible, this doesn't scale. A connector is what you should be describing, but I imagine it is not just SPI. Here's some past discussions[1][2] on the need for connector bindings. Rob [1] https://lore.kernel.org/all/20220421094421.288672-1-michael@walle.cc/ [2] https://lore.kernel.org/all/CAL_JsqK2DKPbaFvUPSU2E7oh1_pryrRXPMg8OASmK722jmznwA@mail.gmail.com/ _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel