Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754721AbbKXTxy (ORCPT ); Tue, 24 Nov 2015 14:53:54 -0500 Received: from mout.kundenserver.de ([217.72.192.75]:59443 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754532AbbKXTxW (ORCPT ); Tue, 24 Nov 2015 14:53:22 -0500 From: Arnd Bergmann To: Andy Shevchenko Cc: "Rafael J. Wysocki" , Greg Kroah-Hartman , Jarkko Nikula , linux-i2c@vger.kernel.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, Lee Jones , Mika Westerberg , Kevin Fenzi , Wolfram Sang Subject: Re: [PATCH v1 11/13] mfd: intel-lpss: Pass HSUART configuration via properties Date: Tue, 24 Nov 2015 20:53:04 +0100 Message-ID: <6720400.mTdslW7yXO@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <1448360579-79260-12-git-send-email-andriy.shevchenko@linux.intel.com> References: <1448360579-79260-1-git-send-email-andriy.shevchenko@linux.intel.com> <1448360579-79260-12-git-send-email-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:dIh94bR95SfOJUL1TU/5UfYmhmbkLidlklylNOjE+oG5qOidWdb UJz9+fwmqJ0QC/TCHUtJyqLHyh1anvNgcUTOrJdm6vCbO+nvDpJu83Z8cvWnPlwMjZ2sWNK jc0E7QFG6nb2sqAmiBpA5Y2ZV/VOGVWtKAgfPs7eLdGxgMDPgMHsXnd6LIEIwmGg326AGfF be2Um1dc9TDHzXUyO+P8w== X-UI-Out-Filterresults: notjunk:1;V01:K0:ETI8SnewQqc=:pBpXBJ0+uJon4dYFvfcSZs 8So4Vt7kdglgmyvF1ce9KK1mdFOTKJALKLOtj53NG+yiwx440TlqJZdZ+zo+14BrJsMMVKrio egEoCx6o7isi9rRQ8SxpVRSWUhmCeaM6zNKyPr57LxKq3gj/ZNFsvFIPcy8FvWqbgQ7XDN1Tc 7iDg9Rgw3XwWja7LDBcIJlCN2kOu3ZX7W6h0fHsabv8lG3FlQ08+kdfsVQobS5eA3tCVYeJBq PFffL83tkD8HjRb420ZGvztGZwL3HCR89JzA2R2jSKEmo/5QdZdDwM3y1+++SQzk7Y13jyzYi Yj/6A2Asu6cWFAQUl/VS65jW8ktcAmX0CYlgE5AXZC1NGni2E677p6ZaCeFcXKsu32kcb4j3Q ao6Ddk2i8gJOrVQPArMD3VR/SodB3Lk165jaxXt3u6HYFoMpHTumRyxkY7FY9h2q2BAz9XqtA dwM/v4DLculWuV5b0qh8xEr3BlZsTK66HCTV6X4Mrr5hwOmiudg2bf4FKsPcj/PN9klmf+N7O Td1CYPp4+pda5ssnbX2uFaiIGIlyZvnXmyyQkLGM9J5BaXbQO1GJV9ilqo/Ofpv4bs5Fi1vnt lbKPFU17XamEJjaVIzLeNLfxoPGIWVCB+qVEhSMdh6BnY+s3hsbEihA7qRLL3r1CWW6GW7H4B 8c0TVcmG5INzkX8Ou+UziZJzrZ7LayC7+YizJGfBthj8WzooKzknCXeu/DRV+e3MhwJByT7K5 jeXWeXXkQUKV+WrT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 794 Lines: 20 On Tuesday 24 November 2015 12:22:57 Andy Shevchenko wrote: > +static struct property_entry uart_properties[] = { > + PROPERTY_ENTRY_U32("reg-io-width", 4), > + PROPERTY_ENTRY_U32("reg-shift", 2), > + PROPERTY_ENTRY_U8("snps,uart-16550-compatible", 1), > + { }, > If I read the binding correctly, the "snps,uart-16550-compatible" property is meant to be boolean, meaning true if present and zero-length or false if absent. Using a u8 propert instead feels wrong. Maybe we can have a PROPERTY_ENTRY_BOOL() for that? Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/