Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1289660pxb; Fri, 21 Jan 2022 14:29:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJzK+zX5jRqa96o0xckW2poy8DgIb16rek0Ckeb2TW6HBxFAdeyCXJn+5Urune6ywqhBFdNW X-Received: by 2002:a17:902:da81:b0:14a:eb01:cbea with SMTP id j1-20020a170902da8100b0014aeb01cbeamr5522050plx.24.1642804160058; Fri, 21 Jan 2022 14:29:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642804160; cv=none; d=google.com; s=arc-20160816; b=WRITUSuTsTy/Mmg6VaAfXZEg2ixQMTGe0WVJm9wLbjg6UZ1AUsfWPMVmTEqjJGImgb wpivrElFhVsEZbuG++YqWH2FE3Ez0UwEn4hGY+hYM76wCWNKE+O7kAEQApGUb8iZu3iL bst78QLRq8GCRpJmVK+k8LNgpw6P1asrH0nG6gjC9O83ol//CM9BQJbmM3KNOTNDxkMa 3PU4gqHRl3g/nbxXJVxwoYdqTRUuNKATecQXa1Y5kT3p+Y3GJJTKRTn9XOrEZeVJiMNU PiTPEflBXq/v3TGWKf4gELRMlTb5F+TkEEwhpeWH5jpCkUfawC3ys9L5KDOG936IshPO QW8A== 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=/3v0ODpKqPKT6xfm5F2p0Vtuoh7k/TVt0vSupJe6roo=; b=WM6M/RhWSzXu90YfFBq8GDFSP77QlMOTLIBkwh2MuExYmkRslEY4GwNSUbXNordAMT +1B+R79McwTfbGctCMnrxFJP4NKtFbkzoblSA3lCHdw/ficL3HWtghePZQsMfBDeXTl/ zE6lCRkTFhs3Rs3Z4Tl9wgkHNPkZLS7cmh4JePnXCb0sJq9gLYMBwfkdXayEKfg7hp+y SHY1SgpVOBpIr8/cOMKlZBWw0vjRo7IO7TYMADdQrM+1WJql5t+FES0XV+cdMxBPNxKf wOucHpV9gPehqx+MrHQWSYn1fmZUdOdFEUkMzv8+K7hzKpmpKBqPhlgstGwP8SulkQ75 kerA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=aTZ+v5cH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q34si7364362pgk.819.2022.01.21.14.29.06; Fri, 21 Jan 2022 14:29:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=aTZ+v5cH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233342AbiATR6H (ORCPT + 99 others); Thu, 20 Jan 2022 12:58:07 -0500 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]:40710 "EHLO smtp-relay-internal-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233297AbiATR6C (ORCPT ); Thu, 20 Jan 2022 12:58:02 -0500 Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 5842540024 for ; Thu, 20 Jan 2022 17:57:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1642701479; bh=/3v0ODpKqPKT6xfm5F2p0Vtuoh7k/TVt0vSupJe6roo=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=aTZ+v5cHIfgUT/JDlwUxpsN/rc26RhsMvmfi1Uog5BH0KIirRstNngcUMyzy9mwbe NSadKCChmYzmDPPGOvPAu4VJliQk92O7d7YhWLIKul4wn44r+x+M0140/pI7V/I9HK hH6XJg/++z+ha0bexn1hSvelcffjUKdg7PadNkahRnRBp7v9GC1Jb3XE82BSLoBi+h NtJxD8qLYRWLz/f5XtMvbMGEK+muYWpLKzFYdO2X5wKbJ6MvJnMxeq6TnY2C2mCbkR 6en2lAbn0nxiVp9K85Xxa/Amb6Pdr+r2E7xD26zu7aKMXA7ZFvUIq6VcKTZDN9J8qF MwzfwyIL2sAvw== Received: by mail-wm1-f69.google.com with SMTP id f188-20020a1c1fc5000000b0034d79edde84so3255587wmf.0 for ; Thu, 20 Jan 2022 09:57:59 -0800 (PST) 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=/3v0ODpKqPKT6xfm5F2p0Vtuoh7k/TVt0vSupJe6roo=; b=rzMyjdNBmyfsepdKM7uHSqgSq0wqv5ohhTpKxXAAuH51tJ+mzUQ9K18GYJlxmroZmr sQP3KaIceGFu70hIBnBIBpoFGMdc85yAOojm60oEP2PHQCCWY+tPjPJy2GC3vo86QBgf r87tJEjyVfLdzHGyez6SqERHhcBkx002fcfcC0zLrDrQJwp0u3xYf0/4Vc26z/A/XbJ7 MJ6YIRCbxzBNjXxE+hWzFSJqCaKuNYOyMJWhAQ+57XHGOZfoJE3S9SYu0fyx1Nd/nwA9 QHg2X/1zfMfsxvNxUek8/NrEDBKvK2Yf0d99+d0/RRvTrfo/8LB/E6fYji/GXmzXJgdO Szeg== X-Gm-Message-State: AOAM532Zi9yACP80roOmEExpH067EEEigCRFl3LkFv6wO3RwEmqaxYB6 A2+uEOzfP3rwSeowiTas0PIkzeEzQ9QmgJlSv6VsjiItyOZSYh9oKrPlwZ0Zl16qyV7d8WFY8ZW D3eW1/P7OxEECpwj7AkOniEIOs3dXmv480tA/t2Wxpg== X-Received: by 2002:a05:6000:1c13:: with SMTP id ba19mr176100wrb.596.1642701478044; Thu, 20 Jan 2022 09:57:58 -0800 (PST) X-Received: by 2002:a05:6000:1c13:: with SMTP id ba19mr176085wrb.596.1642701477906; Thu, 20 Jan 2022 09:57:57 -0800 (PST) Received: from localhost.localdomain (xdsl-188-155-168-84.adslplus.ch. [188.155.168.84]) by smtp.gmail.com with ESMTPSA id a15sm3345248wrp.41.2022.01.20.09.57.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Jan 2022 09:57:55 -0800 (PST) From: Krzysztof Kozlowski To: Lee Jones , Rob Herring , Benson Leung , Guenter Roeck , Krzysztof Kozlowski , Andi Shyti , Mark Brown , Sam Protsenko , Pratyush Yadav , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-spi@vger.kernel.org Cc: Alim Akhtar Subject: [PATCH v5 3/4] mfd: dt-bindings: google,cros-ec: reference Samsung SPI bindings Date: Thu, 20 Jan 2022 18:57:46 +0100 Message-Id: <20220120175747.43403-4-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220120175747.43403-1-krzysztof.kozlowski@canonical.com> References: <20220120175747.43403-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The ChromeOS Embedded Controller appears on boards with Samsung Exynos SoC, where Exynos SPI bindings expect controller-data node. Reference newly added dtschema for this property. Signed-off-by: Krzysztof Kozlowski --- .../bindings/mfd/google,cros-ec.yaml | 29 ++++++++++--------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/Documentation/devicetree/bindings/mfd/google,cros-ec.yaml b/Documentation/devicetree/bindings/mfd/google,cros-ec.yaml index 58a1a9405228..66a995bbbbe9 100644 --- a/Documentation/devicetree/bindings/mfd/google,cros-ec.yaml +++ b/Documentation/devicetree/bindings/mfd/google,cros-ec.yaml @@ -31,7 +31,7 @@ properties: controller-data: description: - SPI controller data, see bindings/spi/spi-samsung.txt + SPI controller data, see bindings/spi/samsung,spi-peripheral-props.yaml type: object google,cros-ec-spi-pre-delay: @@ -148,18 +148,21 @@ patternProperties: required: - compatible -if: - properties: - compatible: - contains: - enum: - - google,cros-ec-i2c - - google,cros-ec-rpmsg -then: - properties: - google,cros-ec-spi-pre-delay: false - google,cros-ec-spi-msg-delay: false - spi-max-frequency: false +allOf: + - if: + properties: + compatible: + contains: + enum: + - google,cros-ec-i2c + - google,cros-ec-rpmsg + then: + properties: + google,cros-ec-spi-pre-delay: false + google,cros-ec-spi-msg-delay: false + spi-max-frequency: false + + - $ref: /schemas/spi/samsung,spi-peripheral-props.yaml additionalProperties: false -- 2.32.0