From patchwork Thu Nov 17 18:48:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Hasemeyer X-Patchwork-Id: 21875 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp575784wrr; Thu, 17 Nov 2022 11:11:04 -0800 (PST) X-Google-Smtp-Source: AA0mqf4vhQhHSedow30hBBKGMeZoO2uVbY1ObJ+IVOirZMXCJ4o/fz2v83SjAx3K9l5HR0p46M+2 X-Received: by 2002:a17:906:7b93:b0:7ae:c9ae:938d with SMTP id s19-20020a1709067b9300b007aec9ae938dmr3252951ejo.313.1668712264103; Thu, 17 Nov 2022 11:11:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668712264; cv=none; d=google.com; s=arc-20160816; b=X4V20XrecJgJwreVPVMZlMo8f0BqPR/IYL0CRypFOIPVZ5g++pBUZa0QF6jGlkhmrG SG2n13tsNjA6rSMvLZRQElEfUVSqbVYrU0ATnc7NX/10aFRmgPZISNYL8y3JD3ZY+Ouo B6jmkYdfMz1xG1gbkbToCMPtjEcLy9VWDZBQQZxRNoD3nNgem3YfNz+MSehDtzLb/Fcs iNjuuRBqADqu4q7+zp4l7/D01g2O4Z3YAj6N7mRADkCimpXvISDU9vhd55cne82gWWoW Vx82dxP0ZdxNE8wqBQvpbr6Tnqdb6bvIDotCr2FyzSoG+vLyKD8htFUSXJ1EAKjTeByV bsTg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=q1Iy41MhZ3FqRDS+o4OCXIP3MAQhIgzbJl+JqnbSgTg=; b=eyt3JWczFai13dj7imwaTgUmV1LyQZrwI1J31tnFhFf81jkN3caJl5VSWy3obOW/Wt /F6p0+4Puv8HFDYIRx161YmqDNXWYFvuNoDG4/AbAf6zwACuTi+PIr1aJ2Vkh4sJHY43 RQxUzxfzDPjCgd+lTgBltjNfHX4RXLr+sBzhOzPcvTjH4dEwM+fGCxqzUqOh4fyqZBPP /skK2zlryYIrQcd6PXDtRA3G2JTKOBuoWCzdSrAMBLDBnYHg+AaFx3iHnzC7tSFi26kQ +rDIPVglMzEZYN/GQ8ocEDoVq25LgLWXLiS2tK6Glv5LRzuuPLxqK6IGtgJKRExf21cW zmFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=NVAIjCoI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id xd9-20020a170907078900b007addbdb9fbbsi1297238ejb.558.2022.11.17.11.10.38; Thu, 17 Nov 2022 11:11:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=NVAIjCoI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239207AbiKQStX (ORCPT + 99 others); Thu, 17 Nov 2022 13:49:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48858 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234725AbiKQStV (ORCPT ); Thu, 17 Nov 2022 13:49:21 -0500 Received: from mail-io1-xd2c.google.com (mail-io1-xd2c.google.com [IPv6:2607:f8b0:4864:20::d2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A8B55917F for ; Thu, 17 Nov 2022 10:49:20 -0800 (PST) Received: by mail-io1-xd2c.google.com with SMTP id z3so2083964iof.3 for ; Thu, 17 Nov 2022 10:49:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=q1Iy41MhZ3FqRDS+o4OCXIP3MAQhIgzbJl+JqnbSgTg=; b=NVAIjCoIr/gY3oZpSuV7SLL0QFcamToBZNGZFjyj8wdTwSUsNp+svdXfX1TbEXO3Ts ASj0kombCmsJtGIVLisb2N0pdbwKTtR7hHEwxwvccLERx+spTa+N+Q4ueHn2fuHahW1r NPkl04UJXnGnewPI5Py9iJ950jaEhDxY9Nafo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=q1Iy41MhZ3FqRDS+o4OCXIP3MAQhIgzbJl+JqnbSgTg=; b=UtgROMirzytGNZ6C6Kybu3Yg1fn+xRiJDvIXoPlh3uRjMJdxAjQ9YIZMdVWE+FLyiy /35MPMaePn8ChSqi/Atgt0lxPKR211AxxNFtmAEDSwld/M0j2JA7FL/czajRpueQYQ/y 7ii5XxxCkZ0sqTP+EdGQCWQSVQb1+ZkEDfil3Bw+6Hkg+yBvXhtInVl0mfcArQrNdU/w 66dJwaeLvOB47VvDi4Y9Ik/QmlbRGuS6HnBKpeBempAGJrZVn7hrSP5iew0r2Dq26ith yUMsPxN3OE8kUUSNsQTuoYHGjlYFSIU8uWIs4WP+KvOzKeUjtTMcd0NaYJfFn/hSgcZb yJYQ== X-Gm-Message-State: ANoB5pmQvUTSgYgbAjUed9ORVguw/jc5mJwRJ456PiwwRacQXnB+z48d hEz3BF0uUUfoUOXjonVmeNIsMwND7zA7Bs6PaVc= X-Received: by 2002:a02:7409:0:b0:375:4727:8625 with SMTP id o9-20020a027409000000b0037547278625mr1629567jac.300.1668710959492; Thu, 17 Nov 2022 10:49:19 -0800 (PST) Received: from markhas1.corp.google.com ([100.107.108.223]) by smtp.gmail.com with ESMTPSA id q6-20020a02a986000000b00363faa1ea9asm503282jam.15.2022.11.17.10.49.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Nov 2022 10:49:19 -0800 (PST) From: Mark Hasemeyer To: LKML Cc: Raul Rangel , Mark Hasemeyer , Bhanu Prakash Maiya , Benson Leung , Guenter Roeck , Krzysztof Kozlowski , Lee Jones , Rob Herring , chrome-platform@lists.linux.dev, devicetree@vger.kernel.org Subject: [PATCH v7 2/3] dt-bindings: mfd: Add DT compatible string "google,cros_ec_uart" Date: Thu, 17 Nov 2022 11:48:47 -0700 Message-Id: <20221117114818.v7.2.I9e018ecb8bdf341648cb64417085978ff0d22a46@changeid> X-Mailer: git-send-email 2.38.1.584.g0f3c55d4c2-goog In-Reply-To: <20221117114818.v7.1.If7926fcbad397bc6990dd725690229bed403948c@changeid> References: <20221117114818.v7.1.If7926fcbad397bc6990dd725690229bed403948c@changeid> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749771630876717422?= X-GMAIL-MSGID: =?utf-8?q?1749771630876717422?= Add DT compatible string in Documentation/devicetree/bindings/mfd/cros_ec.txt Signed-off-by: Bhanu Prakash Maiya Signed-off-by: Mark Hasemeyer Acked-by: Krzysztof Kozlowski --- Changes in v7: - No change Changes in v6: - No change Changes in v5: - No change Changes in v4: - Changes in commit message. Changes in v3: - Rebased changes on google,cros-ec.yaml Changes in v2: - No change --- .../devicetree/bindings/mfd/google,cros-ec.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/google,cros-ec.yaml b/Documentation/devicetree/bindings/mfd/google,cros-ec.yaml index 04962bb29576e..26787e4574b8d 100644 --- a/Documentation/devicetree/bindings/mfd/google,cros-ec.yaml +++ b/Documentation/devicetree/bindings/mfd/google,cros-ec.yaml @@ -28,6 +28,9 @@ properties: - description: For implementations of the EC is connected through RPMSG. const: google,cros-ec-rpmsg + - description: + For implementations of the EC is connected through UART. + const: google,cros-ec-uart controller-data: description: @@ -222,4 +225,12 @@ examples: compatible = "google,cros-ec-rpmsg"; }; }; + + # Example for UART + - | + uart0 { + cros-ec { + compatible = "google,cros-ec-uart"; + }; + }; ...