From patchwork Thu Jul 25 07:05:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andr=C3=A9_Draszik?= X-Patchwork-Id: 814985 Received: from mail-ed1-f54.google.com (mail-ed1-f54.google.com [209.85.208.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4F91D16EBEE for ; Thu, 25 Jul 2024 07:06:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721891165; cv=none; b=s441pyd0CR7B2HUckplwyFbrbC0vFVawKYTA607Ylms2J1hXC2EOdsBj/Zxw7RPfsNpr1ckLSbH3375pgErhGsw3zsoyMLYIK1a3f6nNqHXMM4cq3WFH50rw/ED8UIJ6wISHrxg4PWIeje99/D/aoGQ/ck0rqGiPC4p8RSo4Q2w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721891165; c=relaxed/simple; bh=pwyW/t0VOGGP3wo86mCW/jK4skkWTtXSxnSGh1yUi08=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=GosxF/ktER+CfJWj6IDDMeOD+ila6ZdI4w0q1dcnjPdSc/I3B4xc0VWyJBAiEsiiX6MoLyKJkqZAsSP9l2rjUy+RHvY1ZhVCf45FRXo47S6Dsdd8uOiKy4A5pPM5xZTWmoXsvxKg0uwq85jLfAhabhPT8Ou8u7PsLXWtnSnVpFc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=o86NrIe6; arc=none smtp.client-ip=209.85.208.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="o86NrIe6" Received: by mail-ed1-f54.google.com with SMTP id 4fb4d7f45d1cf-5a1337cfbb5so800146a12.3 for ; Thu, 25 Jul 2024 00:06:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1721891161; x=1722495961; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=FKIyRKDttBq62+3aIK/Qv77GSa3JtrN5O6QG3j0bRsc=; b=o86NrIe6VWWYNO1OAIfEWFEFb/MbD5jAwW0OsAUZfHFK+4tbyqSegjq2W4fZieq5pL A2VkpFCakDi3dAUqQcyMagVNoW+h9/hUYcIVPmGRnvQZ/tifiVfSfNSqjC9XXSpxIcl7 7oBZw0Pnh1lBWBd6fX8GqVYhzMOcEAuQsvbwFsJq2pOSf/9N+zL2RCxeQR7f1/P0LO4B RT9PBeW0UzDO2wwxRRF+1n4Fxtykdnei+ZYD3gLf03icRCmfkOztVHLf0y+b6neY54RH UdeM81GK7/4NFPhsqICLFNe6++ap/5IuyzxwTFvQefG6uBAarHrsWBmMOJJclGVmm6kP wrfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721891161; x=1722495961; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FKIyRKDttBq62+3aIK/Qv77GSa3JtrN5O6QG3j0bRsc=; b=RDTcxN7Z0jL0rf30pjzWPRnx28kG/fBOAQB2GcNfQ+JYz/BK79gpO/Rzfr9gh56nLv mm2fJEvK8EZtIcmbY/HJVX6SZUOVH8ORmOzn0fCQgP3JyODWqpEn1PgaSaGU5PjWp983 /udbstvBVKC3o5VqZyfJhOALb2nbmz34FjbPBkA2qn/ZBvPZhPuM6PbP5CQ63AnFNBVM fuHUzw/ibs36xvGiZQN2QO6+IXO7cn/PAiHzfr34RZ7MZ3dKwo5HBbpsOS+BjCWgGqSX GEJZAT3oF9bAT7mYRXHi9hiZwY4K/xWpY9Fc4O44fkM02j2aoIrj0pYQuICOHgzsNd6b AvjA== X-Forwarded-Encrypted: i=1; AJvYcCU8DTsOcZ38Cvq/AdVHl9wbhpUyJ5TDd1NszPbTq8xMLwwLo6kFPwI9H/dINT+CCg/75lnjtBH8W6lFSVp3zlzS6atgkcwJ4TBpFjRq X-Gm-Message-State: AOJu0YyMujMhdXIjDhG0Dizw/2+nU5S8TfIwLk7sJckrvcAtfhksisNR K9+Ye5beq7/SVwvS4i47ZqfRMvoIQOu+QPhhxakG/EGgOWexyKH8uIAlWNw17TI= X-Google-Smtp-Source: AGHT+IE1TFDsRViZ1DT9xXmyddGT2lImWR2Wczy7X/4uREdXSDrl1OYJLzwMHmDnSuHNiGfgnotNLw== X-Received: by 2002:a17:907:7f86:b0:a7a:9d74:21c3 with SMTP id a640c23a62f3a-a7ac4f40df2mr136665366b.35.1721891161617; Thu, 25 Jul 2024 00:06:01 -0700 (PDT) Received: from puffmais.c.googlers.com (118.240.90.34.bc.googleusercontent.com. [34.90.240.118]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a7acab2311asm40253566b.18.2024.07.25.00.06.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jul 2024 00:06:01 -0700 (PDT) From: =?utf-8?q?Andr=C3=A9_Draszik?= Date: Thu, 25 Jul 2024 08:05:59 +0100 Subject: [PATCH v5 2/2] dt-bindings: serial: samsung: fix maxItems for gs101 Precedence: bulk X-Mailing-List: linux-serial@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240725-gs101-uart-binding-v5-2-e237be8253a9@linaro.org> References: <20240725-gs101-uart-binding-v5-0-e237be8253a9@linaro.org> In-Reply-To: <20240725-gs101-uart-binding-v5-0-e237be8253a9@linaro.org> To: Greg Kroah-Hartman , Jiri Slaby , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Peter Griffin , Tudor Ambarus , Will McVicker , kernel-team@android.com, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, devicetree@vger.kernel.org, =?utf-8?q?Andr=C3=A9_Draszik?= X-Mailer: b4 0.13.0 While gs101 needs exactly two clocks for the UART, the schema doesn't currently limit the maximum number to this and instead the default of five from this schema is applied. Update the schema accordingly. Reviewed-by: Rob Herring (Arm) Signed-off-by: André Draszik --- v5: * collect tags v4: * drop description from clocks:, it was Linux-specific and a we'll implement something that makes it obsolete anyway * no need to duplicate clock-names anymore --- Documentation/devicetree/bindings/serial/samsung_uart.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/serial/samsung_uart.yaml b/Documentation/devicetree/bindings/serial/samsung_uart.yaml index 0075712e7be8..788c80e47831 100644 --- a/Documentation/devicetree/bindings/serial/samsung_uart.yaml +++ b/Documentation/devicetree/bindings/serial/samsung_uart.yaml @@ -166,6 +166,12 @@ allOf: properties: reg-io-width: false + clocks: + maxItems: 2 + + clock-names: + maxItems: 2 + unevaluatedProperties: false examples: