From patchwork Tue Jan 11 10:13:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12709676 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 35AC6C433EF for ; Tue, 11 Jan 2022 10:15:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=IUkVlZncZtF+VxYUHjfwfrzNAKfNB835kQdLlzRBGyc=; b=jyCWivGNEK8r3X kKyM3PSj8i3gwpvx88T5V6Jpawl/VcmhC0v8jCQ7tyIckXCjBVCkfFJhSCFpt9HUzG4Lia+zQ1psV QzHjPLftYP8cakqgFb48ME6xyP8N3V7Eui6DrDEFkWrkevlJFY9J33udhzT0159CrCZ/OgD3r4siw y++Y+VUq70rtl3MKE3+keiYfdOwVdew6o2bPb6jLJ2MRUUrfpynAfqkzBZr46107eCmmXFWwyqJgE OfE/uuVhTH9Zn08ztQAuRvqvzjV5+S7mXjTSHdAHOp83dx1xhGKfRZbR/UGbvZlWj2dJVic/bykXl 6QfW1a9NUcBNVRK/RsIA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n7EAS-00Fiz7-3f; Tue, 11 Jan 2022 10:14:16 +0000 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n7EA4-00FisN-7n for linux-arm-kernel@lists.infradead.org; Tue, 11 Jan 2022 10:13:55 +0000 Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (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 8859240029 for ; Tue, 11 Jan 2022 10:13:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1641896026; bh=BJcC+0E6Y2y3qsaMlSAjaaYN+3MxC8IRY4wxOhHEIbc=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Jk6obyhns8VIX74aukat8xkwB0vl3cFxu5HHhQkHEv4HrgG9sEdpt07MW4rV0fCfT B8upXaCXqGsBnDfk3iNOgdW1LnxbEQhQWAC5HQH342ANG3rwNP/pM9TJnnANsN3aFu JiPsUb3J/unQ+7vn5ehpYMgc0nlh3nRbDdzQYDYxzw+r/akuX/LLsa5N2DwAd61GaX rpYW4Ofx8+QfZopE+LWyEl5k458J2QycmlMUKGKnUWsd95p/Mvcm/D7Sop1oACNW1a LbCoLf5SzlOyh1GuImYvxp97M6DS0x0VInrjEzAFcA3TtOfT3Sv1baAUcE6CLa+i4c 5pQ03gKaLXsuA== Received: by mail-ed1-f70.google.com with SMTP id z9-20020a05640240c900b003fea688a17eso1927410edb.10 for ; Tue, 11 Jan 2022 02:13:46 -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=BJcC+0E6Y2y3qsaMlSAjaaYN+3MxC8IRY4wxOhHEIbc=; b=m7o91Hkl9JY7o7jV2F6CjhEe2R5XhU7gsAON/vLsON3CK4ik4flz376AosffJUUyNm zZYVj8VJWMcfdTINUti5zf9MjD098nnftqqbKUyW176i0CC7bRpdaLmeEdD1SqPnKsU2 v6HtkDkUISwoxkz8MQ73SFqgXN0W7zrsAV6OMrYxI4GcgFcM4E2YbVnt4ZR1Pg7FypnO jtzn7ANNXlzisj/LCFU+Lfc7A9EFIaOyuyjLN/SUlY3osnYP+6Jjpe2+Jkmw3kVLcXri xhHZRQbKe0jbb1Rp6G2OsSLi0yLt3o98rS+3Atm6TgCHufoffm7GTYBDh9HeelgOhh+M jvqQ== X-Gm-Message-State: AOAM530iZydLU02dYZVxeAlKRQUAbq5HlALxz8YcHnLWKwy9GSs8+F7G EyDIaNBYcaoa83lFE7mb8+M2yuTkPYwBXpGLsRVThM664iomdX2Ffn4cJJQiLrzT/MH4eN08555 XUw0CMfal5+M5PXv+JvP5HQWLH4Pn/Jvtxer6jEBezDu7TkFc5R9R X-Received: by 2002:a17:907:728c:: with SMTP id dt12mr3244361ejc.188.1641896025435; Tue, 11 Jan 2022 02:13:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJzRZEoQ5u1bGZQZJNook5L4lY9BkzKhKOYtLcERafkQAKIt2Tq7bk74PNAyjv+BJ4TXFGswLg== X-Received: by 2002:a17:907:728c:: with SMTP id dt12mr3244340ejc.188.1641896025195; Tue, 11 Jan 2022 02:13:45 -0800 (PST) Received: from localhost.localdomain (xdsl-188-155-168-84.adslplus.ch. [188.155.168.84]) by smtp.gmail.com with ESMTPSA id 26sm3431268ejk.138.2022.01.11.02.13.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jan 2022 02:13:44 -0800 (PST) From: Krzysztof Kozlowski To: Krzysztof Kozlowski , Andi Shyti , Mark Brown , Rob Herring , Pratyush Yadav , linux-spi@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Sam Protsenko , Rob Herring Subject: [PATCH v2 3/4] spi: dt-bindings: samsung: allow controller-data to be optional Date: Tue, 11 Jan 2022 11:13:37 +0100 Message-Id: <20220111101338.58630-4-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220111101338.58630-1-krzysztof.kozlowski@canonical.com> References: <20220111101338.58630-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220111_021352_436479_6F79D14D X-CRM114-Status: GOOD ( 13.33 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The Samsung SoC SPI bindings requires to provide controller-data node for each of SPI peripheral device nodes. Make this controller-data node optional, so DTS could be simpler. Suggested-by: Rob Herring Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring Reviewed-by: Sam Protsenko --- .../devicetree/bindings/spi/samsung,spi-peripheral-props.yaml | 1 + Documentation/devicetree/bindings/spi/samsung,spi.yaml | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/spi/samsung,spi-peripheral-props.yaml b/Documentation/devicetree/bindings/spi/samsung,spi-peripheral-props.yaml index aa5a1f48494b..cadc8a5f061f 100644 --- a/Documentation/devicetree/bindings/spi/samsung,spi-peripheral-props.yaml +++ b/Documentation/devicetree/bindings/spi/samsung,spi-peripheral-props.yaml @@ -28,6 +28,7 @@ properties: - 3: 270 degree phase shift sampling. $ref: /schemas/types.yaml#/definitions/uint32 enum: [0, 1, 2, 3] + default: 0 required: - samsung,spi-feedback-delay diff --git a/Documentation/devicetree/bindings/spi/samsung,spi.yaml b/Documentation/devicetree/bindings/spi/samsung,spi.yaml index da4533feb946..322558818a43 100644 --- a/Documentation/devicetree/bindings/spi/samsung,spi.yaml +++ b/Documentation/devicetree/bindings/spi/samsung,spi.yaml @@ -75,9 +75,6 @@ patternProperties: allOf: - $ref: spi-peripheral-props.yaml - required: - - controller-data - unevaluatedProperties: false required: