Received: by 2002:a17:90a:1609:0:0:0:0 with SMTP id n9csp142845pja; Thu, 9 Apr 2020 16:12:40 -0700 (PDT) X-Google-Smtp-Source: APiQypIpHfw+LJiGlkg5aNXJy+BbPjEHHMDJwsqVwuGMDksJPwUosNW0laRyEygiJe/yu8TytGbm X-Received: by 2002:a37:b03:: with SMTP id 3mr1325556qkl.67.1586473960535; Thu, 09 Apr 2020 16:12:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586473960; cv=none; d=google.com; s=arc-20160816; b=Hs6gA3Dx4gtd9ClkfDFlrkPnkUuOpvvM6tg9HPZ0Zg+y/1xwAWg3HMMgFFAxM2LSPe eO597xXZqkopjT5yfYhdENoRT/p36XEKAIzm5bELbDWNwjv23vPPVrEeUbk5vOOAoQXD PAslTXGI1tvApeMkfwidPbhHvko6u2bX6UfHZh2BeKH4eIXKUhX5YsbFGM3BjQ0NEZt6 SKk93ta1kprPMGSJgGiUwM/XLwJg5FKuV4kWpKSGsnuS5Rey22RdI56cGv7EoLlWceEv k1A0FU2E2LqdWbhm0sydn0XP2Ox2Dru6CDeDOYT4vYwjzYDETjcGh8d2J/7mcxygr/2z ab8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=I3e/szdNaHZmUDIzd/ENJYpHw9cltCGg3NSp/kzMIyE=; b=XH/t6rd58HKDp3Ym9GjQAGACwmDTdR5/Msurp2V9AeORcv4mrSSOVTQHlxeCs26ufJ gR5/zCaAR5ZelacWDVTffuiXRhOoCG6sltamUEHJWtNM/Q7Yc4XvA5AkHa2w/8PoYwxS qI2bS0eCsmu6zure8u9OZQoZplvRWvRWvU+vgQzJRSYXSRMP7NkMqECjD899LeNIlgPP GnixEYVFvNYnuBXPHRcMxkQKs0qhKsm/cA12TfH5bqcdQuO4giYohUgX84neDZNTs6+F pnOacbu0LbUhBBOHRA5930MyomxKev3169WQzfHtdZP99q4T4qZW81H33Mb+0xLiGC7C 2L6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=qrvkpzYW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1si12382qvc.166.2020.04.09.16.12.25; Thu, 09 Apr 2020 16:12:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=qrvkpzYW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726898AbgDIXKL (ORCPT + 99 others); Thu, 9 Apr 2020 19:10:11 -0400 Received: from mail.kernel.org ([198.145.29.99]:39338 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726734AbgDIXKL (ORCPT ); Thu, 9 Apr 2020 19:10:11 -0400 Received: from mail-qk1-f177.google.com (mail-qk1-f177.google.com [209.85.222.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5CF0920857; Thu, 9 Apr 2020 23:10:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1586473811; bh=8OFgHrPretT2WAPVFApoTK3GfJPqI2wWEcDBoetTRKM=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=qrvkpzYWrPM0GNRn4cWlWkQNAAXJhlL0F+lb5xoOtWijOJc1Cyn15U7/Wo2wwXJV+ avyMw32F2J8HyiF73EpYvwWqnmzQhb5EwGX/aczZS6rGeGGYQvJt9ZyxffcMJwPUtE T4mDYfLt/NVQ0ZzYNMC/2uGrxPkma0bweJ2ArSu0= Received: by mail-qk1-f177.google.com with SMTP id g74so498968qke.13; Thu, 09 Apr 2020 16:10:11 -0700 (PDT) X-Gm-Message-State: AGi0Pua1PIXscWzU9I2DwX8QHQC9j0bjhfB4DTEQ8wRLc2C9Jj928HsW 92Y79AFds2wATvKCpLqFH/UoacmxvEycDFsH3Q== X-Received: by 2002:a37:c43:: with SMTP id 64mr1264128qkm.119.1586473810462; Thu, 09 Apr 2020 16:10:10 -0700 (PDT) MIME-Version: 1.0 References: <20200401082721.19431-1-hyunki00.koo@samsung.com> <20200406230855.13772-1-hyunki00.koo@samsung.com> <20200406230855.13772-2-hyunki00.koo@samsung.com> In-Reply-To: <20200406230855.13772-2-hyunki00.koo@samsung.com> From: Rob Herring Date: Thu, 9 Apr 2020 17:09:59 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v6 1/2] dt-bindings: serial: Add reg-io-width compatible To: Hyunki Koo Cc: Greg Kroah-Hartman , Krzysztof Kozlowski , "open list:SERIAL DRIVERS" , devicetree@vger.kernel.org, "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 6, 2020 at 5:09 PM Hyunki Koo wrote: > > Add a description for reg-io-width options for the samsung serial > UART peripheral. > > Signed-off-by: Hyunki Koo > --- > v5: first added in this series > v6: clean description of reg-io-width > --- > 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 9d2ce347875b..1a0bb7619e2e 100644 > --- a/Documentation/devicetree/bindings/serial/samsung_uart.yaml > +++ b/Documentation/devicetree/bindings/serial/samsung_uart.yaml > @@ -29,6 +29,12 @@ properties: > reg: > maxItems: 1 > > + reg-io-width: > + description: > + The size (in bytes) of the IO accesses that should be performed > + on the device. If omitted, default of 1 is used. > + - enum: [ 1, 4 ] Can't this be implied by the compatible strings? This isn't actual json-schema either with the enum under the description. Run 'make dt_binding_check' before you send schemas. There's a keyword for expressing the default value too. Hint: It's 'default'. Rob