Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp8426pxu; Tue, 15 Dec 2020 12:57:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJw14FNFXcxpz60JPWttRTEzjDE7hHsk3YjkE/iFx88JTCeiWt37/RtClouqQPmQQRvVC9sG X-Received: by 2002:a50:8387:: with SMTP id 7mr12746235edi.131.1608065860361; Tue, 15 Dec 2020 12:57:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608065860; cv=none; d=google.com; s=arc-20160816; b=CchujnOMK56jRJktrmIBeaKIwibYiEG4vHU8GzKcL+Htt7MlQkNZFcwIwh0jv9/i2y aqct/NysKP8jJbAONyBOffR8BMAvIWQDOoUVHmdVIzlU8s7nScTDN0IytAo0BZtP3y5G 3IK9G/BCmd5WXwdd/+S1ZQSKBbTpjubbdeMTxw8KBvF0lElvvhUUtAOeSceNmwILkIw1 RMdO2JxUNFOsEvRB3s6tRP1oL+KqFNDTDB5vFYhtJ+pF+j4Gp8aTAlePA0hXLoKY3Wzt 3pYKW4/IqAsaYrM7wXKnZKz7KWG9mutKUMJZRub3pvpwywGyt0fWYeuehrwU9cW/zEJX weoA== 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=9VTRHWDF/2KFgz+UyGUwNoRUZJFyka0YQ/YywpJD5p8=; b=BdqZCcp367IbdpHJbUrQbiI8GWI+o8+NVY2l+8bXBzksV+JkdId2GyuwGYcKcwjGKC +7+Kx+wsClvt4wlAUDqFKh86IKcWPPoudQScKhL1RfKQl9s0TUVcJOdQxHPUIaITgXO5 gisBQi4Sw+Xwfcw2Z6toDur0kF3MvnInCgSP1ASKnHvZxWtuNds2kjJLly0KMG7VDv7N 80wOVw8L9ofjawVtKu8Z2abLUepzmBJgVFn1Roy3nHGp/2DMore0lvNkdLT11Art+P5Y hBBxNMYF/S6HL5K4lEWtBF1jR1T1cEzY5zuvxb8C6yQTsSO2dx7CE0Dx9vVMMci+ybv+ Sz6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=S0X6e589; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f15si1515106edc.147.2020.12.15.12.57.17; Tue, 15 Dec 2020 12:57:40 -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=@gmail.com header.s=20161025 header.b=S0X6e589; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728489AbgLOUuy (ORCPT + 99 others); Tue, 15 Dec 2020 15:50:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44906 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727821AbgLOUuB (ORCPT ); Tue, 15 Dec 2020 15:50:01 -0500 Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 596B6C061285; Tue, 15 Dec 2020 12:49:04 -0800 (PST) Received: by mail-wm1-x32f.google.com with SMTP id k10so479457wmi.3; Tue, 15 Dec 2020 12:49:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=9VTRHWDF/2KFgz+UyGUwNoRUZJFyka0YQ/YywpJD5p8=; b=S0X6e589DYTi4PVJkYpf+CDECq0mAL8QkFGoiHOumrxnodJbQXuxKECyUqs1oRg/eR WdF6EMGjKnGDTUhfE9N/UDY89v5+JTs+Er8XInxf2qEaoiy+7kSJbO9aRCVbfZgNH8YF cGwtXOm06elEw12ofGa5TICaFXwyCPWiwfCeHWm0NIWWROys8TClew1UAVPAZmf2TUwg kZozT1nWJ+DIYThDXj7J6jFZwwERPBRs46bqaEINIKPFD86MK4R8kWsDA4z/KRWxEOU1 c7K4FIkUypm2BKHA6uT4UXiE/T/l5qjN7xNiRYYzefQvPIgpy219VELdyPU75xaUoe0W sLtw== 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=9VTRHWDF/2KFgz+UyGUwNoRUZJFyka0YQ/YywpJD5p8=; b=qmhcfnV3b/+U6+e5dVnMVueOEX+4Gepi7NgLcOIguhVOsjNFKt7B3XbtN3HBvi6U1U nkYgORltRbDP6lihdhwAzx48N2RgMznJ1zeTx4MydFusH1nPijyN5uLLgNEZPxbV0kQy QLANemWjh48WvSMpUsaFgV/Nmk1AMb+E9s35hQ88Z8cffMVHzfsyOcIrkNJ7RsgDPLh9 bZTibpJcBwi9aBvvxN+ooJxejG7H2gd0d7jNwYGctyTrjPLYLU2JntfWb6/mhUB9kBrq G7zQoxU027Me+p1fWwKEC9qfKVzCxscsuzRArOJTewA7a8rc3FZlgwoobr3FxfTspVsE VTiQ== X-Gm-Message-State: AOAM530wXVS8UXRsx38bHck4uQi06k6PK4JCHkTowO4HE69QfNG4D90r T44A7ZDos/SGXhbvYUPY4UA= X-Received: by 2002:a1c:7217:: with SMTP id n23mr547422wmc.167.1608065343152; Tue, 15 Dec 2020 12:49:03 -0800 (PST) Received: from adgra-XPS-15-9570.home (lfbn-idf1-1-1007-144.w86-238.abo.wanadoo.fr. [86.238.83.144]) by smtp.gmail.com with ESMTPSA id i16sm37199246wrx.89.2020.12.15.12.49.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Dec 2020 12:49:02 -0800 (PST) From: Adrien Grassein To: broonie@kernel.org, jagan@amarulasolutions.com Cc: lgirdwood@gmail.com, robh+dt@kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, troy.kisky@boundarydevices.com, Adrien Grassein Subject: [PATCH 3/6] regulator: dt-bindings: pf8x00: fix nxp,phase-shift doc Date: Tue, 15 Dec 2020 21:48:55 +0100 Message-Id: <20201215204858.8186-4-adrien.grassein@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201215204858.8186-1-adrien.grassein@gmail.com> References: <20201215204858.8186-1-adrien.grassein@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org nxp,phase-shift is an enum so use enum format to describe it. Minimum and maximum values are also wrong. Signed-off-by: Adrien Grassein --- .../bindings/regulator/nxp,pf8x00-regulator.yaml | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/Documentation/devicetree/bindings/regulator/nxp,pf8x00-regulator.yaml b/Documentation/devicetree/bindings/regulator/nxp,pf8x00-regulator.yaml index 913532d0532e..1da724c6e2ba 100644 --- a/Documentation/devicetree/bindings/regulator/nxp,pf8x00-regulator.yaml +++ b/Documentation/devicetree/bindings/regulator/nxp,pf8x00-regulator.yaml @@ -60,21 +60,13 @@ properties: nxp,phase-shift: $ref: "/schemas/types.yaml#/definitions/uint32" - minimum: 45 - maximum: 0 + minimum: 0 + maximum: 315 + default: 0 + enum: [ 0, 45, 90, 135, 180, 225, 270, 315 ] description: BUCK regulators phase shift control in degrees. - Listed phase shift control values in degrees are, - 45 - 90 - 135 - 180 - 225 - 270 - 315 - 0 (default) - unevaluatedProperties: false "^vsnvs$": -- 2.20.1