From patchwork Wed Jul 27 14:01:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12930439 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 13DAFC19F2B for ; Wed, 27 Jul 2022 14:01:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231716AbiG0OB4 (ORCPT ); Wed, 27 Jul 2022 10:01:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32926 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232778AbiG0OBz (ORCPT ); Wed, 27 Jul 2022 10:01:55 -0400 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 27DA0B03 for ; Wed, 27 Jul 2022 07:01:54 -0700 (PDT) Received: by mail-lf1-x12e.google.com with SMTP id t22so20861459lfg.1 for ; Wed, 27 Jul 2022 07:01:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=QTRv04jRGjZbH4AAF7E6i5dcKRpckaIkqqWvwX8C2Dc=; b=M00BLd+qHlqHsi7yxk28/QtIWrZNTL1x1UfNgDIELA7ybYbjuRUlZblE5A9Z3mjKWV T0qzUOb4aluSX16LSr2FcytO+Pv9YbTEEXN2mUx0HHsUpxl49QG41JB/1/iKL8p//w7B L7mNjyfCpq9dNIzwwKM0tMeytq+Qcs0/XJ2a7hL6jp7qeFrDY4TKEHxDXRWuXwRyKmdl 4aU1getVQ1us3+2gh9dAmCmT213To4z1YSSgZ2WZ0GUmn0shLKW3af0vmOfUGDv5OKJC oI4lyqv0QMn6kW0B8oIQQdKmM9OR6kQ4o4HbCX+lMfGV6BsK40hm+DTbJCaTmvBRY/xF FKZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=QTRv04jRGjZbH4AAF7E6i5dcKRpckaIkqqWvwX8C2Dc=; b=5UY/xNc3g+OcL70Y1iAgGUWKNgHPn9qxubRxZPOf1ASrjIibLv0afqDF6z1D6q4ytD SGVjX/7ngnUU/QNnOkWWWshojwwuoAUMC0SnfkV3vpHtphJYhSWOxXWngQc8od0N6i55 2RRP/eyaiTu6QddAAoz/LSvY+j6syEvqYXFSSvTqvfJwlvwvk012tjJmpT6jD8YXOV7Y nms1u6/E9tED41Y66XY/6BBj4h/PNuNG0hKjDRjQAbOTDGOYDHM7b49Nu5jGNbruHlV0 hpQZulH4LZuYWHOM7Uxc8aCFNpOQHtciA/g55gl8qfUg47JjBxPTsHuFjQZHZmGrCFCr IyRA== X-Gm-Message-State: AJIora/KdUZu8Jyw2OXH4waH45IgflyO+8b344rqHApIUxIQ3OcT9jxa QWUMeCF2kF4lkaD5NRMX69Ughg== X-Google-Smtp-Source: AGRyM1s7Oh2i8t4FMTF1klFD9obE209h7ljaba3F2fI3DYREDp2Kf1mczCOKJAhm9xtJnxAW/LoG4w== X-Received: by 2002:a19:2d15:0:b0:48a:85f7:7e37 with SMTP id k21-20020a192d15000000b0048a85f77e37mr7009108lfj.392.1658930512516; Wed, 27 Jul 2022 07:01:52 -0700 (PDT) Received: from krzk-bin.lan (78-26-46-173.network.trollfjord.no. [78.26.46.173]) by smtp.gmail.com with ESMTPSA id bi18-20020a05651c231200b0025e119e9276sm1203287ljb.99.2022.07.27.07.01.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Jul 2022 07:01:52 -0700 (PDT) From: Krzysztof Kozlowski To: Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , "H. Nikolaus Schaller" , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH] dt-bindings: iio: gyroscope: bosch,bmg160: correct number of pins Date: Wed, 27 Jul 2022 16:01:48 +0200 Message-Id: <20220727140148.223508-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org BMG160 has two interrupt pins to which interrupts can be freely mapped. Correct the schema to express such case and fix warnings like: qcom/msm8916-alcatel-idol347.dtb: gyroscope@68: interrupts: [[97, 1], [98, 1]] is too long Signed-off-by: Krzysztof Kozlowski Acked-by: Rob Herring --- .../devicetree/bindings/iio/gyroscope/bosch,bmg160.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/iio/gyroscope/bosch,bmg160.yaml b/Documentation/devicetree/bindings/iio/gyroscope/bosch,bmg160.yaml index b6bbc312a7cf..ebf98bc2eb7f 100644 --- a/Documentation/devicetree/bindings/iio/gyroscope/bosch,bmg160.yaml +++ b/Documentation/devicetree/bindings/iio/gyroscope/bosch,bmg160.yaml @@ -24,6 +24,9 @@ properties: interrupts: minItems: 1 + items: + - description: INT1 pin + - description: INT2 pin description: Should be configured with type IRQ_TYPE_EDGE_RISING.