Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4165639rdh; Tue, 28 Nov 2023 13:48:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IHuJ9j5BbtVgDE7Bpg17917GESrOWp1aR7TQskgsTYeX//nO+ALkbzDTVlulbhP4SumIfaI X-Received: by 2002:a05:6808:418e:b0:3b2:e761:fadd with SMTP id dj14-20020a056808418e00b003b2e761faddmr16823706oib.16.1701208124656; Tue, 28 Nov 2023 13:48:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701208124; cv=none; d=google.com; s=arc-20160816; b=qFmDvXVbs8aENocXxYMlBGZS69/4ElLk9+yMnmOfsXhAmpu3pV49HnrQ59QHndnQCv KQ2Bu/P3JgAn0JUYd0fIByBeuR5N0VavnGUq6uK9pEotYu9ubkkAArDpS55JrO3x9HWc d7pA6j2D6YWqXgP7AUtegvXJvR0j0ZJOd86CxX69w3Vju28Vyy0uiFuc+wlKKsbdz87Q TvS4pSMOjR+i1HWYo8Y7AYF+Ru9+bF8gcvERauR8tRBw08Dfr/vLtaDkjQOly8dt/vJW FoO6DN4QSAccmilCPx0XJiHmNBtgf7KNsXSkul04Q95vm0M32vVjFiMLU4sH3YlAdbZD wWAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=t7ww6mzqGGsPSUlmzuVBNdpMvbBkDIB8lVn3IEY42Yw=; fh=wTfmjxHdGMCUD/GBFcWiH6cKqAGyXRbWlIcLE1EGWD4=; b=xUncnfdigawlv7CbSDMsyWaa2lP+b9XFndEsJi/cKfUbrbA89F5uL9+9Pk004vwLQO D1dTm/tQxIyP7KKv5jpuxP0rsY7ZGS+xji8IM3egxKXAvzVTao01BXD/xqy9CNaFxXJx 2adUTSfiSpX2xVMomVTTba/kjc5TRZ1JxRbYQH7sXxsZqEEyLWKYUYeWCm7FnFjlnPG5 fKgCqYOnHi22DN7rrYNIwaUGG2RvnHXpO2hpqcOf2QdZIbrw1uWKzGMTPSz7CRkH/AT5 DX/z1HCt5wdrH/uz575A10MGcd1BPE4CDjnrsfjLYMXWyLTtSC07Z/tZnkAJJiKfUFHR qBXw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id o66-20020a634145000000b00585463c36fbsi13654177pga.44.2023.11.28.13.48.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 13:48:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id CB6728047D60; Tue, 28 Nov 2023 13:48:41 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346611AbjK1VsX (ORCPT + 99 others); Tue, 28 Nov 2023 16:48:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44186 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234863AbjK1VsP (ORCPT ); Tue, 28 Nov 2023 16:48:15 -0500 Received: from mail-ot1-f53.google.com (mail-ot1-f53.google.com [209.85.210.53]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A6E7510EB; Tue, 28 Nov 2023 13:48:21 -0800 (PST) Received: by mail-ot1-f53.google.com with SMTP id 46e09a7af769-6d7fa93afe9so3521392a34.2; Tue, 28 Nov 2023 13:48:21 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701208101; x=1701812901; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=t7ww6mzqGGsPSUlmzuVBNdpMvbBkDIB8lVn3IEY42Yw=; b=OUSOzlMkutmpO/8LaqU0b2QWTG0+mxb6y24078ZbqgagW0UPA7YESsUkkZ/cPgqjbq oEnjZUK2wNR3Gnb87gtV2C5KQbtoV+CTF59u28WtZbgcDENDW+cjh0PG5qJoVEcD7gy0 C32R0sCHWh/aS1h9m/wE2HpUNI+eZEsrSfDTr1yNzbwFy8A0fKP2IsTGPCR2b2z4ktVy chOfLxxfveaOImGxilUoX75LgJwwBMRQtk+SYO9m/L74TBbgGF8FJPxx6Z9R7eoJx/jy zOPtWV530Ycoi8flaG3QrZd0xKGTREbKFNOgCpjbF1F1kNLf6a9K4n7CXgL/XBNDHV+i JtBA== X-Gm-Message-State: AOJu0YyqPZM4L7YFzf4q+4oZVRBoEzqy2r0XBCkPL5OXf9yCTGUZb1s9 3r5G3OtfxSARG2YNBeZm/A== X-Received: by 2002:a05:6830:4390:b0:6d8:1889:72af with SMTP id s16-20020a056830439000b006d8188972afmr11498728otv.2.1701208100908; Tue, 28 Nov 2023 13:48:20 -0800 (PST) Received: from herring.priv (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id be5-20020a056830350500b006d6496747b6sm1789545otb.80.2023.11.28.13.48.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 13:48:20 -0800 (PST) Received: (nullmailer pid 3975986 invoked by uid 1000); Tue, 28 Nov 2023 21:48:18 -0000 From: Rob Herring To: Dmitry Torokhov , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Chen Zhong Cc: linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH] dt-bindings: input: mediatek,pmic-keys: Drop incomplete example Date: Tue, 28 Nov 2023 15:48:16 -0600 Message-ID: <20231128214816.3975893-1-robh@kernel.org> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Tue, 28 Nov 2023 13:48:42 -0800 (PST) The example for the Mediatek PMIC keys is incomplete as the binding is the full PMIC, not just the sub-functions. It is preferred for MFD examples to be complete in the top-level MFD device binding rather than piecemeal in each sub-function binding. This also fixes an undocumented (by schema) compatible warning for "mediatek,mt6397". Signed-off-by: Rob Herring --- .../bindings/input/mediatek,pmic-keys.yaml | 24 +------------------ 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/Documentation/devicetree/bindings/input/mediatek,pmic-keys.yaml b/Documentation/devicetree/bindings/input/mediatek,pmic-keys.yaml index e34c9e78d38d..70567d92c746 100644 --- a/Documentation/devicetree/bindings/input/mediatek,pmic-keys.yaml +++ b/Documentation/devicetree/bindings/input/mediatek,pmic-keys.yaml @@ -90,26 +90,4 @@ required: unevaluatedProperties: false -examples: - - | - #include - #include - - pmic { - compatible = "mediatek,mt6397"; - - keys { - compatible = "mediatek,mt6397-keys"; - mediatek,long-press-mode = <1>; - power-off-time-sec = <0>; - - key-power { - linux,keycodes = ; - wakeup-source; - }; - - key-home { - linux,keycodes = ; - }; - }; - }; +... -- 2.42.0