From patchwork Tue May 12 20:45:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 214646 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.3 required=3.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9E4C8C2D0FE for ; Tue, 12 May 2020 20:46:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7354D20753 for ; Tue, 12 May 2020 20:46:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589316373; bh=Lh87sBVirmETvaVLhodSRgK38hbyc/iavSjxAunQF04=; h=From:To:Cc:Subject:Date:List-ID:From; b=X2KXPtT8zC0RU2Bjlsw/wXeet+HlGItQtig9hG5xZvay6FP2qLie8qNtoAjQvM5HD b9QlMZb4TSDoGabzGDIGtW0VB4Fod+iNFt8J+V6eo64y9Tz9ySsXQzHJ0wXzII1G8t RoGY1Un9UUmx5D4UQY9jjjNnyx7nSZMrGUcJjHCw= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728882AbgELUpq (ORCPT ); Tue, 12 May 2020 16:45:46 -0400 Received: from mail-oi1-f193.google.com ([209.85.167.193]:40815 "EHLO mail-oi1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726324AbgELUpq (ORCPT ); Tue, 12 May 2020 16:45:46 -0400 Received: by mail-oi1-f193.google.com with SMTP id v128so2652597oia.7; Tue, 12 May 2020 13:45:45 -0700 (PDT) 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=bZ3SlC6IjAo3rRznak2yB2vjG0WklLB9HsgMaXr/3G8=; b=ZepMXdQ/WnfBObbFd/B6M9to3Ob8Ol7WtpC39VYHjN4V7bsZEZexDAhDER0b0BbVTw tHVIlA39IsnB5NgjrHBUtMO85bLadeGNJ4FD4BVDr3seuP6HkbG6qt0/JuaNw9bc6U3V 14bnQ3rB3FFAXvXNz+1w1xMAL4ZDecKlbC2kD7RCam5xRcl8EZUzdZVG8zKrF9Ut3IY6 f3UjfUTRBHiCNtKr1+/xYvz8LBGG0hBoOvHSNj+M+DqAOIBWCpGQLlWZFTw0JjGAsG7z AchaYC9Vfh1f2EJvfZ5I/xPuOZgQ2dB0AbqHwAksFuXVQvO88t2A3u98QBDH4ELTptvS CcQA== X-Gm-Message-State: AGi0Pubs2xELuMteQV/fKsLd2nq1GMHPAlCwpsuMhU1J6KxhvSJjv6j3 QVfU0NFWduUSdidFOv8PvOeuOQBqUA== X-Google-Smtp-Source: APiQypKV6dUHk4u2TZZM9pj4FNgtVQv7pL7PiPyGyXG2CpXKT8zCVpKHis+rnBPSF2vegPnG8W7f6g== X-Received: by 2002:aca:488c:: with SMTP id v134mr12366530oia.103.1589316344975; Tue, 12 May 2020 13:45:44 -0700 (PDT) Received: from xps15.herring.priv (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.googlemail.com with ESMTPSA id k8sm3943792ood.24.2020.05.12.13.45.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 May 2020 13:45:44 -0700 (PDT) From: Rob Herring To: devicetree@vger.kernel.org Cc: linux-clk@vger.kernel.org, linux-usb@vger.kernel.org, linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Mark Brown , Palmer Dabbelt , Paul Walmsley , linux-riscv@lists.infradead.org Subject: [PATCH 1/5] spi: dt-bindings: sifive: Add missing 2nd register region Date: Tue, 12 May 2020 15:45:39 -0500 Message-Id: <20200512204543.22090-1-robh@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org The 'reg' description and example have a 2nd register region for memory mapped flash, but the schema says there is only 1 region. Fix this. Cc: Mark Brown Cc: Palmer Dabbelt Cc: Paul Walmsley Cc: linux-spi@vger.kernel.org Cc: linux-riscv@lists.infradead.org Signed-off-by: Rob Herring --- Please ack, dependency for patch 5. Documentation/devicetree/bindings/spi/spi-sifive.yaml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/spi/spi-sifive.yaml b/Documentation/devicetree/bindings/spi/spi-sifive.yaml index 28040598bfae..fb583e57c1f2 100644 --- a/Documentation/devicetree/bindings/spi/spi-sifive.yaml +++ b/Documentation/devicetree/bindings/spi/spi-sifive.yaml @@ -32,11 +32,10 @@ properties: https://github.com/sifive/sifive-blocks/tree/master/src/main/scala/devices/spi reg: - maxItems: 1 - - description: - Physical base address and size of SPI registers map - A second (optional) range can indicate memory mapped flash + minItems: 1 + items: + - description: SPI registers region + - description: Memory mapped flash region interrupts: maxItems: 1 From patchwork Tue May 12 20:45:40 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 214647 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.3 required=3.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 576FAC2D0F8 for ; Tue, 12 May 2020 20:46:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2D2BA20753 for ; Tue, 12 May 2020 20:46:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589316371; bh=kyCv3peq7BasHiAHGKeYVkunRvQB8jDKelimwrNQ4FA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=g6OOov7rumTjy0khqgKbvDcUEUEn87qtZ8TzBDZi7PNuIYJefh66gPoVN1ZoEZOpP q3knnWfJKHVM0IAICT0CQsL54Csw1L7cz9iXaLzKg5qtHr6xNlbHHkz5f9lciuYbPJ ovEa+bHrVtdHwnMSefbl3su4kZtpCLkvvcvlpeMM= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726324AbgELUps (ORCPT ); Tue, 12 May 2020 16:45:48 -0400 Received: from mail-ot1-f67.google.com ([209.85.210.67]:33713 "EHLO mail-ot1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731148AbgELUpr (ORCPT ); Tue, 12 May 2020 16:45:47 -0400 Received: by mail-ot1-f67.google.com with SMTP id v17so3720863ote.0; Tue, 12 May 2020 13:45:46 -0700 (PDT) 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=VJvdTJ4jQBHWyFFbREMP+Lv+gPEpGjqcWga31H9+mpg=; b=ImCxQMsxnureHe5CwGf5mpPuX9v/ZN5Bqv3eeqwFoPBnu0LSiaKCy7pQnT8XipM6H+ xfmikl4kYD2B5hcStuAVKT+eupiXGNj73xQu+dlJzYPlGTLkfG19a9ZG+EAVto3dj++w ZGf2lpZ6cilWlRX0hUBi1egPmneq38ZwsXrT8MeJDn4uH/aQIzUwwgI/OR7dSQnfdB5T i/95SG62mNPz9sq4WEGdagI+j7PmMpwUIKPLMAD9IRWOovFfp56/aqMKsqSD5i9ZM4BC wfyltEfG/lTBgyx16jg9k1zWHba/a4GLnXCvlQvw1jww8ckKqpnJMR5QzLsg/0nlcJoL DjLg== X-Gm-Message-State: AGi0PuZGomrNbggTaSX9Ei/pA0eC6WoDA/Lj5dO2BPbVimBuod7V7JQV yyNrQTMFZwehQP2fxm7yu1nmh9g= X-Google-Smtp-Source: APiQypJ8NoEp+WU4AqvLu3ChtOsWB5L3IyPkRqNshS1uxkH//6r9AWldVT02FIkl3//22JLPnrv+fQ== X-Received: by 2002:a9d:6151:: with SMTP id c17mr5223055otk.219.1589316345959; Tue, 12 May 2020 13:45:45 -0700 (PDT) Received: from xps15.herring.priv (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.googlemail.com with ESMTPSA id k8sm3943792ood.24.2020.05.12.13.45.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 May 2020 13:45:45 -0700 (PDT) From: Rob Herring To: devicetree@vger.kernel.org Cc: linux-clk@vger.kernel.org, linux-usb@vger.kernel.org, linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Mark Brown Subject: [PATCH 2/5] dt-bindings: usb: ehci: Add missing 2nd register region Date: Tue, 12 May 2020 15:45:40 -0500 Message-Id: <20200512204543.22090-2-robh@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200512204543.22090-1-robh@kernel.org> References: <20200512204543.22090-1-robh@kernel.org> MIME-Version: 1.0 Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org The 'ibm,usb-ehci-440epx' compatible has a 2nd 'reg' region, but the schema says there is only 1 region. Fix this. Cc: Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org Signed-off-by: Rob Herring --- Please ack, dependency for patch 5. .../devicetree/bindings/usb/generic-ehci.yaml | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/usb/generic-ehci.yaml b/Documentation/devicetree/bindings/usb/generic-ehci.yaml index 848eea59bc00..37a818d72a74 100644 --- a/Documentation/devicetree/bindings/usb/generic-ehci.yaml +++ b/Documentation/devicetree/bindings/usb/generic-ehci.yaml @@ -6,19 +6,30 @@ $schema: http://devicetree.org/meta-schemas/core.yaml# title: USB EHCI Controller Device Tree Bindings -allOf: - - $ref: "usb-hcd.yaml" - maintainers: - Greg Kroah-Hartman +allOf: + - $ref: "usb-hcd.yaml" + - if: + properties: + compatible: + not: + contains: + const: ibm,usb-ehci-440epx + then: + properties: + reg: + maxItems: 1 + properties: compatible: contains: const: generic-ehci reg: - maxItems: 1 + minItems: 1 + maxItems: 2 interrupts: maxItems: 1 From patchwork Tue May 12 20:45:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 214648 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.3 required=3.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 90F0BC2D0F8 for ; Tue, 12 May 2020 20:45:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 642C820747 for ; Tue, 12 May 2020 20:45:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589316355; bh=NmG8SVoFCnlyWQ7xE7+NWsL3AT5FUgQLIAtoK3zjpqY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=X8fz/wcE1RdI/vIOx2l469aN3BTkP9FskftXQN87SJw3EabyyPUQXym6ipWJQr+qO HyX6EKzrOx+Syd4VUCpzzA+FwfnxHn2K8AuhsODg8BHHOq1/XI29GUPRCecnPTWV1U H2AL1DGqj9TmXYfE6yDLX+hjinrYTvN+v+krwKr8= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731208AbgELUpu (ORCPT ); Tue, 12 May 2020 16:45:50 -0400 Received: from mail-ot1-f66.google.com ([209.85.210.66]:33714 "EHLO mail-ot1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731195AbgELUpt (ORCPT ); Tue, 12 May 2020 16:45:49 -0400 Received: by mail-ot1-f66.google.com with SMTP id v17so3720943ote.0; Tue, 12 May 2020 13:45:49 -0700 (PDT) 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=ROTQQRmdcUsStwRKkfy6Q00GnOxE+nfhmcwjzr4lDeg=; b=PSfQn1GsFdfwL/0nn8vxHeBKvMQ2Sbs53Kqok4p4VuaafUo2CxSrYLCC2INpmcfR1t lTMkZ/N99N52YFqDI/tVs5RA9CsTkAw9K0s8cF9pWIxutO4f+1+y2rOad/C2BfKgIE9h Afkpjj7z3OJDxWNeEKAWuJ8gIKQ+6nbhJ8EYB9xB8AIXLMfc1ju3DDDAgw6oS9RpGRkf MjlL6rBrtU7yffupoMNs232Mdg6wArVkAIZcB2wmvvt05C1NPbvaA8f6shdw+Mdo+pnE LtdLjOxJ3dGdNJlyyx+h6c5g2cLnrEdvHM52uY+Md59YvKBS4tXCGyvqx8eyiQfDx66O dCCg== X-Gm-Message-State: AGi0PuaOtEd62yIgJPmLYBx6t7wgshDDkoRY1gbGVVXPHgBJE5anw4Mk w2w3t9yFqAwivQuqhBURKTj6V2k= X-Google-Smtp-Source: APiQypJ1PDF2eDVooFvjNgsHr+joxMhIx8+O1j7KXhZ9mhhvKW9kguaFARgq2V5ZkR7s7mNGKgdPkg== X-Received: by 2002:a05:6830:1241:: with SMTP id s1mr18607355otp.119.1589316348414; Tue, 12 May 2020 13:45:48 -0700 (PDT) Received: from xps15.herring.priv (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.googlemail.com with ESMTPSA id k8sm3943792ood.24.2020.05.12.13.45.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 May 2020 13:45:48 -0700 (PDT) From: Rob Herring To: devicetree@vger.kernel.org Cc: linux-clk@vger.kernel.org, linux-usb@vger.kernel.org, linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Mark Brown , Vignesh Raghavendra Subject: [PATCH 4/5] dt-bindings: ufs: ti: Add missing 'additionalProperties: false' Date: Tue, 12 May 2020 15:45:42 -0500 Message-Id: <20200512204543.22090-4-robh@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200512204543.22090-1-robh@kernel.org> References: <20200512204543.22090-1-robh@kernel.org> MIME-Version: 1.0 Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org The ti,j721e-ufs schema is missing an 'additionalProperties: false'. Add that and and the missing assigned-clock properties. Cc: Vignesh Raghavendra Signed-off-by: Rob Herring --- Documentation/devicetree/bindings/ufs/ti,j721e-ufs.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/ufs/ti,j721e-ufs.yaml b/Documentation/devicetree/bindings/ufs/ti,j721e-ufs.yaml index b503b1a918a5..4d13e6bc1c50 100644 --- a/Documentation/devicetree/bindings/ufs/ti,j721e-ufs.yaml +++ b/Documentation/devicetree/bindings/ufs/ti,j721e-ufs.yaml @@ -25,6 +25,12 @@ properties: power-domains: maxItems: 1 + assigned-clocks: + maxItems: 1 + + assigned-clock-parents: + maxItems: 1 + "#address-cells": const: 2 @@ -47,6 +53,8 @@ patternProperties: Documentation/devicetree/bindings/ufs/cdns,ufshc.txt for binding documentation of child node +additionalProperties: false + examples: - | #include