From patchwork Wed Oct 23 02:43:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ikjoon Jang X-Patchwork-Id: 1181745 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="mOy5hTZQ"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 46yZSv1Gh8z9sPc for ; Wed, 23 Oct 2019 13:43:59 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389290AbfJWCn5 (ORCPT ); Tue, 22 Oct 2019 22:43:57 -0400 Received: from mail-pf1-f174.google.com ([209.85.210.174]:34842 "EHLO mail-pf1-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730655AbfJWCn5 (ORCPT ); Tue, 22 Oct 2019 22:43:57 -0400 Received: by mail-pf1-f174.google.com with SMTP id 205so11924528pfw.2 for ; Tue, 22 Oct 2019 19:43:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=mofPZU0gDfCeMdQs09aoNyZbpVsgKBRv49oSTcbrnzI=; b=mOy5hTZQlIbUw/dLIeqJ54nqXPthp1Z+w+N0xfknDKFXtqQwMk7Wnfn5/rNspav5uV MDdW15WOQGDrNUHwqTPtFPR2ayZOR8PMkZQPsCoIGFkMa15/YWeG535VD4rhqVXQc9QF hbxhmYfc7eY5CvzZRVxMHsmJhf0O38G/wX6CI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=mofPZU0gDfCeMdQs09aoNyZbpVsgKBRv49oSTcbrnzI=; b=FQEJGGviiX9TD9HslnZjDtW2iaLq1QUJ0jHkk6wphpSJEnkh7tBxq2SK2zD87hcfor zbigqaXok9ZedK4rNo6bs7qu2L0t+2ArUcbzglI8vMrCkt71V3zDNeLKR2FAMW7bVxLR hgE+1fh4R5J1zXLKiK/U6PzqzBGXVVartHPKfIA9rCafObWZtOc71in1SauWfR6/Juj5 0iu/oq+6e/2tFTA28DmWXjsKlrkqAKrY3+WTwXbx326qaEyXabKNXfBOQO037o1uf3y4 UjmrfFDfDqOw83vVOvH4TqdBCvUlP1Swn+iLsMRNGXIFETr7AMpr4M1pwixCXwhiISTg nE7A== X-Gm-Message-State: APjAAAWJc91h1ZMkXRCx50dg6ZPfgQbMlbAANPxk1QM8sob/NP1iZ+a7 zpklxg6Z4uF4d0W/XqHEcChOGA== X-Google-Smtp-Source: APXvYqxv+U6sKv24k78c6mmhFtzdjMFTEVjKujp5UDRJgvxJ5YW1F0J5Ur7LHviLgSGCAZnRoVmNKQ== X-Received: by 2002:a63:fe56:: with SMTP id x22mr7379113pgj.282.1571798635041; Tue, 22 Oct 2019 19:43:55 -0700 (PDT) Received: from ikjn-p920.tpe.corp.google.com ([2401:fa00:1:10:254e:2b40:ef8:ee17]) by smtp.gmail.com with ESMTPSA id o64sm45970901pjb.24.2019.10.22.19.43.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Oct 2019 19:43:54 -0700 (PDT) From: Ikjoon Jang To: linux-input@vger.kernel.org, devicetree@vger.kernel.org Cc: Dmitry Torokhov , Rob Herring , Mark Rutland , Jiri Kosina , Benjamin Tissoires , linux-kernel@vger.kernel.org, Nicolas Boitchat , Ikjoon Jang Subject: [PATCH v3 1/2] dt-bindings: input: Add DT bindings for Whiskers switch Date: Wed, 23 Oct 2019 10:43:48 +0800 Message-Id: <20191023024348.225969-1-ikjn@chromium.org> X-Mailer: git-send-email 2.23.0.866.gb869b98d4c-goog MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add the DT binding document for Hammer's TABLET_MODE switch. Signed-off-by: Ikjoon Jang --- .../devicetree/bindings/input/cros-cbas.yaml | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/cros-cbas.yaml diff --git a/Documentation/devicetree/bindings/input/cros-cbas.yaml b/Documentation/devicetree/bindings/input/cros-cbas.yaml new file mode 100644 index 000000000000..3bc989c6a295 --- /dev/null +++ b/Documentation/devicetree/bindings/input/cros-cbas.yaml @@ -0,0 +1,22 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/cros-cbas.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ChromeOS Hammer's Base Attached Switch + +maintainers: + - Dmitry Torokhov + +description: + This device is used to signal when a detachable base is attached to a + Chrome OS tablet. The node for this device must be under a cros-ec node + like google,cros-ec-spi or google,cros-ec-i2c. + +properties: + compatible: + const: google,cros-cbas + +required: + - compatible