Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3137922ybb; Mon, 6 Apr 2020 02:55:19 -0700 (PDT) X-Google-Smtp-Source: APiQypLNswdsBEusWBlMvDrl0V1Uk9NLOQzbwAyM58Luk/E7p9JnGdq70HsJh7IhjGoPaWKlGdUE X-Received: by 2002:aca:f541:: with SMTP id t62mr12357048oih.172.1586166919806; Mon, 06 Apr 2020 02:55:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586166919; cv=none; d=google.com; s=arc-20160816; b=oNVMLSGqNINGNeyFJrtLXPcmDFMSIGV/rUdlFBjheQOTscwyAErIb6QmHoQMjlOjsJ MafhRIFIjts/Vh4sbPTcdkP8AT0JNciRU0nza7JYEoUUtFEcxb/nNIfFwi9+t4VK5h+2 jTxYQfF5jJ0rxvGKXwPI/w+DR5ELFKDE6GEWBXQQgnujWxH3M07p4g4hOwqB/tFTRMyV S7qzBDYstAbtQmyKt0nFZeDlU8FerSgGdlqNCf4wF0GtzEEZ2BX7mz3Ocj9l5XEbhS+R K7kAAtuz23s/okKUEJQbPyj62wG0/wDQXYG1ocUFzZlQfTGc4Um6XmRO4SR5jrletH3c GQCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=eXU3+fS3XAuOGK+yRmNEiF3QUpBoPFYpiOk6EA2d73M=; b=pZuWW67wcy+hXQ+f/mNMyNxyKRychZ+r3cvDcCAxWA0uEXyeV1vlIQ2c4HtyH61HN5 B6YW62Wb81Co22wjlSyWAOChtT+NvHjRui8+ZIENal0ugXcwhLLsTVzQVA4ymNL2swdS FG+OAD3HMzET2eZl7foNyQtqpheMzHeLlR3E9GIstxalNPOHNmMBK/qxwo0A82NYMM9W 6AhnBy0EN5FpQxBk3jD+SwYxu5XQopL6wYo8kOXLW2+5h2Ko84tq5sn5fY5FUJ0yGKXT BWx8w7PFLjGzJoOOVH4gV3HkgIBNSzvPCEX2MsKKJxKpuwEihFNDkMi/A9yoQf1pqmaK niRw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (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 a66si7493533otb.65.2020.04.06.02.55.08; Mon, 06 Apr 2020 02:55:19 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726934AbgDFJyD (ORCPT + 99 others); Mon, 6 Apr 2020 05:54:03 -0400 Received: from mail-ed1-f66.google.com ([209.85.208.66]:36674 "EHLO mail-ed1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726718AbgDFJyD (ORCPT ); Mon, 6 Apr 2020 05:54:03 -0400 Received: by mail-ed1-f66.google.com with SMTP id i7so18489456edq.3; Mon, 06 Apr 2020 02:54:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=eXU3+fS3XAuOGK+yRmNEiF3QUpBoPFYpiOk6EA2d73M=; b=VDxqWPoLor8r0JiaNi51BdXn/SD5eM534B1gG1bptqHBQc2/hJmlk3j9nN/sYvwQnL N131hgrakRhcqOBmPek3JVgy8G/tvXEKQWQXn0qnXr0JS+ETPSSo+JTPOizqI+LPY1uQ NF6jxth92sK/SB+qMNUMdKaTuEgHD+XewrzzizLgVTfcX7oLBEEIpdu2T2RvAsMwb/Vs hMKe2hM1H5/8VQrqxU2LXyPv7GfsOLbpi7ug9Yi2qjBoH5tKWUtWiA9gkhN/XWBTI3s+ Hp4hAFj80zVukQLg4shq0P4XwH/JTjfuz67okxJdn2RTL0QqmdhsuSi7P2FrADnpS8CM VbWw== X-Gm-Message-State: AGi0PuaOZuXhCRq3WxkMl7Qby5kczGqmALOHYvTeXlyRW2vdHpzACdgl /pRZhYWys+znYEAB5nPE4Vs= X-Received: by 2002:a17:906:3788:: with SMTP id n8mr20728327ejc.306.1586166839488; Mon, 06 Apr 2020 02:53:59 -0700 (PDT) Received: from kozik-lap ([194.230.155.125]) by smtp.googlemail.com with ESMTPSA id l14sm2851321ejc.0.2020.04.06.02.53.58 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 06 Apr 2020 02:53:58 -0700 (PDT) Date: Mon, 6 Apr 2020 11:53:56 +0200 From: 'Krzysztof Kozlowski' To: Hyunki Koo Cc: gregkh@linuxfoundation.org, 'Kukjin Kim' , 'Jiri Slaby' , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4] tty: samsung_tty: 32-bit access for TX/RX hold registers Message-ID: <20200406095356.GA13565@kozik-lap> References: <20200401082721.19431-1-hyunki00.koo@samsung.com> <20200403111511.10598-1-hyunki00.koo@samsung.com> <20200403133457.GA7561@kozik-lap> <000101d60b92$eb97c050$c2c740f0$@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <000101d60b92$eb97c050$c2c740f0$@samsung.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 06, 2020 at 06:41:09AM +0900, Hyunki Koo wrote: > > > > I got more thoughts... where is the binding for it? It looked like standard > > DT property but it is not described in device tree spec. > > > > Also, where is the user (DTS) with it? I expect such changes go with the > > user itself... otherwise, next cleanup it will go away. > > > > Best regards, > > Krzysztof > > Do you think this kind of change is needed? You mean the user of this binding (DTS)? It is not required because with binding comes ABI stability. However it would be both appreciated and useful because it would clearly note that this feature is used. The feature brings additional complexity and +1 function call for each simple register access. Therefore sometime in the future, one could see it is not being used and start cleaning it up. Cleaning up usually involves looking for users, then making binding deprecated and finally removing the feature. The collaboration between the Samsung LSI and upstream is quite limited... And it basically does not exist between the Samsung mobile division and upstream. This means that when we reorganize the code, deprecate features/drivers or certain Exynos chips (e.g. 4212 and 4415 in the past) we look for users of them and if none are found - bye bye feature. The solution is either to participate (but this is difficult for mentioned Samsung divisions because of internal policies) or just add the user of such feature (e.g. DTS for evalkit). > Do I have to make as a series patches with previous patch? The DT binding you posted looks good. It should go as first patch in this series. Best regards, Krzysztof > > diff --git a/Documentation/devicetree/bindings/serial/samsung_uart.yaml b/Documentation/devicetree/bindings/serial/samsung_uart.yaml > index 9d2ce347875b..a57b1233c691 100644 > --- a/Documentation/devicetree/bindings/serial/samsung_uart.yaml > +++ b/Documentation/devicetree/bindings/serial/samsung_uart.yaml > @@ -29,6 +29,14 @@ properties: > reg: > maxItems: 1 > > + reg-io-width: > + description: | > + The size (in bytes) of the IO accesses that should be performed > + on the device. > + allOf: > + - $ref: /schemas/types.yaml#/definitions/uint32 > + - enum: [ 1, 4 ] > + >