Received: by 10.213.65.68 with SMTP id h4csp262778imn; Tue, 20 Mar 2018 02:57:08 -0700 (PDT) X-Google-Smtp-Source: AG47ELsnLihQwhobaaUN03PEaWclhfpZzKnsk0DKUn4CBVgR5kjCQNVzv+W8AO0f+dPeVEqC3LnT X-Received: by 10.101.71.141 with SMTP id e13mr5151708pgs.317.1521539828126; Tue, 20 Mar 2018 02:57:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521539828; cv=none; d=google.com; s=arc-20160816; b=FIL13S2D9B+ldqQKfk0APDdYVfUS+GC2+a6rsTySjU2bCSZmeqpa0xaq+Jl57i8WBB meczjZ2YI1F3jLWGGMuHTjqxGTbidrkD32tEP5rVKN/ozRXawONfo3ICHtHSiK/0G40x 0kxBsoIUVlTDfLjxsL/Nyqo0qXqNnJ40+R3OrmYLx9CrQ+I5xDfDqSQlIlvdV3zcSI8/ OYi+Qzm0Lt6dw6vDpkfV6zCpxh7Um/7xYcFGxDFgMD2L4mFzU0lDONVFQhOdSHeh5TCZ /aCmo5x2KEvR0gRq7Tl8blE4ypCn0o4fxXYyhq29cEMM49DCgtcRQnRdhpReM7MOY6L2 LRuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:dmarc-filter :dkim-signature:dkim-signature:arc-authentication-results; bh=fKA6Ymav78lx61SXo0KESIsPegoU6/kO0kCZiPbhND0=; b=vyag5ptjZh8mk4I4CdQThBhmN5yiKYaog4QODfNkjaz+WTThKGfKYxG2U2lkyUMnaC iZvJ6xNwGAjgN7SE4ou0WcAWxYpVJbb1Nrk22BdBLRLTFUUvwzwvL7wo6s1UlX+j4yw3 KkWGvGiJ6VAgIJf19likXbjZC4CpHr04vluhxxIoFhyIFxJSt5QpgkljIzpJodN3cfVa mdN/+Sy+7m9octh+QlN1bPyF2LSEHM1/zmLqRoqWMx7cTLzWHxbB8kWb7a/Fn/eOk4Ci UbMIlLmgqUteAvif4rdujQr30i2cTPtk1E6xOAeYKHtZSwAgGQiFCqHrUVzCXaFbS3zP 4umQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=Z2Hl8hWC; dkim=pass header.i=@codeaurora.org header.s=default header.b=P/ChJaNz; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i12-v6si1284693plk.508.2018.03.20.02.56.50; Tue, 20 Mar 2018 02:57:08 -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=@codeaurora.org header.s=default header.b=Z2Hl8hWC; dkim=pass header.i=@codeaurora.org header.s=default header.b=P/ChJaNz; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752431AbeCTJz1 (ORCPT + 99 others); Tue, 20 Mar 2018 05:55:27 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:33014 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751554AbeCTJzY (ORCPT ); Tue, 20 Mar 2018 05:55:24 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id D131C60591; Tue, 20 Mar 2018 09:55:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1521539723; bh=QNa8UsaZhVvnfHnclP8+JsTSp04LqzyFtfuWPrgBaHA=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=Z2Hl8hWCk+wheePBNXbWKy3IPocDlGV5FRkI+DEfipsjXyDFaQs6aevQXhS+bi2WW vVpOV+yVMHqtGqrpBhyubIAmcl6Jro27MS1BnmCM4buTlyrR/Qjor14gfNJ+tyHSjA DT4Afd5/inZYP5P8mzRFEjnRnJl2SKmK/4GHS7tY= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from potku.adurom.net (88-114-240-52.elisa-laajakaista.fi [88.114.240.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: kvalo@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 2EE3460591; Tue, 20 Mar 2018 09:55:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1521539722; bh=QNa8UsaZhVvnfHnclP8+JsTSp04LqzyFtfuWPrgBaHA=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=P/ChJaNzdKq4dG+1fP8QIEKclF3+9YhuqaK1avfdMLog7IFJlJ80C3jwzV5QgB+7D sgO4FnfZTfS+iNPA6YugYVncGScdxYnVA1W9qQEVuyfUBtfiBFOL94NV/gfLmo2uo6 0bHUXzg+hSQ3CKA5fpWqdIUoUjTRsilPtGw/wsco= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 2EE3460591 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=kvalo@codeaurora.org From: Kalle Valo To: Arend van Spriel Cc: Florian Fainelli , Alexey Roslyakov , Andrew Lunn , robh+dt@kernel.org, mark.rutland@arm.com, franky.lin@broadcom.com, hante.meuleman@broadcom.com, chi-hsien.lin@cypress.com, wright.feng@cypress.com, netdev@vger.kernel.org, linux-wireless@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, brcm80211-dev-list.pdl@broadcom.com, brcm80211-dev-list@cypress.com, Ulf Hansson Subject: Re: [PATCH net-next v2 2/2] dt: bindings: add new dt entries for brcmfmac References: <20180319014032.9394-1-alexey.roslyakov@gmail.com> <20180319014032.9394-3-alexey.roslyakov@gmail.com> <5AAF838D.2030105@broadcom.com> <817418fd-6446-57ea-b03d-383b4df9a979@gmail.com> <5AB044C0.9060701@broadcom.com> Date: Tue, 20 Mar 2018 11:55:16 +0200 In-Reply-To: <5AB044C0.9060701@broadcom.com> (Arend van Spriel's message of "Tue, 20 Mar 2018 00:16:16 +0100") Message-ID: <87po3zxe9n.fsf@kamboji.qca.qualcomm.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Arend van Spriel writes: >>> If I get it right, you mean something like this: >>> >>> mmc3: mmc@1c12000 { >>> ... >>> broken-sg-support; >>> sd-head-align = 4; >>> sd-sgentry-align = 512; >>> >>> brcmf: wifi@1 { >>> ... >>> }; >>> }; >>> >>> Where dt: bindings documentation for these entries should reside? >>> In generic MMC bindings? Well, this is the very special case and >>> mmc-linux maintainer will unlikely to accept these changes. >>> Also, extra kernel code modification might be required. It could make >>> quite trivial change much more complex. >> >> If the MMC maintainers are not copied on this patch series, it will >> likely be hard for them to identify this patch series and chime in... > > The main question is whether this is indeed a "very special case" as > Alexey claims it to be or that it is likely to be applicable to other > device and host combinations as you are suggesting. > > If these properties are imposed by the host or host controller it > would make sense to have these in the mmc bindings. BTW, last year we were discussing something similar (I mean related to alignment requirements) with ath10k SDIO patches and at the time the patch submitter was proposing to have a bounce buffer in ath10k to workaround that. I don't remember the details anymore, they are on the ath10k mailing list archive if anyone is curious to know, but I would not be surprised if they are similar as here. So there might be a need to solve this in a generic way (but not sure of course as I haven't checked the details). -- Kalle Valo